Various Tasks Related to Logins
Hide a Windows Login Account from the Login Screen
- Open RegEdit
- Go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Right-click Winlogon and click New > Key
- Name the new key SpecialAccounts
- Right-click the SpecialAccounts key and click New > Key
- Name the new key UserList
- Inside of UserList, right-click and select New > 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.
Restore Missing Users on the Login Screen
With the Terminal
-
Open an admin terminal
-
Run the following command
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose -
Reboot
User Local Users and Groups
- Press Windows Key + R, type
lusrmgr.msc, and click OK. - Now click the Group section, right-click on Administrators and pick Add to Group.
- In the Properties window, click Add
- Then in the Select Users window, click on Object Types.
- Now in the following window, select Users and uncheck other options here. Click OK.
- After clicking OK, we’re back to the Select Users window. Now click on Advanced there
- On this window, click Find Now.
- From Search Results, find and select the username not appearing on the Login screen/Start Menu username drop-down menu. Click OK. Again click OK
- Reboot