Difference between revisions of "Auto Logout During Login"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "==Cause== I was unable to update VMware Horizon agent from 7.7.0 to 7.10.0 on Windows 10 1803/1809. I found out that if I use revouninstaller I could force the removal of the...")
 
 
Line 6: Line 6:
 
==Fix==
 
==Fix==
 
The problem ended up being the userinit reg key<ref>https://answers.microsoft.com/en-us/windows/forum/windows_10-security/user-account-immediately-logged-off-after-entering/36d98832-5313-4b14-a63a-e919dcd201d2</ref> had a bunch of vmware muck attached to it. I removed all of it and was able to log in again.
 
The problem ended up being the userinit reg key<ref>https://answers.microsoft.com/en-us/windows/forum/windows_10-security/user-account-immediately-logged-off-after-entering/36d98832-5313-4b14-a63a-e919dcd201d2</ref> had a bunch of vmware muck attached to it. I removed all of it and was able to log in again.
<br>Please note that though I was able to log in, I had other errors.
+
<br>Please note that though I was able to log in, I had other errors. Basically the system would not recognize that my domain account was not a local admin.
 
*Boot off Windows install media
 
*Boot off Windows install media
 
*Load the command prompt.
 
*Load the command prompt.

Latest revision as of 14:25, 25 January 2020

Cause

I was unable to update VMware Horizon agent from 7.7.0 to 7.10.0 on Windows 10 1803/1809. I found out that if I use revouninstaller I could force the removal of the Horizon agent, update vmware tools (which took extra reboots due to VC Distribution errors), then install the newer agent.

However, a couple machines had issues with revo (I blame Microsoft) and I was unable to log back in after a reboot. I would enter my credentials and immediately get told I was being logged out.

Fix

The problem ended up being the userinit reg key[1] had a bunch of vmware muck attached to it. I removed all of it and was able to log in again.
Please note that though I was able to log in, I had other errors. Basically the system would not recognize that my domain account was not a local admin.

  • Boot off Windows install media
  • Load the command prompt.
  • Import the system registry[2]
reg load HKLM\temp D:\Windows\System32\Config\SOFTWARE
regedit
  • Navigate to the following key and remove everything except the userinit string.
HKLM/Software/Microsoft/Windows NT/CurrentVersion/Winlogon/UserInit
  • Reboot and log in.
  • https://answers.microsoft.com/en-us/windows/forum/windows_10-security/user-account-immediately-logged-off-after-entering/36d98832-5313-4b14-a63a-e919dcd201d2
  • https://www.thewindowsclub.com/edit-registry-another-user-windows-10