Most of us Windows 10 users have created multiple users on our PC’s to grant different levels of access to different people. If this is the case, there may be times or situations where you might want to disable a user account to block the user from signing into your PC and accessing data or programs.

If you want to block or restrict the user for good, user account deletion is the best option for you. However, if it is a temporary situation where you think you might need the user to login again in a short while, disabling the account is a far better option. This way you can enable the account at any time in the future since the user’s information will still be stored intact.

Reasons for disabling or enabling a user account

There can be many situations where you may feel the need to disable an account. You may disable it owing to security reasons, users misusing their account, or even if the user has an exam coming up and you don’t want them to waste time playing games on their PC.

How to disable on enable a user account

When an account has been disabled, the user account won’t show up in the sign-in screen or the Start menu. Also, you can only disable or enable user accounts if you’re the administrator of the PC and have signed in as one. Here’s a guide you can follow to easily disable and enable a user account in Windows 10 using different methods:

Use an Elevated Command Prompt

  1. Open the elevated Command Prompt which is for an administrator
  2. To disable the account, type the following command and press Enter: Net user "User Name" /active: no
  3. To disable the account, type the following command and press Enter: Net user "User Name" /active: yes
  4. Close the command prompt when you’re done

Use the Group Policy

  1. To open the Local users and groups manager, press the Windows key + R to launch the Run dialog or simply navigate through Computer management
  2. Type in msc and click OK
  3. In the left pane, click on Users and select the one you want to disable or enable
  4. Right click on it to open the properties, and simply check mark the “Account is disabled” option to disable the account
  5. You can follow the same steps again an uncheck the “Account is disabled” option to enable the account

Use an Elevated PowerShell

  1. Launch an elevated PowerShell
  2. Type in the following command and press Enter to disable an account

Disable-LocalUser -Name "UserName"

  1. Type in the following command and press Enter to disable an account

Enable-LocalUser -Name "UserName"

  1. Close the PowerShell when you’re done

Final words

That’s it! You are now a pro at disabling and enabling user accounts. Now if the blocked user wants to sign in, he or she will get the message “Your account has been disabled. Please see your system administrator”. Of course you can enable it back again for the user whenever you want to.

How to Enable or Disable a Windows 10 User Account

Leave a Reply

Your email address will not be published. Required fields are marked *

*