XP logs me off immediately!!!

Hewlett-packard Hp d510 / intel pentium...
August 19, 2009 at 11:53:48
Specs: Windows XP, 2gb
Simply, i ran an anti-hijacking program and i must have deleted userinit.exe and now i cannot log onto windows, and when i try, it automatically logs me off right away.

I have looked at over 20 sites to try and find a solution, and have found no help :( i have tried almost everything that this website and many others have given me.

I have typed in DIR C:\Windows\System32 and scrolled down and found userinit.exe. I have no idea what the problem is.

Here is the info i have:

I have Windows XP install disk.
I cannot get into anything using safemode.

Please help

See More: XP logs me off immediately!!!

Report •

August 19, 2009 at 12:10:28
Have you replaced the userinit.exe file with a known good copy? Have you checked the registry to verify the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon key points to the real userinit.exe file?

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond

Report •

August 19, 2009 at 12:41:44
i do not know how to replace the userinit file can you please tell me

Report •

August 19, 2009 at 12:51:39
Reinstall Windows XP

Report •

Related Solutions

August 19, 2009 at 12:54:31
This google search has a bunch of results:


Each details a slightly different way to do it. Read them and pick the one that sound easiest to you.

This google search details how to modify the registry to point to the correct place:


-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond

Report •

August 19, 2009 at 12:55:40
well i have tried almost everyway to replace it and they say the file cannot be located

Report •

August 19, 2009 at 13:17:20
Windows SA replaces userinit.exe used in logon with its own wsaupdater.exe. But uninstalling doesn't revert it back.

some adaware programs may also remove or quarantine wsaupdater.exe thinking that it's harmful.

1. Boot using your winxp cd.
2. Enter recovery console.
3. at the command prompt go to


4. next type:

copy userinit.exe wsaupdater.exe

5. exit and reboot normally. You should now be able to logon. But you're not done yet!

6. run regedit

7. find the Userinit key in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\

8. modify the entry:


so that it reads:


Make sure you have the comma!


expand d:\i386\userinit.ex_ c:\windows\system32\userinit.exe

... look here also:




... Posting is provided "AS IS" with no warranties
Grrrr... ....more

Report •

Ask Question