Skip to content
  • Home
  • System Admin/Helpdesk
    • PowerShell
      • SHD
    • Deployments
    • Exchange
    • PBX Systems
    • Group Policy
  • DISCLAIMER
  • Resources
    • IT Terms
      • Computer Hope
      • DP Solutions
      • DataPrise
    • Mental Health Links

The Random Admin

The Chicken Crossed the Wires

Help Desk / November 22, 2020

Hide and Unhide A User’s Login

Do you have an admin account that needs to be hidden? Setting up this account among 2000 machines at different sites and different clients? Sounds like a nightmare right? Well, you can easily hide a user’s account from the login. This is done through the registry.

HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList

Inside here, we create a Dword with the username that we want to hide from the start menu and set it to 0 to hide the user and 1 to make it visible. So the code is a single liner. We create the Userlist, if it doesn’t exist, and make the new item property.

This code will make the user visable.

New-Item 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList' -Force | New-ItemProperty -Name $Param1 -Value 1 -PropertyType DWord -Force

This code will make the user hidden.

New-Item 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList' -Force | New-ItemProperty -Name $Param1 -Value 0 -PropertyType DWord -Force

Make sure to replace the Param1 with the username accordingly. After that you will need to reboot and should be good to go.

Related Topics
Hide Account Hide Login On Screen Hide Special Accounts

Post navigation

< Numlock On Startup
1000 Faces >

You Might Also Like

SSH with Powershell

SSH with Powershell

Auto 365 Licensing with Groups

Auto 365 Licensing with Groups

It’s Ok to be you

It’s Ok to be you

Leave a Reply Cancel

About Me

hello and welcome to The Random Admin. This blog was born out of a love for teaching and learning new things. Over the years, I have learned the best way to learn something deeper, is to teach it. This blogs main focuses are, Information Technology and Mental health. If you find it helpful, let me know. As always, if you have any questions feel free to reach out.


Donation Links:
PayPal
CashApp
Copyright © 2023 The Random Admin. All rights reserved.
Theme: Patricia by VolThemes. Powered by WordPress.