Question Locked

How to fix Xp log on then logging back off 3 sec later

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Ok, I loaded the drive as a external via usb to sata converter, loaded the drive as a hive and inspected the "winlogon" explore and userinit have the stated values = Explorer.exe C\WINDOWS\system32\userinit.exe, but the system still logs on after entering the pass word and immediately back off...Can someone help???

17 replies

by ron k.

What's the end result you're looking for?

by bhkolts

I have run into, not only do you need to edit the registry, but replace userinit.exe in the windows\system32 folder. Use a live CD like UBCD4WIN or boot to the recover console with the XP CD. I don't remember were exactly but some where close to i386\ folder is where you will find the original userinit.exe.
So far after repairing and scanning I find no virus, but at this point I think an antivirus has found a virus in userinit.exe and removed or quarantined it. I think userinit.exe missing is what causes the endless logon-logoff loop.
Hope this helps,
Barry

by mr_t_wright

Hey Barry thanks I will try that, I hope that helps as well lol this has been a pain, took me forever to figure out how to access the registry without being able to logon and not being able to use the linux disk...

by bhkolts

I had this on two machines, the first one I reloaded Windows on top of itself (repair), the second one I was a little more knowledgeable. I replaced userinit.exe and rebooted OK. When I checked the registry it was OK also. I found userinit.exe in clamwin's quarantine folder, so clamwin had removed userinit.exe. I'm not sure if it was a false positive or not. The first machine was using AVG free, but I didn't think to check if AVG had removed userinit.exe at the time. So I'm still not sure the exact cause, but at least we can fix it.
Barry

by jgirizarry

Boot from an Ultimate Boot CD and open a registry editor, do the following:

This has worked for me in the past.

OPEN THE KEY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\Userinit " AND CHANGE THE USERINIT VALUE FROM
"C:\WINDOWS\SYSTEM32\WINLOGON32.EXE TO C:\WINDOWS\SYSTEM32\USERINIT.EXE

by mr_t_wright

It was initially "C:\WINDOWS\SYSTEM32\USERINIT.EXE " so should i change it to the winlogon32.exe?

by jgirizarry

Winlogon32.exe is not a real Windows file, it could be a trojan. Make sure winlogon.exe is located in c:\windows and userinit.exe is in c:\windows\system32. This problem could be coming from different areas but you might try this first. The registry entries are important for you to check. If you have the files in place but the registry is pointing into the wrong direction then Windows will not boot up.

by mr_t_wright

Ok, so as I said I have the drive in question connected to my laptop as an external drive, I deleted the userinit.exe from the bad drive and copied it from my laptop to the drive, still logs off... I think i will have to reinstall the OS, I have tried almost everything, but still open to try a few more I dont want to reload...

by older mycroft

In other words, you've got no chance of hitting anything!

As [b]Ron K.[/b] has already asked ~ what are you attempting to achieve here??

You cannot construct a technically proficient thread if the intercourse follows the pattern of:

[i]"If you are trying to do what I was trying..."

"Yes, that sounds like what I was thinking..."[/i]

[b]Could someone PLEASE stand up and be counted? WTF are you trying to do??!![/b]

by mr_t_wright

I want to be able to fix the none login issue.

Normally when you type in the password and hit enter the machine loads up, however this one says loading personal setting and then says logging off instead of loading up.

I am working of the assumption that a virus was the cause if this issue and I am trying to fix that issue. And many have said that I should start in the registry to make sure { Shell = Explorer.exe and userinit = C:\WINDOWS\system32\userinit.exe they do. So I was told that I should try and replace the userinit.exe file and I did so. Yet when i log in it still logs me back off. Its no logging all the way in to my desktop

by apdumas

Dont remember the name of the bug at this point,.....if the machine is networked, use regedit to remotely load the hive and see what is set to auto launch...most likely your culprit is there in the startup items IF the userinit is set correctly...

by ron k.

If you're into the registry from another computer try looking under:
HKLM\System\CurrentControlSet\Control\SessionManager\BootExecute (Type Reg_Multi_SZ) (Data)
See what the Data column has in it. Make accurate notes of any Value data, remove it, leaving the Data value empty, and try the drive again.
If it's not that put the Value data back to the way it was and post back here.
While you're trying things make sure that the Data for HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell is set to explorer.exe
If you've already tried these I apologize for repeating the advice.

by mr_t_wright

It lets me know that more then one person has tried... Thanks to all I reloaded the unit last night after i backed up all the data. Thank you all for trying to help, except that one ass...

by ron k.

If he hadn't prompted you, again, to clarify the situation you wouldn't have even gotten my lame advice.
mr_t_wright... I must remember that name.

This discussion is closed to new replies.