Jump to content

Switch login screens on the fly


Maelstorm

Recommended Posts

I have figured out a method to switch login screens on the fly without using LoginStudio. This is a registry hack.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin]
"Text"="Enable Custom Logon Screen"
"Type"="checkbox"
"CheckedValue"="logonuiX.exe"
"DefaultValue"="logonui.exe"
"UncheckedValue"="logonui.exe"
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"

The above registry code will add an option in Tools -> Folder Options called Enable Custom Logon Screen. And furthermore, if you want to switch between more than just one custom login screen and the original, you can do this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin]
"Text"="Enable Custom Logon Screen"
"Type"="group"
"Bitmap"="SHELL32.DLL,274"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenDefault]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Default Windows Logon Screen"
"Type"="radio"
"CheckedValue"="logonui.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenA]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen A"
"Type"="radio"
"CheckedValue"="logonuiA.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenB]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen B"
"Type"="radio"
"CheckedValue"="logonuiB.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenC]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen C"
"Type"="radio"
"CheckedValue"="logonuiC.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenD]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen D"
"Type"="radio"
"CheckedValue"="logonuiD.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenE]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen E"
"Type"="radio"
"CheckedValue"="logonuiE.exe"
"DefaultValue"="logonui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System\GUILogin\ScreenF]
"HKeyRoot"=dword:80000002
"RegPath"="Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
"ValueName"="UIHost"
"Text"="Logon Screen F"
"Type"="radio"
"CheckedValue"="logonuiF.exe"
"DefaultValue"="logonui.exe"

Note that I also have a new tree called System. The registry code for this is as follows:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\System]
"Bitmap"="SHELL32.DLL,22"
"Text"="System Settings"
"Type"="group"

Hope this helps someone.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...