XP Login

By jczekala ·
I'm working on a friend's computer and I can't give any details on the machine because I can't get passed the login screen. I click on his name the box proceeds to login and it either gets to the desktop with no icons and sits there for a minute or 2 and then logs me out or it just instantly logs me out. Either instance it sits at the login screen after the logout. I tried going in through safe mode, but received the same results. I've also tried the recovery console, and no results. The one thing he told me he did was he received an email from Earthlink (email didn't look out of the ordinary) and downloaded a new piece of software. He also received the software in the mail.

Recovery Console results: Actually what I did was went in to "To set up Windows XP new, press ENTER". Then it asks about installing Windows. My options are "To repair the selected Windows XP installation, press R." "To continue installing a fresh copy of Windows XP without repairing, press ESC." I select the first option. It goes through it's process and when it finishes Windows starts up and I try logging in and I get the same result, login with an instant log out.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Try this

by Jacky Howe In reply to XP Login

It could be either of these methods to restore your access.

Insert the XP CD and reboot the computer. You may need to configure your computer to boot from the CD-ROM drive.
When the Windows XP Setup has started, press "R" to "repair the Windows XP installation using Recovery Console".
Select the Windows installation to repair (generally this is C:\Windows) by typing its number and then pressing ENTER.
Type the Administrator password and press ENTER.
Type the following commands: and press Enter after each.

CD I386
NOTE: If your CD-ROM drive has a different letter assigned to it, enter "X:" instead, where X is the appropriate drive letter.
After entering "EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32" you should see the text "1 file(s) copied", in which case all went well.

Remove the Windows XP CD, type "EXIT" and press ENTER to restart your computer. You should now be able to log on as normal.

Enter the Recovery Console

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.


Which Windows Installation would you like to log on to
(To cancel, press ENTER)?
After you enter the number for the appropriate Windows installation, Windows will then prompt you to enter the Administrator account password.

Note If you use an incorrect password three times, the Windows Recovery Console closes. Also, if the Security Accounts Manager (SAM) database is missing or damaged, you cannot use the Windows Recovery Console because you cannot have correct authentication. After you enter your password and the Windows Recovery Console starts, type exit to restart the computer.

Type the following command and press Enter.

(If that does not work, try CHDIR SYSTEM32)
At the prompt type in

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)

Backup the Key before making changes.

Now, change the USERINIT value in the registry
Click Start, Run and type <b>Regedt32</b> and press Enter.

Navigate to:


In the right pane you will see that the value of the Userinit key is incorrectly set to <b>"wsaupdater.exe,"</b>

In the right-pane, change the value of Userinit to C:\WINDOWS\system32\<b>userinit.exe,</b>

Type the above value exactly as given, including the comma. Also, change the path to userinit.exe appropriately if Windows is installed in a different drive.

Close Registry Editor and restart Windows.

<i>Keep us informed as to your progress if you require further assistance.</i>

Collapse -

can't log in

by jczekala In reply to Try this

Was just able to try this and after I did "expand user..." I was told access denied. i then did the "copy userinit.exe" and was told "The system cannot find the file specified.


Collapse -

Did you use "Administrator" as your login ? ...

by OldER Mycroft In reply to can't log in

If you didn't, that may be your problem.

Logging in as an 'ID with Administrator privileges' is not sufficient for purpose.

Collapse -

Can't log into xp

by jczekala In reply to Did you use "Administrato ...

logged in under administrator under safe mode with same results


Collapse -

Can't log into xp

by jczekala In reply to Can't log into xp

Thanks for everyone's help. I have found out there is a copy of the userinit.exe file on bartspe. Went in and replaced the file and now I'm in.


Collapse -

explorer problem

by googthings In reply to XP Login

i had the same thing happen to me with my desktop.
when you open ctrl + alt + delete. does explorer.exe apper in the list under the processes tab????????
if not go back to the applications tab and click "new Task" and type in explorer.exe

thats what i did and it worked so i was able to get off al my work and then i wasn't able to fix it so i reinstalled windows......

Collapse -

Don't forget to run CHKDSK

by coden In reply to explorer problem

Startup and login problems like this often result from file corruption. The first step I always try is using an XP CD to boot to the recovery console and then using "CHKDSK c: /r" to check the contents of the drive (c: in this case).

Nine out of ten times, I am able to boot successfully after a CHKDSK.

The following Microsoft article gives more information on using Recovery Console, including the CHKDSK command:

Collapse -

XP login

by butkus In reply to XP Login

Is the XP valid? If you went past the date to verify the install, XP will not allow you to do anything. Usually, you get a warning that this copy has not been validated.
Do a command repair and run chkdsk c: /f /r

Collapse -

XP Login

by jczekala In reply to XP Login

I appreciate everyone's help, but through some other research I had found that the userinit.exe had disappeared. There is a copy of that file on BartPE and I copied that file to the computer and now it lets me login like a champ.

Again, thank-you everyone.


Related Discussions

Related Forums