Question Locked

XP Login

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

Thanks,
Jason

10 replies

by rob miners

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.
D:
CD I386
EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32
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.

1: C:\WINDOWS

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.

CD SYSTEM32
(If that does not work, try CHDIR SYSTEM32)
At the prompt type in
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)

"WARNING MODIFYING REGISTRY INFORMATION IS DANGEROUS"
Backup the Key before making changes.

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

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

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

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. Also, change the path to userinit.exe appropriately if Windows is installed in a different drive.

Close Registry Editor and restart Windows.

Keep us informed as to your progress if you require further assistance. ;) :D

by jczekala

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.

Jason

by older mycroft

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

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

by jczekala

logged in under administrator under safe mode with same results

Jason

by jczekala

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.

Jason

by googthings

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......

by coden

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:

http://support.microsoft.com/kb/314058

by butkus

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

by jczekala

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.

Jason

This discussion is closed to new replies.