I have had the same problem. Looking for a solution, i followed the link given by Nano8Blazex.The instructions by Microsoft Support led me to the registerkey for the location of userinit.exe. The value contained not only the location in the Windowssystem32 directory, but also a location which was added by HP ProtectTools. The software was already deleted before i discovered the logon problem, but apparently this register value was left behind.Deleting the ProtectTools location from the value, leaving only the windowssystem32 location, solved my logon problem. My first thought was check the event log.My first hypothesis is that there is a misbehaving program that is set to run on login.
This program is trying to perform some operation that mistakenly thinks it requires administrative access. Because it cannot do what it wants, it assumes that some file is locked, and initiates a logout to try to release the file lock.Try starting the computer in safe mode, or use msconfig to run a Diagnostic Startup, so that everything else is disabled.My other theory is that anti-virus is causing problems. I have no evidence to support that at this time: except that nearly every PC problem i've ever seen is related to anti-virus/security products in some way. Any modification to the registry key HKEYLOCALMACHINE SOFTWARE Microsoft Windows NT CurrentVersion Winlogon - Userinit can cause this issue.Now, the modification may be done by a malware or some OEM bloatware installed by the system manufacturer. In my case, the client had HP security tools installed, which modified the key with a protect tools entry along with C:WINDOWSsystem32userinit.exe. Uninstalling the protect tools program will not help.
Unable to log off, restart, or shut down Windows 7 - posted in Windows XP, 2000, 2003, NT: Hi My computer facing problems resembling a virus attack over the past week or two but I m not sure. The machine is a Dell XPS Intel i7-Q740 1.73 GHz running on a Windows 7 Home Premium x64 Bit Symptoms: - Noticeably high CPU usage - 2.79 GHz (usually below 1.99 GHz) - Unable to log off, restart, or shut. I have a Dell laptop which had Vista on it, I upgraded to Windows 7 and did not have any problems til Febuary. My laptop needs to update, but when i click on shutdown or restart it just gets stuck on Log off. I've thought about reloading windows7 but i just moved so the Cds are MIA and yeah any ideas?
You have to navigate to this registry key and delete the HP Protect tools part, leaving just the C:WINDOWSsystem32userinit.exe part. I had a similar issue and discovered that the following two registry edits solved the problem so that I could login using a locally created account.
Hey Fred Gotthardt,Thanks for posting in Microsoft answers!a. Since when have you had this issue?b. Any changes made to the computer recently?Follow the below methods and check if your issue gets fixed.Method 1:Boot into safe mode and check if the issue exists.To boot into safe mode, follow the below steps:1. Remove all floppy disks, CDs, and DVDs from your computer, and then restart your computer.Click the Start button, click the arrow next to the Lock button, and then click Restart.2. Do one of the following:. If your computer has a single operating system installed, press and hold the F8 key as your computer restarts.
You need to press F8 before the Windows logo appears. If the Windows logo appears, you will need to try again by waiting until the Windows logonprompt appears, and then shutting down and restarting your computer. If your computer has more than one operating system, use the arrow keys to highlight the operating system you want to start in safe mode, and then press F8.3. On the Advanced Boot Options screen, use the arrow keys to highlight the safe mode option you want, and then press ENTER.
For more information about options, see Advanced startup options (including safe mode).4. Log on to your computer with a user account that has administrator rights.When your computer is in safe mode, you'll see the words Safe Mode in the corners of the display.