1. Using regedit navigate to
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon”
2. If string end with either one of these ”OldUserinit” or “Winlogon32.exe”, this will have to be modified. Right click on “Userinit” and select “modify”. The window will open and display a string which can be modified. Change the end of the string by JUST removing “OldUserinit.exe” or “Winlogon32.exe” and replacing it with “userinit.exe” making sure to leave the rest of the string as is. And save your work.
3. The “Userinit” key should now say
“WINDOWS_PATH\system32\userinit.exe,”
“WINDOWS_PATH” is relative to where you have your windows installed.
Mine would be “C:\WINDOWS\system32\userinit.exe,”
Note – You will need to use the recovery console or a windows PE disk to edit the registry. you can also use another computer on the network to connect to the registry on the computer that is unable to login.