Getting the exact username
- Press Windows Key + R to open the Run dialog.
- Type
netplwiz
and press Enter. - The User Accounts window will list all user accounts on your Windows machine. The usernames are displayed in the “User name” column.
Using the Registry Editor
-
Open the Registry Editor:
- Press the Windows key + R.
- Type “regedit” and press Enter.
-
Navigate to the Winlogon Key:
- Go to this path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Go to this path:
-
Create SpecialAccounts and UserList Keys:
- Right-click on “Winlogon” and select New -> Key. Name it SpecialAccounts.
- Right-click on “SpecialAccounts” and select New -> Key. Name it UserList.
-
Create a DWORD Value:
- Right-click within the “UserList” key.
- Select New -> DWORD (32-bit) Value.
- Name the DWORD the exact username of the account you want to hide.
- Double-click the new DWORD and set its value data to 0.
-
Restart: Close the Registry Editor and restart your computer.