How to enable or disable users in Windows 10

Hi folks,

In this quick post I briefly go over how to enable or disable users in Windows 10.

  1. Launch cmd as an adminstrator
  2. List all users by running the following command in cmd:
    net user
    
  3. Once you find the user you want to disable, run the following command:
    net user theusername /active:no
    
  4. To enable a user, run the following command:
    net user theusername /active:yes

That’s all!

Till next time, happy system administration.

References

  1. How to Enable or Disable a Windows 10 User Account. How-To Geek. https://www.howtogeek.com/396117/how-to-enable-or-disable-a-windows-10-user-account/