An ex-colleague asked a favour to check on her hubby pc. Kena all sorts of viruses! Then the pc was having problem logging on to window. After it start up, log on, it got log out immediately. Luckily I have the tool to help me work on the problem.
Use ERD Commander to boot up.
Click START - RUN. Type REGEDIT. Navigate to:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ WindowsNT \ CurrentVersion \ Winlogon
In the right-pane, change the value of Userinit to "C:\WINDOWS\system32\userinit.exe,"
Type the above value exactly as given, including the comma - exclude the quotes.
Close Registry Editor and restart Windows.
Managed to logon to Windows successfully.