Thursday, October 31, 2013

Hiding a User account from Windows login screen

Hiding a User account from Windows Login Screen


For a client, I usually activate administrator account, assign password, and hide it from the login screen. If client knows computers, and asks for it, Yes I tell the password, and do not hide it.

But if the client is not well aware of administrator account, I do not tell them.

Lets come to the point.

To hide any account,

  1. In Windows 7 type in start, and in Windows XP, type in Run :  regedit.exe and press enter (a registry editor will be opened).
  2. goto HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
  3. In the left panel, right click on Winlogon and click New and click Key.
  4. Type SpecialAccounts and press Enter (Case Sensitive).
  5. In the left panel, right click on SpecialAccounts and click New and click Key.
  6. Type UserList and press Enter (Case Sensitive).
  7. In right panel of UserList, right click on a empty area and click New then click DWORD (32bit) Value.
  8. Type in the name of the user account that you want to hide and press Enter. E.g.: Administrator.
  9. In the right panel, right click on the user account name and click Modify.
  10. To hide the user account – Type 0 (zero) and click OK. (number zero not the letter)
  11. Whenever you want to un-hide the account just change the value to 1 instead of  0 (zero).
Once this is done in the registry, you can import the hiding of a specific user account (E.g. Administrator Account) to other computers.

To do this, right click on the SpecialAccounts keycreated in step 3-4 and click Export a window appears, select the location where you want to save the file, type the name for the file and click save.

in the next computer just double click the file, and click Yes and Ok options when they appear.

the file looks like below when edited in a notepad or any text editor software.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
"Administrator"=dword:00000000
If you save the above text in a file with extension .reg and use it on any computer, it will hide Administrator account.




No comments:

Post a Comment