When you share your computer with family members or friends, Windows 10 by default will list every user account on the sign-in screen. However, there could be times when you may have some additional accounts that you don’t want listed. For example, accounts for users who only login remotely to their PCs, or an account that you want to keep secret from regular users.
While the operating system doesn’t offer an option to pick which user accounts appear on the sign-in screen, you can easily hide any user from being listed by modifying the registry.
In this Windows 10 guide, we’ll walk you through the steps to hide user accounts from the sign-in screen on your computer.
Important: Before you make any changes, make sure to understand that you’ll be modifying the Windows registry, which could be a dangerous game that can cause irreversible damage to your computer when changes are not done properly. It’s recommended that you do a full backup of your system before proceeding. You’ve been warned!
How to hide user accounts from the sign-in screen
Windows 10 by default displays the full name on a user on the sign-in screen, but to make this work you’ll need the name of the account. You can find this information by opening Local Users and Groups. However, this option is only available for Pro users, as such we’ll be using the old User Accounts manager that is available on Windows 10 Pro as well as on Windows 10 Home.
- Use the Windows key + R keyboard shortcut to open the Run command, type netplwiz, and click OK to open User Accounts.
- Select the account you want to hide and click Properties.
- Make note of the User name for the account.
Use the following steps to hide an account from sign-in screen on Windows 10:
- 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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- 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.
All the latest news, reviews, and guides for Windows and Xbox diehards.
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.
If you’re only hiding a remote user account, you don’t need to do anything else, as the user can login remotely without any issues.
Keep in mind that while this guide will help you to remove user accounts from the sign-in screen, it’s not recommended to remove all the accounts, including your own, as you may find tough to get back in.
These steps work on Windows 10, and it should also work on Windows 8.1 and Windows 7.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.
-
Home
-
Partition Manager
- Hide Specific User Accounts from Login Screen on Windows 10
By Vicky |
Last Updated
You may be willing to share your computer with your family members and friends. But Windows 10 by default will list every user account on the sign-in screen and you may want to keep some of them secret for other reasons. In this post, MiniTool shows you how to hide specific user accounts from login screen.
Hide Specific User Accounts from Login Screen
You may have set up no less one user accounts on your Windows 10 computer. But you do not want the person who borrows your computer to use one of the accounts. Let’s see how to hide user accounts from login screen on Windows 10.
Note: It is not recommended that you hide all the accounts, including your own, because it is maybe tough to get back in.
Stage 1: Get the Full Name of Your User Account
To complete this work, you need to get the full name of the user account you want to hide from login screen first.
Here is the tutorial on checking the exact name of the user accounts.
Step 1: Press the Windows key and the R key on the keyboard simultaneously to call out the Run window.
Step 2: On the Run window, please type netplwiz and click the OK button to launch User Accounts.
Step 3: Select the user account you want to hide and then click the Properties button.
Step 4: Copy the user name on the newly popping-up window to Word or a place you prefer.
Now you have gotten the exact name of the user account you want to hide, and you can move to Stage 2 to complete hiding this account from login screen.
Stage 2: Hide the User Account from Login Screen via Registry Editor
To complete this work, you need to make some changes in Registry Editor. This may be risky if the changes are not done properly. Therefore, it is wise to back up your computer in case something goes wrong and then you can start hiding one user account.
Here is the tutorial on how to hide specific user accounts from login screen.
Step 1: Call out the Run window and then type regedit and click the OK button to launch Registry Editor.
Step 2: Look at the left pane of the current window and navigate to the path below.
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT > CurrentVersion > Winlogon
Step 3: Right-click the Winlogon and select New > Key. Name the key as SpecialAccounts.
Step 4: Right-click the SpecailAccounts key and select New > Key to create a key named UserList.
Step 5: Expand the UserList key, right-click the empty space in the right pane, and select Next > DWORD (32-bit) Value.
Step 6: Name the DWORD as the name of the user account that you want to hide (the name you have copied in Step 4 in Stage) and set its Value data to 0.
After completing the above steps, your user account should be invisiable on the login screen. Apart from the screen, the account is also hidden from the switch user menu in the Start menu, from Control Panel, from the Settings app, etc.
If you want to show the hidden user account on login screen again, you just need to change the Value data of the account from 0 to 1 in Registry Editor.
Are you interested in keeping your digital data secret? If yes, you can read 5 Operations to Keep Your Digital Data Secure Effectively. This post shows you a detailed tutorial.
Bottom Line
Have you mastered how to hide specific user accounts from login screen? If you have any questions about this work, please leave them in the comment zone and we will reply to you as soon as possible.
About The Author
Position: Columnist
Vicky is a website editor who has been writing tech articles since she was graduated from university. Most of her articles talk about Windows PC and hard disk issues. Some of her articles also touch on YouTube usage and issues.
During her spare time, she likes to spend time reading, watching videos, and sitting on her Yoga mat to relax.
На экране входа в Windows (welcome screen, экран приветствия) по-умолчанию отображается учетная запись последнего пользователя, который выполнял вход на этот компьютер и список всех локальных пользователей. В Windows есть несколько настроек, которые позволяют показать или скрыть имена пользователей на экране входа, или даже вывести список всех локальных или активных доменных пользователей компьютера (сервера).
Содержание:
- Как скрыть имя последнего пользователя на экране приветствия Windows?
- Показать список локальных пользователей на экране входа в Windows
- Вывести список доменных пользователей на экране входа в Windows
- Как скрыть определенного пользователя на экране входа?
Как скрыть имя последнего пользователя на экране приветствия Windows?
Конечным пользователям удобно, когда на экране входа в Windows отображается имя учетной записи и его не нужно набирать вручную. В целях безопасности на публичных компьютерах (в небезопасных локациях) вы можете запретить показывать имя последнего пользователя на экране входа Windows через GPO.
- Откройте редактор доменных GPO
(gpmc.msc
) или локальных политик (gpedit.msc) и перейдите в раздел Конфигурация компьютера -> Конфигурация Windows -> Параметры безопасности -> Локальные политики -> Параметры безопасности (Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options); - Включите политику “Интерактивный вход в систему: Не отображать учетные данные последнего пользователя” (Interactive logon: Don’t display last signed-in). По умолчанию эта политика отключена;
Вы можете скрыть имя последнего пользователя на экране входа через реестр. Для этого в ветке HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System создайте параметр dontdisplaylastusername типа DWORD и значением 1.
- Чтобы скрыть имя пользователя на экране блокировки (когда компьютер блокируется нажатием Win+L или через GPO блокировки экрана), включите в этом же разделе GPO нужно включить политику “Интерактивный вход в систему: отображать сведения о пользователе, если сеанс заблокирован” (Interactive logon: Display user information when the session is locked) и выбрать значение “Не отображать сведения о пользователе” (Do not display user information).
Этой политике соответствует параметр реестра DontDisplayLockedUserId в той же ветке со значением 3.
Теперь вместо имени последнего пользователя, на экране входа в компьютер и на экране блокировки Windows, отображаются пустые поля для ввода имени пользователя и пароля.
С помощью параметра DisableBackButton реестра можно скрыть список пользователей на экране блокировки:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /t REG_DWORD /f /d 0 /v DisableBackButton
Теперь для разблокировки экрана пользователю нужно просто набрать пароль, а чтобы отобразить список всех пользователей, нужно сначала нажать кнопку Switch User на экране блокировки.
Показать список локальных пользователей на экране входа в Windows
По умолчанию современные версии Windows (проверено на Windows 11 23H2 и Windows 10 22H2) всегда показывают список включенных локальных пользователей в левом нижнем углу (это работает только на компьютерах, не включенных в домен Active Directory). Скрытые (см ниже) и отключенные учетные записи пользователи здесь не отображаются.
Чтобы войти на компьютере, пользователю достаточно щелкнуть по нужной учетной записи и ввести пароль.
Если список локальных пользователей не отображается на экране входа Windows, проверьте настройки следующих параметров в редакторе локальной GPO
gpedit.msc
:
- Interactive Logon: Don’t display last signed-in =
Disabled
(Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options); - Enumerate local users on domain-joined computers (Перечислить локальных пользователей на компьютерах, подключенных к домену) =
Enabled
(Computer Configuration -> Administrative Templates -> System -> Logon /Конфигурация компьютера -> Административные шаблоны -> Вход в систему) – политика позволяет вывести список локальных пользователей на доменных компьютерах.
Перезагрузите компьютер, чтобы применить новые настройки групповых политик.
Вывести список доменных пользователей на экране входа в Windows
Если одним компьютером пользуется несколько пользователей, вы можете отобразить на экране приветствия список пользователей с активными сессиями. Активная сессия подразумевает, что пользователь выполнил вход на компьютер. Это может быть общий компьютер (работает в режиме переключения пользователей), касса, киоск, хосты Windows Server с ролью RDS (или его аналоги с поддержкой мультсессий на десктопных версия Windows).
Проверьте, что в разделе GPO Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options отключены политики:
- Interactive logon: Don’t display last signed-in: Disabled
- Interactive logon: Don’t display username at sign in: Disabled
Затем отключите политики в разделе Computer Configuration -> Administrative Templates -> System -> Logon:
- Block user from showing account details on sign-in: Disabled
- Do not enumerate connected users on domain-joined computer: Disabled
На доменном компьютере вы можете проверить результирующие настройки этих параметров GPO с помощью текущие
rsop.msc
или gpresult.
После этого на экране приветствия будет отображаться список пользователей, которые выполнили вход в систему. Здесь будут отображаться как активные сессии, так и сессии пользователей со статусом disconnected (например, по RDP таймауту).
Как скрыть определенного пользователя на экране входа?
На экране входа в Windows всегда отображаются пользователи, которые входят в одну из следующих локальных групп: Администраторы, Пользователи, Опытные пользователи, Гости.
Можно скрыть определенных пользователей в списке на экране входа в систему через реестр. Для этого нужно создать ветку реестра
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
. Для каждого пользователя, которого вы хотите скрыть нужно создать DWORD параметр с именем пользователя и значением 0.
Список локальных пользователей можно вывести в PowerShell или cmd:
Net user
Или:
Get-LocalUser | where {$_.enabled –eq $true}
Чтобы скрыть определенного пользователя на экране входа Windows (например, user1), выполните команду:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /t REG_DWORD /f /d 0 /v user1
Если нужно опять показать пользователя на экране входа, нужно удалить это параметр реестра или изменить его значение на 1.
Если на компьютере включен аккаунт встроенного администратора Windows, и это не единственный аккаунт с правами локального администратора на компьютере (!!!), вы можете скрыть и его:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /t REG_DWORD /f /d 0 /v administrator
Если вы хотите скрыть всех пользователи, кроме последнего вошедшего, настройте следующие параметры GPO в разделе Computer Configuration -> Administrative Templates -> System -> Logon:
- Enumerate local users on domain—joined computers =
Disabled
(Computer Configuration -> Administrative Templates -> System -> Logon /Конфигурация компьютера -> Административные шаблоны -> Вход в систему) – политика позволяет вывести список локальных пользователей на доменных компьютерах - Do not enumerate connected users on domain-joined computer =
Enabled
If your Windows system has many accounts and you want to hide specific user account in Windows 11/10, then this article is for you. Recently, a user reached to me in the forums with this problem. He wanted to hide a specific user account on his system. But in this case, he do not want it to disable the account. Usually, you can disable a user account, and it should be hidden from the login screen. However, if you have a special requirement of hiding the user account from login screen without disabling it, then we’ve a special registry method for this. We’ll cover both methods for you in this guide.
Here is the screenshot of the login screen of my system on which I tried both the methods. On this system, we have three accounts and we’ll hide the ‘Demo user’ account as indicated in below screenshot.
So without wasting time anymore, we will start this guide.
Page Contents
Method 1 – Using LUSRMGR snap-in
This method allows you to hide specific user account from login screen as well as from other user switching points.
- Right click on the Start Button and select Run.
- In Run, type or paste
lusrmgr.msc
and click OK. - In Local Users and Group snap-in, go to Users folder.
- Double click on the user account you want to hide to access it properties.
- In the property sheet, check Account is disabled option.
- Click Apply, OK.
Method 2 – Hide Specific User Account using registry
In this method, you can hide specific user account from login screen, without disabling it.
- Right click on the Start Button and select Run.
- In Run, type regedit, click OK.
- In Registry Editor window, go to following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Right click on Winlogon registry key, select New >Key. Name this new sub-key as SpecialAccounts.
- Similar to step 4, create a sub-key to SpecialAccounts and name it as UserList.
- In the right pane of UserList registry key, right click and select New > DWORD Value.
- Name this newly created registry DWORD as the user account name you want to hide. Make sure you use the exact user account name, else it won’t work.
- Let the registry DWORD value data set to 0.
- Close Registry Editor.
- You can now go to login screen, the specific user account should be hidden now and is still enabled:
VIDEO GUIDE AVAILABLE
You can checkout the live demonstration of both methods in this video guide:
That’s it!
RELATED ARTICLES
windows 10 hidden user activate 8
Short Bytes: Using a hidden user administrator account on Windows 10, you can ensure the privacy of your personal data very easily. This anonymous account will also have administrator privileges and keep your personal life safe from others.
A new net user administrator is created on Windows 10 using Command prompt. We can also create an anonymous and hidden administrator on Windows using the same command by editing some attribute values of the same.
Follow these steps to create hidden net user administrator on Windows 10 (This method also works on Windows 7 and 8.1):
- Open Notepad. To Open Notepad, press Windows + R and type Notepad inside the box
- Copy and paste the code below in Notepad:
@echo off net user hidden mypassword /add net local group Administrators hiddenuser /add
- In the above code, Replace mypassword with your own password and hiddenuser with your administrator name.
- Now save the file as Hidden.bat. Here, .bat stand for the batch file extension.
- Once you save, you will see a bat file icon created in the folder where you saved the .bat file.
- Right click on the icon and select ‘Run as Administrator’. Once you ‘Run as Administrator’, a command prompt will appear showing that your account is being created.
- Once it’s done, you might want to recheck it. So, to recheck and confirm your created account, open a Command Prompt window. Press Windows+R and type cmd in the box and a Command Prompt window will appear. There are also other Windows 10 Keyboard shortcuts to make your life easier.
- Type the command net user in the command prompt. There should space in between net and user in the command and press enter. Now you can see your hidden Net User Administrator account On Windows 10.
Hiding The Hidden Net User Administrator:
- Now, the next step is to hide this account. Open a new Command Prompt window with administrative permissions by right clicking on the cmd icon.
- Now type the following command and press enter: net user hidden /active:no
- Like this, you’ll be able to hide an account on your Windows 10 PC.
Accessing The Hidden Net User Administrator:
- To access this account, you need to open a new Command Prompt window with administrative permissions.
- Now, enter the following command and press enter: net user hidden /active:yes
- This will bring your account to the front with the name you specified. To check this, you need to log off your computer or click on top-right corner of the Start Menu.
- After using this hidden account, follow the step to hide this hidden user account and restrict people from accessing it.
Now with this account, you can ensure privacy by managing all your private information under this hidden account. Moreover, this account will have complete administrator access to your computer.
If you want to share some other tips and trick on Windows 10, do share with us in the comments below.
Also Read: Windows 10 Backup: How To Take A Complete Backup Of Your System
Fossbytes co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security.
Get in touch with him by sending an email — [email protected]