Windows XP Logs off automatically while login

I'm not able to login to Windows. As soon as login, the windows show applying settings, saving settings and logs off automatically without logging in.This situation is really very troublesome.


The main reasons behind this problem is a corruption in the registry key which holds the value of the files which are executed while login to windows. This registry key can get either replaced with some incorrect value or it might get corrupt due to some virus / trojan activity. Lets see how to fix this issue.


Solution:

Fix with BartPE
 
 
Bart Lagerweij's PE Builder is a utility that allows you to create your own bootable CD-ROM ("BartPE") by extracting the necessary files from your Windows XP installation CD. PE Builder lets you add other applications by using "plugins".

Another extremely useful feature of BartPE is the ability to create a boot CD-ROM that provides network access. Yes, you can even surf the Internet from such a CD-ROM. Watch our tutorial on YouTube about creating a BartPE Boot CD-ROM.

You can use Bart PE to check whether userinit.exe exists in C:/windows/system32. Then make sure check explorer.exe to be there in C:/windows. Then try to copy an userinit.exe / explorer.exe of your pc to this pc.

Open up the regedit tool from GO menu to check the registry. In the registry, locate this entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\ and at this entry there is a key names userinit, double click on the key and set its value to “C:\WINDOWS\System32\userinit.exe,“

I got it working by doing the following:
1) copying C:/Windows/system32/userinit.exe to C:/Windows/system32/userinitnew.exe
2) using tool from above to edit registry and set the winlogon value to point to userinitnew.exe


Exit the registry editor, restart the infected computer. This will work for most of the computers.
 For those computers which still don’t let you login, you need to run a repair setup on such computers.To run a recovery setup, see this link.


 Download BartPE

0 comments: