How to temporarily disable an account on Windows 10

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.

How to disable a Windows 10 account using Command Prompt

If 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:
net user
Type the following command to disable the account and press Enter:
net user username /active:no
You can use 
net user username 
to confirm your changes have been applied.

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file