Skip to content

Help: Login loop after installing SecureUxTheme

namazso edited this page Mar 22, 2020 · 4 revisions
  1. Boot into recovery environment command prompt. Various ways of doing so can be found here
  2. Enter regedit then press return
  3. Click HKEY_LOCAL_MACHINE
  4. Click File > Load Hive...
  5. Open %windir%/system32/config/SOFTWARE
    • Do note that you need this from your normal windows installation, and not WinPE (so the one on C: and not X: for most people)
  6. When it asks a name type in anything
  7. Open that key, and navigate to Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ in it
  8. Delete values VerifierDlls and GlobalFlag from keys systemsettings.exe, explorer.exe, winlogon.exe, LogonUI.exe
    • You can just delete the keys for the ones that don't contain other values
    • Keys systemsettings.exe, explorer.exe, LogonUI.exe may not exist or not have the keys if you didn't install hook for them
  9. Reboot. Your system should boot properly now
  10. You can completely remove the software by deleting %windir%\system32\SecureUxTheme.dll, or just clicking Uninstall in the installer
  11. If you think you encountered a bug (so it wasn't just your AV deleting the dll or something out of my control) I'd like to ask you to post an issue.

For simplicity I also made a gif on performing steps 2 to 8 (inclusive):

recovery