- Use the Windows key + R keyboard shortcut to open the Run command, type regedit, and click OK to open the Windows Registry.
- Browse the following path:
- Right-click the Winlogon, select New, and click Key.
- Name the new key SpecialAccounts.
- Right-click the SpecialAccounts key, select new, and click Key.
- Name the new key UserList.
- Inside of UserList, right-click, select New, and click DWORD (32-bit) Value.
- Name the new DWORD key with the name of the account you’re trying to hide.
- Double-click the new DWORD key and make sure its data value is set to 0.
Sign-out and you’ll now notice that the account will no longer be available on the sign-in screen. In fact by doing this, you’re also hiding the account from virtually everywhere in the operating system, including the from the switch user menu in the Start menu, from Control Panel, and even from the Settings app.
In order to make a hidden account visible again, you’ll have to go back to the registry UserList key using the steps mentioned above, and making sure to change the user name data key value from 0 to 1.
Source: Windows Central