XP Logs Off Automatically
So I got a call from a client today regarding a few issues they were having. Most of the problems weren’t all that difficult to solve, save one….
The boss’s computer would immediately log off after he tried to logon. While this might sound funny (in other circumstances, it really is), the client (who is a really cool guy, whom I respect a lot) did not think it was funny at all.
So, I dived into the Google to find out the issue. The short version; there was a bad registry setting. Basically, when this sort of thing happens, the first thing you should check is the registry. Now, you can’t connect to the registry locally, since you can’t logon to the computer with this issue.
So, the first thing you need to do, is logon to a computer on the same network as a user who has administrative rights on the computer concerned. Once you’ve gotten that far, you’ll need to open regedit. Something like this:
After that, you’ll need to connect to the computer in question. That’s easy, check the following pics:
then…
The following key is what you should be looking for:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
That key should contain a string value for ‘Userinit’. If you’re confused, you should see something like the following:
Well, you probably shouldn’t see the green box, but you should see the string value for Userinit. If you don’t see that value in the root of key Winlogon, then you’ll need to create it.
That’s not too bad either. First, right click the right hand pane of the registry editor:
Select the ‘String Value’ item in the right click menu. Once you’ve gotten that done, you’ll have a new string value in the right hand pane, awaiting you to name it. It’ll look something like:
Name the string Userinit. After you’ve done that, right click the entry and select ‘Modify’. Make sure that the value for the key is:
c:\windows\system32\userinit.exe
Again, here’s a picture:
And that’s it. If you have any issues after you’ve gotten this done, I recommend an ERD disk or formatting your HD. Those are extreme options, I know. However, I don’t think you want to tool around with your computer for hours on end ( or maybe you do ).









For years I’ve sung the praises of Microsoft. For an equal length of time I have criticized the hype behind Apple. It appears I’ve been wrong for a long time.