MultyTask Network Services

10Dec/090

Windows XP Auto log off problem after removing virus

If after removing viruses from your machine your user account won't login, it's most likely because the userinit and shell values in the registry are corrupted. Load the SYSTEM hive into Local Machine using another computer and make sure the following values are set correctly under:

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

Shell = explorer.exe
Userinit=C:\windows\system32\userinit.exe

The registry files can be found under C:\windows\system32\config