Windows allows you to have multiple local user accounts on the same device. This allows each user to have their own file storage, custom desktop, and custom settings.
Sometimes you will need to disable the user's account without deleting it, as deletion of the account would delete all its files, apps, and custom settings. Disabling an account removes the account icon from the login screen and from the user switching menu. This allows you to activate your account later without losing any of their data. Here's how to enable or disable a user account in Windows 1
Note: This article is intended for people who use Windows 10 in their home or small business. If you are using Windows 10 in a larger company, you are likely to not have multiple local user accounts set on a system, and these tools are likely to be disabled anyway.
Windows 10 Home and Pro Users: Disable User Accounts with the Command Prompt
Regardless of which version of Windows 10 you use (Home, Pro, or Enterprise), you can use a prompt command at command prompt to enable or disable a local user account. While there is a graphical way to do this for Windows 10 Pro users (which we will cover in the next section), command prompt is available to everyone and very fast.
First open Command Prompt as administrator. Hit Start, type "cmd" in the search box and you will see "Command Prompt" listed as the main result. Right-click this result and select "Run as administrator".
Enter (or copy and paste) the following command, where
is the name of the user account you want to disable:
/ Active: No
When the command has been completed, you can close the Command Prompt. The user account will be disabled and will no longer be displayed as an active login account. You can repeat the same process for all other accounts you want to disable.
Note! If you do not & # 39; t know the exact name of the account, enter the
network user command to get a complete list of all users.
If you want to re-enable the account all you have to do is open another elevated command prompt session, but this type of "no" instead of "yes" for
active: switch. The command looks like this, replaces
with the name of the user account you want to enable:
/ Active: Yes
Windows 10 Pro User Only: Disable User Account with Computer Management Utility
For this we will use the computer management tool. It's a fast and powerful way to access a host of administrative tools like Task Scheduler, Performance Monitor, Device Manager, Disk Manager and more. Windows 10 Pro and Enterprise users can use the Local Users and Groups section to grant and restrict user access to the device. (However, if you run Windows 10 Enterprise, you are probably part of an Active Directory domain and will not use or access this tool.)
RELATED:  10 + Useful System Tools Hidden in Windows
In Windows 10 Pro or Enterprise, open the Start menu and search for "Computer Management."
Alternatively, you can press Windows + X and then select "Computer Management" from the Power Users menu.
In the Computer Management window, navigate to System Tools> Local Users and Groups> Users. To the right you will find a list of all user accounts on your system.
Right-click the user account you want to disable and then click "Properties."
Select the "Account is disabled" check box in the Properties window, then click "OK" to save the changes.
Repeat previous steps for all other user accounts you want to disable. Then you can close Computer Management and the inactivated accounts will no longer appear on any login screens.
To activate a user account, return to the Account Properties window and complete the "Account is disabled" checkbox.