17.9.21

How to Enable / Disable user account in Windows...


  • Make sure to have the account name handy.
  • Search for the command prompt using the Windows 10 Search on the taskbar.
  • Once it shows up, right click and run as administrator.  You will be prompted for a yes or no. Select Yes.
  • Now type the following command to disable the account.
    • net user <accountname> /active:no — To Disable.
    • net user <accountname> /active:yes — To Enable it back.
Enable & Disable users from Command Prompt

Replace <accountname> with the real username. In case you do not know the exact name, type “net user“, and hit the enter key.

No comments:

Post a Comment