Computer keeps logging off automatically ...

rueK - Feb 19, 2009 at 06:35 AM
 Gate4043 - Jun 19, 2013 at 05:29 AM
I have windows XP professional on my laptop...I made a blunder of installing two different Anti-virus software on my laptop!!!. (i didn't remove the old version first),
so after the "installation-restart" from the recent Anti-virus , I can log in, BUT, the computer autimatically logs me off, it doesn't shut down, it just goes back to the log-on screen ... I've tried staritng in SAFE MODE , but that didn't help either ! please help

9 responses

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.

We need to remotely access the infected computer from another computer on same network. Then we need to correct the registry key for userinit under winlogon.

Lets see the steps one by one:

1. Connect the infected computer to a network which has at least one healthy computer connected. Power on both of the computers.

2. From the healthy computer, Go to Start > Run, type regedit.exe and press enter. This will launch the registry editor.

3. Go to File > Connect Network Registry, by using this infected computer's name or IP address.

4. Locate this entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\

5. At this entry there is a key names userinit, double click on the key and set its value to "C:\WINDOWS\System32\userinit.exe,"

Exit the registry editor, restart the infected computer. This is it. This will work for most of the computers.
thanks a lot u gave me the real solution :)
Dude, I have the same problem, but where do I find 4? It would be really helpful. Thx. Also have the weird screen thing that makes it shut off every once in a while, so if you could tell me how to check where I got it from, that would be very helpful.
i have the same problem but when I click HKEY_LOCAL_MACHINE, an error message "Cannot open HKEY_LOCAL_MACHINE: Error while opening key"
Wait, I got it. I just wasn't looking in the right spot.