XP login – logoff loop —- computer virus repair

Method 1:

Enter the Recovery Console if you need help and don’t know how to get into Recovery Console click here

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.

CD SYSTEM32
(If that does not work, try CHDIR SYSTEM32)

option 1:

COPY USERINIT.EXE WSAUPDATER.EXE

option 2:

expand d:\i386\userint.exe c:\windows\system32\

if your in c:\windows\system32 then

expand d:\i386\userinint.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 and change it accordingly.

Fixing a registry entry which causes the xp login – logoff loop

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.

Method 2:

Sometime virus scanners such as AVG and Malwarebytes eat up the infected file userinit.exe which cause this login loop. A way to fix this issue is to take out the infected hard drive. Attach the hard drive to a working Windows system via usb or placing it inside the system. Once the drive is up and running copy  the userinit.exe found in c:\windows\system32 into the drive infected drive d:\windows\system32 (d: being the infected drive letter). Reinstall the hard drive into the orginal system and boot up.

i have attach the userinit.exe with this blog download here

the file is compress with winrar you can download winrar here to extract

Did this post help? Please comment!

  • Share/Bookmark

July 7, 2009  Tags:   Posted in: Virus Repair, Windows Tutorials

Leave a Reply

You must be logged in to post a comment.