Auto Logout During Login

From Michael's Information Zone
Revision as of 13:05, 25 January 2020 by Michael.mast (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

  • 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