Friday, March 27, 2009

Windows Automatically Logs Off – Login Log Off Loop

If the system registry or boot files are corrupted, then a repair install of Windows is a good option. Repair install of Windows will replace corrupted files will the default files found in the Windows Installation Disk.

To do a repair install, boot with the Windows XP installation CD. When it says you want to setup Windows, press Enter. Then you have to agree to the License agreement by pressing F8. Then the process will search for existing installations of Windows. If it finds one, it’ll show you and ask whether you want to repair it or clean install a brand new Windows XP. Select to auto repair the existing Windows XP. It’ll go on with the repairing which is like installing new Windows. This will most likely solve the problem. If the problem persists, follow with the solution 2.

Solution 2: (Virus Attacks Likely)

The logon process is initiated by a file called userinit.exe which is located in System32 directory. If, by some means, it gets corrupted or it gets deleted, the user will not be able to logon. In this case you have to copy this file to your System32 directory again. To do this, boot with Windows installation CD or any other bootable CD (if you have userinit.exe with yourself) which gives access to the hard drive and copy the userinit.exe file back to system32.

The registry value of Userinit must also be directing to the correct path of userinit.exe. To see the Userinit value, go to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

In the right hand pane, find Userinit and make sure its value is pointing to the correct userinit.exe path. In my case, the path is:
C:\WINDOWS\system32\userinit.exe,


Solution 1: (System Corruption)

If you’re having any problem or solution regarding this, please let me know.

No comments: