How to solve automatic logging off problem?

Asked By 460 points N/A Posted on -

I have a problem with my PC. My windows XP boots up as usual to the log on screen, as soon as I impute my password, windows plays the log on sound and then just automatically log me off again, I have had many attempts to try and get windows to stay running including booting from a CD and repair, but unsuccessful.

I don’t know what I should do now. I tried to run my PC in safe mode (F8 method), but I didn’t get any result. I am planning on getting a new PC soon, but need access to my user account as there are many important documents for my work. All help is greatly appreciated, thank you.

Best Answer by seangel
Best Answer
Best Answer
Answered By 0 points N/A #92149

How to solve automatic logging off problem?


Davenport here's my solutions for your problem.

1. Some reason for that case is a Virus or a Trojan which corrupts the registry key. Another possibility is, the registry  key gets replaced with incorrect values. First you need to access the infected unit to a network. Make sure that the other unit doesn't have the same problem. Turn On both units. Do this at the working unit.



  • Go to Start, Run, then type regedit.exe and press enter. It will redirect to registry edit.
  • Go to File, Connect Network Registry, by using this infected IP address or computer's name.
  • Locate the following entry:
  • In this entry there's a key named userinit, double click the key and set the value to.

2. Solve it by System Restore. Run your PC into Safe Mode (F8), press and hold F8 during the initial startup. Then follow these steps:

  • At the Windows Advanced Option – select Safe Mode and press ENTER.
  • Select the Operating System and press Enter.
  • When you're already in Safe Mode, the Desktop dialog box will open.
  • So, click No to run the System Restore.
  • Select "Restore my computer to an earlier time and click Next".
  • In the calendar, choose the day before when your computer working in a good condition.
  • Click NEXT.

It will automatically restart your computer.

3. You're going to turn off the Automatic Restart. Follow the steps:

  • Log in to Safe Mode.
  • Right click on My Computer.
  • Properties.
  • On the Advanced Tab.
  • Click Settings under Startup and Recovery.
  • Uncheck the box with Automatic Restart.
  • Click OK.

Restart your system in normal mode.

4. Set the Standby and Monitor to turn off in Safe Mode method. Here's the steps for System Standby:

  • Log in to safe mode
  • Right click the desktop
  • Properties
  • Screen saver
  • Power
  • In Power Schemes tab looks down to System Standby then from the drop down list click NEVER.
  • Click OK and Apply.

Now before you restart your system. And here's the steps for Monitor Settings:

  • Right click on the Desktop
  • Properties
  • In the Screen saver Tab
  • Click Power
  • In the Turn off monitor drop down list and click NEVER.
  • Click OK and Apply.
  • Restart your system.

5. Some of the main reason is about having a problem in your Hard Disk Drive. Try to check your hard drive by connecting to another CPU. If it works, backup your important files immediately. So you can reformat your computer without worrying about your files. But if those methods don't work out.

6. All you have to do is to Reformat your system. Sad to say, all your files will be erased. Hope this method will resolve your problem.

Answered By 5 points N/A #92151

How to solve automatic logging off problem?


Auto logoff on winxp usually cause by a virus infection and changes the registry keys for the shell and userinit entries which winxp loads when logging to windows. Since it is already modified windows can no longer locate the correct userinit file to load.

1. Connect the infected PC to a network, once connected go to another working PC and type regedit on the RUN window.

2. At registry editor, click HKEY_LOCAL_MACHINE, now click FILE menu and select connect network registry.

3. Now input the computer name or the IP address of the infected PC.

4. Now navigate to the registry of the infected PC to this location HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon

5. On the right panel locate the entries SHELL and USERINIT. Change the following values of these 2 entries to;

For SHELL change value to explorer.exe

For USERINIT change value to x:Windowssystem32userinit.exe,

Take note the comma symbol is important.

6. Go back to the infected PC, then restart your computer.

Login/Register to Answer

Related Questions