ADVERTISEMENTS
Trouble:
We have been receiving mails from several readers that they are not able to login to Windows. As soon as they login, the windows show applying your settings, saving your settings and logs off automatically without logging in. This situation is really very troublesome and gets onto the nerves of a person who needs his computer badly for some important work.
The main reasons behind this problem is a corruption in the registry key which holds the value of the files which are executed while login to windows. This registry key can get either replaced with some incorrect value or it might get corrupt due to some virus / trojan activity. Lets see how to fix this issue.
Fix:
We need to remotely access the infected computer from another computer on same network. Then we need to correct the registry key for userinit under winlogon.
Lets see the steps one by one:
1. Connect the infected computer to a network which has at least one healthy computer connected. Power on both of the computers.
2. From the healthy computer, Go to Start > Run, type regedit.exe and press enter. This will launch the registry editor.
3. Go to File > Connect Network Registry, by using this infected computer’s name or IP address. For more details on this, see this link.
4. Locate this entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\
5. At this entry there is a key names userinit, double click on the key and set its value to “C:\WINDOWS\System32\userinit.exe,“
Exit the registry editor, restart the infected computer. This is it. This will work for most of the computers.
For those computers which still don’t let you login, you need to run a repair setup on such computers.To run a recovery setup, see this link.
|
|
Author + Admin: Abhishek BhatnagarHi, I am a Software Engineer by profession and blogger by passion, I write about computer tips and tricks and solutions for computer problems. You can connect with me at twitter or know more about me on www.abhishekbhatnagar.com.
Thanks.. I was facing the same problem. I repaired my windows installation and it started working.
But now the problem is appearing every time i restart the machine. please help me fix this problem.
i want to know about windows server2003 ————please tell me
Dear friends
my pc problem is solved it’s very helpfull site
thank very much
Dear friends
i can solved that proble,but i am boot through ERD commander 2005 and edit registary.
Dear Friends,
I am able to connect to the Regedit of the infected PC through the network but was not able to open the HKEY_LOCAL_MACHINE & I was not allowed to open. Is there any other solution to recover the problem without reinstalling OS.
I need to konw about the Windows Server 2003 server. the login window re-appears after giving credentials
no idea your problem has been solve only reinstallation and update antivirus
In most cases where replacing the userinit.exe does not work the reason is quite simple: You fooled around with your hard disk, changed the disk and/or controller. Now when you start Windows, just as you log in the operating system assigns its drive letters. However, due to a changed disk or controller, the drive letters don’t get assigned correctly. They may look right in the recovery console, but standard Windows (as well as Safe Mode) is a different story.
Now you can replace userinit.exe as often as you want, it won’t help, because the file is not broken or corrupt, and not infected either. Windows just can’t find it, because it’s not looking for it on the right drive.
To get this fixed, edit the registry of the system that always logs you off. There are many ways to do this from another system, google for it. There, find HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices , look for entries like \DosDevices\D: etc. Make sure the right drive letters are assigned there. You can do so by comparing this to the system as it was before you made the change (if you still have a backup). If you don’t know for sure which letter was assigned to your system drive, you may just have to try.
Changing the entries works by right-clicking on them, selecting “rename” (in standard regedit) and changing \DosDevices\D: to \DosDevices\C:, for example.
These microsoft articles may help as well, as they explain the issue:
http://support.microsoft.com/kb/223188
http://support.microsoft.com/kb/249321/
Leave Your Comments Below
Hello, please leave your thought below
















8 Users Commented In This Post
Subscribe To This Post Comment Rss Or TrackBack URL