supersunbird
Honorary Master
This is just put on here as a guide for anyone having this problem. Its caused by a virus or the antivirus trying to remove it, im not sure. When you log into windows immediately logs itself back out to the login screen.
Put infected harddrive in other pc with up to date antivirus as a slave drive. Scan harddrive with antivirus and let it clean up all those nasty viruses.
Go to run in start menu. Type in regedit. Select HKEY_LOCAL_MACHINE. Go to File and select Load Hive. Browse to the infected drive and go to infecteddrivesletter:\WINDOWS\system32\config (or :\WINNT\system32\config for Win2000 users). Select the software file (not software.sav or .txt).
It will ask for a file name, type in anything your name. In this newly created Hive of yours, browse to Microsoft > Windows NT > CurrentVersion > WinLogon. Select the UserInit entry and make sure it is C:\WINDOWS\system32\userinit.exe, even if there is only a comma behind that, delete that comma, and if there is other text remove that too. Then go back up to where you had created your name in regedit and go to File and select Unload Hive.
Put the drive back into its PC and you should be able to login successfully. If you get error messages on startup, just click ok because there is no harm, those can be removed via regedit as well, but that process has more variables and is thus more complicated.
Put infected harddrive in other pc with up to date antivirus as a slave drive. Scan harddrive with antivirus and let it clean up all those nasty viruses.
Go to run in start menu. Type in regedit. Select HKEY_LOCAL_MACHINE. Go to File and select Load Hive. Browse to the infected drive and go to infecteddrivesletter:\WINDOWS\system32\config (or :\WINNT\system32\config for Win2000 users). Select the software file (not software.sav or .txt).
It will ask for a file name, type in anything your name. In this newly created Hive of yours, browse to Microsoft > Windows NT > CurrentVersion > WinLogon. Select the UserInit entry and make sure it is C:\WINDOWS\system32\userinit.exe, even if there is only a comma behind that, delete that comma, and if there is other text remove that too. Then go back up to where you had created your name in regedit and go to File and select Unload Hive.
Put the drive back into its PC and you should be able to login successfully. If you get error messages on startup, just click ok because there is no harm, those can be removed via regedit as well, but that process has more variables and is thus more complicated.