This isn't the solution to the exact question you asked, but will accomplish your goal of being able to elevate to the administrator account but not have it show up on the login screen.
Here's what you need to do. Use the special accounts registry entry to hide the administrator account (and whatever other accounts you want to hide) from the login screen. Then, configure UAC to prompt for both a username and password, instead of just showing the clickable usernames. This will let you elevate to one of the hidden accounts, because it behaves much like the "do not display last username" setting does for the login. This is what it will look like; you can type in any (administator's) username:
In order to configure this, all you have to do is create one registry value. Go to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies
and create a key called CredUI
if it doesn't already exist. Then, within CredUI, create a DWORD called EnumerateAdministrators
with the value 0x00000000
. That's it! Now you can elevate to any account you want, and hide any account you want.
If you don't want to edit the registry by hand, you can paste the following code into notepad, and save it as a file with a .reg
extension, then open the file to add the data to the registry.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI]
"EnumerateAdministrators"=dword:00000000
After scouring the web and all of the above failed, I tried Logon Loader Recovery Tool 1.0 (link to softpedia as it's no longer hosted on author's website) from Daniel Milner.
Success! The author has informed me his tool sets the following registry value:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UIHost
to logonui.exe
Best Answer
Welcome screen can't be disabled since Windows Vista. There's no Windows XP-like login dialog any more.
On the other hand, you can disable displaying user list. Start Group Policy Editor,
gpedit.msc
, expand Computer Configuration, Windows Settings, Security Settings, and double click Interactive logon: Do not display last user name. Then select Enabled and click OK.