March 27th, 2009 by Curtis
login-fail-repeated-auto-logouts-after-successful-login

So I cleaned a PC and ran into a problem. The Windows splash screen would  appear and then the login prompt would load. As soon as I logged in, I got IMMEDIATELY logged back out again. I tried recovery console. I tried safe mode. This problem is documented on Microsoft’s website here.

Here is are 2 solutions to the logon/logoff issue in Windows XP.

Use the Recovery Console

  1. Boot the system using the Windows XP CD-ROM.
  2. In the first screen when the Setup begins, read the instructions press “R” (in the first screen) enter the Recovery Console.
  3. Type-in you Administrators password to enter the Console.
  4. You’ll see the prompt reading C:\Windows (Or any other drive-letter where you’ve installed XP)
  5. Type the following command and press Enter.

    • CD SYSTEM32 (If that does not work, try CHDIR SYSTEM32)
    • COPY USERINIT.EXE WSAUPDATER.EXE
  6. Quit Recovery Console by typing EXIT and restart Windows

You should be able to login successfully as you’ve created the wsaupdater.exe file (now, a copy of userinit.exe)

That didn’t work for me soo here’s my solution

  1. slap the HDD into an enclosure or use an iDE/SATA-to_USB connector
  2. Copy the file into the correct directory.
  3. Reinstall it in the old PC
  4. GRAVY TIME!

Popularity: 9% [?]

2 Responses to “Login Fail: repeated auto logouts after successful login”
Ryan says:

I had this with a client yesterday.  I booted to recovery console, and ran this:

c:\expand [cdromdrive]:\i386\userinit.ex_ c:\windows\system32

Worked like a champ!

Curtis says:

yep, I was dealing with that PE_VIRUT virus which’d eaten a number system files. I like your way better than mine. it’s prolly work with all the files this nasty little bug ate to death!

thanks for the suggestion.

Leave a Reply