Hide account in Vista

I built a new computer recently, pretty close to top of the line and decided to go with Windows Vista for the operating system to learn it's quirks, and move forward (also I wanted the pretty). So far, I am pleased with the setup, everything is working just fine, and I have not had that much difficulty in setting things up similar to how I had them setup in Windows XP.

One thing I did want to do a few times was use the runas command at a command prompt in order to run a certain command, such as ipconfig, as the Administrator account. By default the Administrator account is marked as disabled, which prevents you from using it as a target account in a runas. Also, even though my regular account was a member of the Administrator group, certain actions still could not be performed. Maybe I just needed to put myself in other groups, but rather than mess with that, I simply wanted to be able to use runas /user:Administrator "command here", enter the password, and be on my way. Easy to enable, just enable the Administrator account and it works.

As a result of enabling the administrator account though, it would now show up on my welcome screen along with my regular account. This is a side effect I did NOT want. Searched around a bit on google for how to hide accounts in Vista, but mostly only came up with stuff on how to do this in XP. One person on one of these pages said that in Vista they keys used for XP were removed or moved somewhere, so some other solution was needed. Well, I went looking for these keys and sure enough, they didn't exist where they were said to be.

What people (in the results I found anyway) failed to mention though, was all you had to do was add these keys in yourself and everything worked just fine. These keys are still supported, and still do the same thing they did in XP. The only difference I guess is they do not exist by default, you have to create them yourself. So, if you want to hide a user account from the Windows Vista Welcome / Logon screen here is what you do:

  1. Click the start logo.
  2. Open the Registry editor. You can do this by simply typing regedit in the search box in the start menu, or clicking Run and typing it into the Run dialog.
  3. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    
  4. Right-click the Winlogon key in the left-hand pane and select New -> Key. Name this new key SpecialAccounts.
  5. Right-click the new SpecialAccounts key in the left-hand pane and select New -> Key. Name this new key UserList. Select this key after it is created.
  6. With the UserList key selected, right-click in the Right-hand pane and select New -> DWORD (32-bit) Value.
  7. Name the new DWORD value the same as the account you want hidden. In my case, the name of the value was Administrator
  8. Make sure the value of this new DWord is set to zero (0) to hide the account. You could also set it to 1 to show the account if you so desired.

That is it. Next time you see the welcome screen any accounts you have listed there and set to 0 will not appear, but you can still login to them using runas, or any other login method. Enjoy!

Keith M.
E-mail: keithm -- aoeex + com (you can figure that out, right?)
http://www.aoeex.com/

Leave a comment


Name: Shadow
Email:
Comment: Awesome! Thanks for this helpful tip.
Name: Andy
Email: andybogue -(@)- hotmail -(.)- com
Comment: I did this however, how to access the login for the hidden account? In XP you hit CTRL+ALT+DEL twice but this isn't working.
Name: Keith
Email:
Comment: As far as I can tell from my findings, there isn't any way to access the account from the welcome screen. Their doesn't appear to be any way to type in an account name, only select from a list.
Name: skenny
Email: skenny16 -(@)- hotmail -(.)- com
Comment: this wrks well but how do u acess it it now, the xp version dont wrk so how can u acess it then??
Name: Toon
Email:
Comment: NIce, but the very last sentence is quite vague "using runas, or any other login method". HOW can I login to the hidden account FROM the welcome screen? I don't see how?!
Name: That is Cool
Email: cox -(@)- cox -(.)- net
Comment: umm...i said alredy
Name: Pascal
Email: pascal -(.)- verspeek -(@)- gmail -(.)- com
Comment: Enable CTRL-ALT-DEL, open Run command type control userpasswords2 > click Enter > click 'Continue' on the UAC dialog > click Advanced (tab) > under 'Secure settings' > check 'Require users to press CTRL-ALT-DEL --
Name: Ali Z
Email: azgs -(@)- hotmail -(.)- com
Comment: All is well that ends well... with all the required given in the commentary
Name: Most Grateful
Email:
Comment: I gotta tell you that if this works there will be a special place in my heart for you,because I am extremely stupid in these matters. Thanx in advance.
Name: Andrew
Email:
Comment: How do i log back on my account?
Name: Joe
Email:
Comment: Ctrl+Alt+Del then Ctrl+Alt+Del Enter your username and password.
Name: Cameron
Email: cameronp2 -(@)- optusnet -(.)- com -(.)- au
Comment: thats the most helpful info I'v ever got on the net for a specific problem I reakon. I worked first time and was easy to do. Good Stuff! Unfortuantely though, some people dont think things through before they do them. Silly Fools.
Name: Nuts
Email:
Comment: This worked great for hiding a account, but now I can't login to the account I have hidden!! Help!!!
Name: Nuts
Email:
Comment: Is there a way to login NOT using the account I have just hidden, and changing the registry so I can then login as the hidden account?
Name: Brun
Email: brunohorvatic -(@)- yahoo -(.)- com
Comment: What I want is that the real Secret Administrator (SuperAdmin) Account can only be seen in Safe Mode in Win Vista... How can I do that, as was on MSWinXPSP2...
Name: khufu
Email: khufuson -(@)- netscape -(.)- net
Comment: This information was very helpful and I thank your for it. One last thing though is that, how could one login as Administrator from the welcom screen. Ctrl+alt+delete does not work as in XP?
Powered by PHP5
Valid XHTML
Valid CSS