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
Benchmarking the new Surface Book 3 15 with GTX 1660 Ti and 10th Gen i7
Although it's too early for a review, here are some initial benchmarks from the new Surface Book 3 15-inch with a Core i7 and NVIDIA GeForce 1660 Ti (Max-Q) and how it compares to Surface Book 2 and other premium laptops. Spoiler: While the CPU is just OK, that 1660 Ti definitely bumps up the Book 3's potential.
Windows 10 May 2020 Update (version 2004) now available
With just a few days to spare, Microsoft began the rollout of the Windows 10 May 2020 Update. The update includes a new Cortana UI, improvements to Virtual Desktops, and several other changes.
Review: Windows 10 May 2020 Update packs improvements to existing features
Microsoft's next Windows 10 feature update is almost here. Known as the May 2020 Update, this new version of Windows 10 is all about fit and finish. There's not a whole lot new here in regard to features, but plenty of changes and enhancements to features that have already been part of the OS for some time. In this review, we take a look at all the notable new changes and improvements,...
Best Windows 10 Wallpaper Apps and Websites in 2020
You stare at your desktop wallpaper all day, so why leave it boring or as the Windows 10 default wallpaper? These websites and apps will help you keep your desktop fresh and beautiful.