XP login/logoff issue

I have XP login/logoff issue. I try to login and it logs off.
I cannot login safe mode.

Need Help.
Who is Participating?
w2009Author Commented:
No it did not work for me. finally i have to format the PC.

I did the following:

1. Connected externally and scanned for Viruses and malware
2. Edit the registry in winlogon, using ERD Commander
3. Went through the windows Repair console, copy userinit.exe wsaupdater.exe

I will close the question

Thanks to all for support and sure will try later.
It could be that your windows has deactivated, I presume you are trying to login with an admin account?
Can you please provide any more details of the circumstances around the issue?
The following page describes how this problem occurs after you have attempted to clean up adware/spyware with a certain version of the data, and also what to do about it:

Unable to logon to Windows after removing BlazeFind using a spyware removal utility?

[begin quote from the above page:]

Logon - Logoff loop, also caused by BlazeFind

Another critical symptom caused by this malware: This malware modifies the Userinit area in the registry (replacing the userinit.exe with wsaupdater.exe) and Ad-Aware (with a particular definition update) removes the wsaupdater.exe file from the system, thus causing the Logon - Logoff loop. That is, when you login to Windows, the 'loading personal settings" verbose will appear, but suddenly it will logoff. This issue was documented clearly by Lavasoftusa in it's Lavahelp Knowledgebase.

Here is the solution to the logon - logoff issue in Windows XP.

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

(If that does not work, try CHDIR SYSTEM32)


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 (see Phase II in this page) and change it accordingly.

NOTE    If you don't have a Windows XP CD-ROM, you need to use Windows XP Setup floppy disks to enter the Recovery Console.

 Phase II  -  Fixing a registry entry which causes the Quick Launch issue (not retaining the settings)

Click Start, Run and type REGEDIT. Navigate to:


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.

[end quote.]

Sometimes, you will find that there is no file Userinit.exe or Wsaupdater.exe in the \Windows\System32\ folder.  In this case, all you need to do is, while in the Recovery Console, use the following command to decompress the file userinit.ex_ into the \Windows\System32\ folder as userinit.exe (where X: is replaced by whatever drive letter your CD-ROM uses):

Live Q & A: Securing Your Wi-Fi for Summer Travel

Traveling this summer? Join us on June 18, 2018 for a live stream to learn about the importance of Wi-Fi security and 3 easy measures you can start taking immediately to protect your private data while using public Wi-Fi. Follow us today to learn more!

Are you able to login with other user accounts? If so, this could be a problem if you have a corrupt user profile.

This could also be another problem, try the following:
1. Boot using your Windows XP CD
2. Enter recovery console.
3. At the command prompt go to C:/windows/system32
4. Type: dir wsaup*
5. Do you see a wsaupdater.exe? Continue
6. Type copy userinit.exe wsaupdater.exe

Exit and reboot normally. You should now be able to logon.

1. Run regedit
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\
3. In the right pane, you should see C:\WINDOWS\System32\wsaupdater.exe
4. Change it so that it reads: C:\WINDOWS\System32\userinit.exe
nordtorp, your "another problem" is the same as what I already gave...
w2009Author Commented:
I used erd commander to regedit and found not key as userinit at the location specified.
and file as userinit.exe is also not at the specified locations.

what should i do in this suitation.

I know, I were a slow poster. I did not see your post when I started commenting.
w2009Author Commented:
Are you gonna support me here.
Sorry, did you find wsaupdater.exe on your computer?
w2009Author Commented:
i deleted the registry key using erd commander, and follow your steps.

then i did below steps:
4. Type: dir wsaup*  
Yes i found

5. Do you see a wsaupdater.exe? Continue

6. Type copy userinit.exe wsaupdater.exe,  
done and overwrite the existing file and restarted.

no change it just logoff again
Did you include the comma in the regedit key value: "C:\WINDOWS\system32\userinit.exe,"?  Did you try the EXPAND command for userinit.ex_  ?
w2009Author Commented:
I added the comma now. it did not logoff but did not login.
w2009Author Commented:
the HDD is showing beasy.
"beasy"?  Maybe you mean "busy".  I would bet that you ave other virus/trojan/malware problems on your computer.  You might have to mount the hard drive in another computer and run antimalware programs.  This could be a problem with viruses/trojans/spyware or other malware. Some free online virus scanners:




Also try these free programs to rid your system of spyware, trojans, and other malware:


Malwarebytes' Anti-Malware 1.30
Lee,Tutor.  thank you very much, this worked and we are now back into the system and editing the registry.
w2009Author Commented:
No i am not the same account
Then have you tried what nrybak did to see if it worked for you?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.