Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Log in Logs straight back Out

Log in Logs straight back Out

Log in Logs straight back Out

Hello everyone.

I've just got home from work and my brother tells me theres a problem with the main computer on our network. The computer boots up perfectly fine, but it gets to the windows login screen (this is XP home, so where you have the picture and then username, and you have to click your name), then when you select which user to login as, it starts loading, and then immediately logs back out playing the windows shut down tune, but doesn't shut up, just takes you back to the login screen. The exact same thing happens in safe mode.
Any ideas?


RE: Log in Logs straight back Out

I can't get into windows to do any of that.
The System restore copying the userinit.exe recommended on wsaremove.htm didn't work.

Anyone else ?

Thanks anyway bcastner.

RE: Log in Logs straight back Out


RE: Log in Logs straight back Out

There has been some morphing of the BlazeFind malware.  Here is a second approach to making the computer bootable:
(from the LavaSoft forum)

First things first get to recovery console.

At recovery console, we need to replace the software hive with a previous good backup. It should look something like this:
C:\windows>cd system32\config
C:\windows\system32\config>ren software software.old
This renames the current software hive to software.old
C:\windows\system32\config>copy C:\windows\repair\software
It should say "1 file(s) copied"
NOTE: After the next step you will want to remove the cd, then boot into safe mode. If you do not boot into safe mode in Windows XP it may prompt you to reactivate and you may not be able to get into Windows.


Now hit the F8 key and boot into safe mode. Logon to the administrator account when you reach the welcome screen. Hopefully you will be able to logon.

Now we need to edit your old registry to change the path to the userinit.exe file:
open regedit.exe
Highlight HKEY_LOCAL_MACHINE (note: this is important, if you do not highlight this the next step will not work)
goto file - load hive...
Now select your old registry file which should be in C:\windows\system32\config\software.old
It will ask you what to name it, if you don't understand, just type "test".
Now navigate to the following:
HKEY_LOCAL_MACHINE\<what your named this in the previous step>\microsoft\windows nt\currentversion\winlogon.
Look at what the userinit value is. On my customer's machine it was %system32%\userinit.exe which is invalid.

NOTE: If you can, post what your value is when you look at this.

Next change the value to read C:\windows\system32\userinit.exe

Now close the registry editor, and we need to go back to recovery console to put your original registry back which should look like this:
C:\windows>cd system32\config
C:\windows\system32\config>del software
C:\windows\system32\config>ren software.old software

This (in theory) should get you back into Windows.

RE: Log in Logs straight back Out

Worked a treat.
Cannot thank you enough.

RE: Log in Logs straight back Out

Same problem and I know the administrator password is blank, but it won't let me in.  Any ideas.

RE: Log in Logs straight back Out

I found the answer - I had to use XP home edition bootup disks.

RE: Log in Logs straight back Out

Thanks Bcastner worked for me too.

RE: Log in Logs straight back Out

"HKEY_LOCAL_MACHINE\<what your named this in the previous step>\microsoft\windows nt\currentversion\winlogon"

In the data for the value "Userinit" don't forget to place a comma after userinit.exe -


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close