Sometimes you don’t have a chance to logon normally due to some porgram (vrius), service or drivers which hung the logon process.
this article will describe different methods.
Problem with video drivers (or the resolution is incorrect):
reboot using VGA enable and uninstall the drivers on device manager and install it again.
How to Disable Startup Applications Using the Shift Key:
One way you can simplify your configuration is to disable startup applications. By holding down the Shift key during the logon process, you can prevent the operating system from running startup programs or shortcuts in the following folders:
– %SystemDrive%\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
– %SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
To disable the applications or shortcuts in the preceding folders, you must hold down the Shift key immediately after logon until the desktop icons appear. Holding down the Shift key is a better alternative than temporarily deleting or moving programs and shortcuts, because this procedure affects only the current user session.
How to disable startup application or services with msconfig:
the better way is to reboot the system on safe mode, run msconfig and at startup tab you can disable the unneeded application or servcie
How to disable startup application or services remotely:
if you have the administrator right and know the IP address, then you can use different tools like computer management, regedit or remote process explorer
computer management – can be used to stop some services
regedit – can be used to edit some registry key or delete them on:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Runonce
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run
remote process explorer – the program can be used to connect to the remote computer and kill unneeded process (requirement: RPC process should be started and the firewall should be down if you get some error like RPC server is not available)
Last thing is to check:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
USERINIT, key should point to “C:\windows\system32\userinit.exe,”.
if still can’t logon, then try to copy the file userinit.exe from other computer rename it (for example: wsaupdater.exe) and modify the key to point to a new exe file