|
|
This is a nightmare. I just catch a virus. I remove it using Avira and it’s success. When I restart my computer, suddenly login dialog appear, while i disable this dialog. When I login, in a second, it’s logoff again. That’s happen every time I try to logon.
I try to use safe mode (push F8 when windows booting, before windows logo appear, and choose safe mode), but it still the same. I experience this twice in my life, and the first time I reinstall windows. But this time, I don’t want to re-install. That’s consume my time much.
If you facing the same problem, here’s your solution. Remember, you don’t need to install windows again!.
All you need to do is download BartPE (check out my post about BartPE here), burn it to CD, and use it for booting.
Now, let we make a theory a little. Windows logon and then logoff. What happen?. Windows miss a logon command. A line must be missing in registry. What is that?. That’s a line to initialize user. YES, Userinit.exe
Here’s the location
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
You will see a key named: Userinit then double click on it and pasted the following value:
- C:\Windows\system32\userinit.exe,
If you don’t see a key name Userinit, than make one, and put the value above in your new key.
In BartPE, you can use Registry editor to implement this step.
All the problem relating this error will be fixed using the step above. But what about userinit.exe is missing? or infected virus?
Usually it’s not. But if this is happen, you can search using Servant Salamander in BartPE and search for userinit.exe.
Description: File userinit.exe is located in the folder C:\Windows\System32. Known file sizes on Windows XP are 24,576 bytes (67% of all occurrence), 22,016 bytes, 21,504 bytes, 26,112 bytes, 28,160 bytes, 39,115 bytes, 39,109 bytes, 39,150 bytes, 34,304 bytes, 57,344 bytes, 35,840 bytes, 41,472 bytes, 37,376 bytes, 100,864 bytes, 39,146 bytes.
If your userinit.exe is different from that value, it can be a virus. You can repair this file with this steps:
Insert the original Windows XP CD (Windows XP with Service Pack 2 is preferred, but not required) and reboot the computer. You may need to configure your computer to boot from the CD-ROM drive.
- When the Windows XP Setup has started, press “R” to “repair the Windows XP installation using Recovery Console”.
- Select the Windows installation to repair (generally this is C:\Windows) by typing its number and then pressing ENTER.
- Type the Administrator password and press ENTER.
- Type the following commands:
D: [ENTER]
CD I386 [ENTER]
EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32 [ENTER]
NOTE: If your CD-ROM drive has a different letter assigned to it, enter “X:” instead, where X is the appropriate drive letter.
After entering “EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32″ you should see the text “1 file(s) copied”, in which case all went well.
Remove the Windows XP CD, type “EXIT” and press ENTER to restart your computer. You should now be able to log on as normally.
Popularity: 6% [?]
| Further reading here... |
Leave a Reply
Don’t Miss a Thing, Subscribe Here
My Stats
Promote Your Site Here
My Alexa Rank
Chat with Me







