<span style=”color: #000000;”>Yesterday i came across this problem with one of the machine the problem was that the pc (which runs Windows XP with SP2) starts normally. The Windows splashscreen appears correctly and then the login prompt correctly loads. You can then enter your user name and password like normal, but as soon as you try to login
you are IMMEDIATELY logged back out again. The desktop settings doesn’t even load. It moves immediately back to the login window where you can then enter your user name and password again. No matter how many times you try to login you always experience this immediate logout. Even if you try to login to the computer in safe mode you still experience the same problem. Event the administrtor account also can’t be login.
Solution:The most common cause for this problem is virus. Antivirus on the system may not detect as it goes and change the windows login information.This problem can be fixer If you’re familiar with the Windows registry, this virus changes a few registry key values that makes it impossible to login to your computer. If you’re not familiar with the registry, don’t panic will explain how to fix this problem. Basically, the virus makes two very simple changes to your computer that render it useless. In order to fix the problem, you have to change these two things back to the way they were while your computer was working.
Boot the system using the Windows XP CD-ROM. In the first screen when the Setup begins, read the instructions press “R” (in the first screen) enter the Recovery
Console. Type-in the built-in Administrator password to enter the Console. You’ll see the prompt reading C:\Windows (Or any other drive-letter where you’ve installed XP)
Type the following command and press Enter.
(If that does not work, try CHDIR SYSTEM32)
COPY USERINIT.EXE WSAUPDATER.EXE
Quit Recovery Console by typing EXIT and restart Windows.
You’ll be able to login successfully as you’ve created the wsaupdater.exe file (now, a copy of userinit.exe)
Now, change the USERINIT value in the registry (see Phase II in this page) and change it accordingly.
Phase II – Fixing a registry entry which causes the Quick Launch issue (not retaining the settings)
Click Start, Run and 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. Also, change the path to userinit.exe appropriately if Windows is installed in a different drive.
Close Registry Editor and restart Windows. The Quick Launch settings should be retained now.