What Computer to Buy?

Windows 7 Logs Off Immediately

March 10, 2014

I have received a question about Windows 7 logging the user off immediately after logging on. I had encountered this problem one time with my Aunt and Uncle's computer. They called me over and I took a look at it. I've never seen anything like it before. They couldn't log-on at all. They would immediately be logged off before even showing their desktop. I tried going into safe mode, but that wouldn't work either.

How I fixed their issue:
Download Hiren's Boot CD and burn it to a CD
Boot off the CD and go to 'Mini Windows XP'
In the CD, there are many different Registry editing programs. I think I used 'Registry Viewer' but you can use what ever registry editor you prefer.
In the registry navigate to the key:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Change the 2 following stings strings to the values below.
Shell=explorer.exe
Userinit = C:\windows\system32\userinit.exe
If they do not exist, right click and create new ‘String Value’
After putting changing those registry keys in their system, they were able to log-on.

As to why this happened on their computer, I have no idea, I scanned their computer for viruses and nothing showed up. I think it was Microsoft updates. My guess, the computer was powered off while installing MS updates.
If this doesn't work for you respond here

Jordan M Matthews


Comments

Leave a Comment


Take the What Computer to Buy Quiz to narrow your results to find a personal computer!

© Copyright WhatComputer2Buy.com