On Windows 10, you can add multiple accounts to share a device with other people — that way everyone can have a personal and custom space with their own desktop, browser bookmarks, and separate files.
When an account is no longer needed, using the Settings app is also super-easy to delete a user along with their settings and files, but if you only need to block someone temporarily, you won't find an option to simply disable an account. However, it doesn't mean that you need to lock the door or delete the account just to temporarily prevent someone from accessing the device, as it's still possible to use Computer management and Command Prompt to disable an account.
In this Windows 10 guide, we'll walk you through the steps to disable a user account when you're sharing your PC with multiple users, and you're planning to restate access in the future.
- How to disable a Windows 10 account using Computer Management
- How to disable a Windows 10 account using Command Prompt
How to disable a Windows 10 account using Computer Management
On Windows 10 Pro or Enterprise, you can use Computer Management to manage various aspects of an account, including the ability to restrict access to an account.
- Open Start.
Search for Computer Management and click the top result to open the console.
Quick tip: You can also use the Windows key + X keyboard shortcut and selecting Computer Management.
Browse the following path:
System Tools > Local Users and Groups > Users
- Double-click the account you want to disable. (If the user account is using a Microsoft account, note that the name will only use the first five letters of the email address. If you want the account to use a custom name, you can refer to this guide.)
Under the "General" tab, check the Account is disabled option.
- Click Apply.
- Click OK.
Once you've completed the steps, the account will no longer be accessible, nor it'll appear as an available account on the sign-in screen.
If you want to revert the changes to enable the account again, simply follow the same instructions, but on step No. 5, make sure to clear the Account is disabled option.
How to disable a Windows 10 account using Command Prompt
If you feel more comfortable using commands, or your device is running Windows 10 Home, you can use Command Prompt to disable or enable a Windows 10 account.
- Open Start.
- Search for Command Prompt.
- Right-click the result and select Run as administrator.
Type the following command to list all the available accounts added on your computer and press Enter:
Type the following command to disable the account and press Enter:
net user username /active:no
In the above command replace username with the name of the account you want to restrict access.
After completing the steps, the account you've disabled will no longer be accessible and it'll not be listed on the sign-in screen.
At any time you can enable the Windows 10 account again using the same instructions, but on step No. 5, use the
net user username /activate:yes command.
While we're focusing this guide on Windows 10, you can also use the same instructions to disable or enable an account on Windows 8.1 and Windows 7.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, 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
Exclusive: The Falconeer is a chill blend of Star Fox and Sea of Thieves
We recently got to spend some time with the latest beta build for the Xbox Series X/S launch title - The Falconeer. Get your first look at some exclusive gameplay right here.
PS5 games prices are higher than Xbox — but is that a good thing?
Sony's PlayStation 5 reveal came with some big caveats, and one of the most overlooked ones is the fact that games will be more expensive, seemingly across the board. Should Microsoft and Xbox jump on that train as well?
Review: Gigabyte's Z490 AORUS ULTRA is a gorgeous Intel motherboard
Gigabyte's Z490 AORUS ULTRA is a motherboard you should consider for a 10th or 11th Gen Intel-powered PC. On paper, it has plenty going for it, including amazing power design and cooling, passively cooled M.2 slots and good overclocking support.
The NFL is back! Check out these must-have Windows apps for football fans
After months of waiting through a unique offseason and no preseason games, the NFL is finally back this week. With these Windows 10 apps, you won't miss a snap of the NFL action.