Windows 7 autologin

Use netplwiz

The User Profile Service service failed the logon. User profile cannot be loaded.

Sign into another Windows account. Run the registry editor. Navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Look at the sub-keys here in the form of S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX. One of them is probably duplicated with the extension “.bak.” Remove (or backup) the one without the .bak, and then rename the remaining one, removing the .bak extension.

I run the […]

Create a shortcut for ‘Switch User’ under Windows 7

Rt click on desktop > New > Shortcut > Type C:\Windows\System32\tsdiscon.exe Click Next > Name it ‘Switch Users’ > Finish.

Create a bootable Windows PE 3.0 USB drive

Windows 7 custom default user profiles and Mandatory user profiles

Create custom default user profile :

Mandatory user profiles :

Backup user profiles :

Relocate user profiles under Windows 7

Relocate User folders during Windows 7 installation

Windows 7 client cannot update its PTR record on Windows DNS server

Windows 7 shares disappear on Winxp client

I found that my windows 7 shares was always disappear from my Winxp machine after sometimes esp after I have used remote desktop to connect to the Windows 7.

Have tried to search solution on the net and tried below. See if this can helps

use regedit to increase the size of a parameter: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters


print pdf in command line under Windows

Assume you have installed Adobe Reader

Under Powershell :

Dir D:\test\S10010025.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }

Or for batch printing

Dir D:\test\*.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }



AcroRd32.exe /s /o /h /p “FULL_PATH_TO_PDF” for […]

Windows 7 and mandatory profile

My unattend.xml for copying the default user profile generated using the Windows System Image Manager tool for a x64 Win7 enterprise seed

<?xml version=”1.0″ encoding=”utf-8″?> <unattend xmlns=”urn:schemas-microsoft-com:unattend”> <settings pass=”specialize”> <component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”” xmlns:xsi=””> <CopyProfile>true</CopyProfile> </component> </settings> <cpi:offlineImage cpi:source=”catalog:c:/users/administrator/desktop/install_windows 7 enterprise.clg” xmlns:cpi=”urn:schemas-microsoft-com:cpi” /> </unattend>