For long time ago , I experiment with this problem too many times. and what I can do with it is, Format and Reinstall the windows. But now This problems happened on my boss’s computer, That why I have to try my best to find the solution to fix for him.
Please read the latest Instruction!!!
I have google it many time ago, but still can not find the right solution for this kind of virus. But I think depending on the level of the infection. if you were in the medium ,you maybe lucky!
This problems happened after you clean that virus from your computer ( I don’t remember what is the name of virus). So if yo have the same problems as me , hope you maybe able to fix it also:
1-Because of the virus infected to your system, So make sure you use the antivirus ( Symantec, AVG Free Edition, Kaspersky,… ) to clean it from ur system.
2-After the anti virus found and clean it, PLEASE MAKE SURE DON’T RESTART YOUR COMPUTER !!! , if you restart you will no longer to enter your windows desktop.
3-Click start > run > type “regedit” and locate this registry path:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
You will see a key named: Userinit then double click on it and pasted the following value:
C:\Windows\system32\userinit.exe,
Here the screenshot:
4- If the “UserInit.exe” is currupted or damaged , you have to repair it using the Windows Recovery Console. to copy the file back:
a. Insert the original Windows XP CD (Windows XP with Service Pack 2 is preferred, but not required) and reboot the computer. You may need to configure your computer to boot from the CD-ROM drive.
b. When the Windows XP Setup has started, press “R” to “repair the Windows XP installation using Recovery Console”.
c. Select the Windows installation to repair (generally this is C:\Windows) by typing its number and then pressing ENTER.
d. Type the Administrator password and press ENTER.
e. Type the following commands:
D: [ENTER]
CD I386 [ENTER]
EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32 [ENTER]
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 normally.
yes that is a very common virus you can look here also for information http://www.winxptutor.com/wsaremove.htm
thanks man!
Thanx buddy,
your forum, help me alot, im deeply pleasured to thank u, coz its my boss PC. it worked as u specified above.
hope u will continue the good work.
Matt..
Check this site out and follow the instructions (BY THE LETTER) it worked for me, hopefully it will work for you but you need a second computer, even if you have to go to a internet cafe!!!
Good luck
http://thinkinginpixels.com/quick-fixes/fix-windows-xp-log-onlog-off-loop/
How do you solve the problem of automaticly logging off right after you log on? I cannot log into windows to edit the registry. This is happening on my clients laptop computer that has a virus and he has files that he does not want to loose. I do not have another computer or the hardware to transfer his files from his hard disk to a backup drive.
Any other ways to solve this problem? Anybody?
Thanks, it worked for me. I think it was caued by a virus activity,
Pingback: Best way to fix windows xp auto log off after login | yoursoftwarelink.com
Pingback: PC Tips for khmer…
You still got this problems, because of the viruses is still in your computer. Mean this viruses embed its selve into the .exe file on your whole hard drive. So even you just format it, when u click on the files on other drives… it will infect to ur system again.
The best solution is using the BartPE to do the registry change or replace a new userinit.exe file. I will post other effective ways soon…..
wait…
Not really sure. My cousin’s got this problem. Even we already formatted and setup new Windows, the problem still exist. Is there any other solution