Friday, February 20, 2009

Windows XP Logs Me Off Right After Login!

If you have the problem listed above, please follow the instructions below (only doable if the computer is networked):

Log on to a networked computer.
Run Regedit.exe
Point your cursor to HKEY_LOCAL_MACHINE
Select File > Connect Remote Registry
Type computer name (infected computer)
Navigate to the following location in registry of destination or infected computer


HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon


Edit these two values in right pane:

Shell
Userinit


Change these two values to
Shell=explorer.exe
Userinit = c:\windows\system32\userinit.exe, (note the comma)
Exit from Registry
Restart Infected computer.
You should be able to log on to computer.

If you still can't login to the PC or if the registry entries listed above were already correct, then the problem is either a corrupt or missing userinit.exe file. You can simply copy this file from another computer and place it on the broken PC over the network.

No comments:

Post a Comment