Skip to content
Follow
Windows

How to Enable or Disable Account in Windows 11

Richard
Written by
Richard
Mar 21, 2026 Updated Jul 10, 2026 3 min read
How to Enable or Disable Account in Windows 11
How to Enable or Disable Account in Windows 11

This tutorial will show you how to enable or disable an account in Windows 11.

⚡ Quick Answer

Open Windows Terminal as an administrator and use the `net user /active:no` command to disable an account, or `net user /active:yes` to enable it. Alternatively, use PowerShell commands or the Local Users and Groups tool if available.

Why You Might Want to Do This

Disabling a user account in Windows 11 stops someone from logging in without deleting the account. This is useful if you share your computer and need to temporarily prevent access. You can easily turn a disabled account back on later if needed.

Windows 11 users can disable a user account instead of deleting it. This action prevents the account from being used. Users can re-enable the disabled account later if needed.

What Happens When You Disable an Account

Disabling a Windows 11 account prevents anyone from signing in. The disabled account name will not show on the sign-in screen or the Start menu. Users can re-enable the account to make it visible again.

📝Good to Know
⚠️ Important: You must be signed in as an administrator to enable or disable an account.

Option One

Enable or Disable Account Using the “net user” Command

  1. Open Windows Terminal (Admin). Select either Windows PowerShell or Command Prompt.
  2. Copy and paste the command below into Windows Terminal (Admin). Press Enter to see a list of all accounts and their status (True or False).
    PowerShell
    Get-LocalUser

Disable Account

  1. Type one of the commands below into Windows Terminal (Admin). Press Enter.

    To disable a local account:


    💻Code
    Net user "<username>" /active:no

    OR


    To disable a domain account:


    💻Code
    Net user "<username>" /active:no /domain

    Replace <username> with the actual account name. For example:


    💻Code
    Net user "User1" /active:no

Enable Account

  1. Type one of the commands below into Windows Terminal (Admin). Press Enter.

    You can quickly turn an account back on in Windows 11 using a command in Windows Terminal (Admin). Type 'Net user "" /active:yes' and press Enter, making sure to replace "" with the actual username of the account you want to enable. For a domain account, use 'Net user "" /active:yes'.


    💻Code
    Net user "<username>" /active:yes

    OR


    To enable a domain account:


    💻Code
    Net user "<username>" /active:yes /domain

    Replace <username> with the actual account name. For example:


    💻Code
    Net user "User1" /active:yes

  2. You can now close Windows Terminal (Admin) if you like.

Option Two

Enable or Disable Account in PowerShell

  1. Open Windows Terminal (Admin). Select Windows PowerShell.
  2. Copy and paste the command below into PowerShell. Press Enter to see a list of all accounts and their status (True or False).
    PowerShell
    Get-LocalUser

Disable Account

  1. Type the command below into PowerShell. Press Enter.
    💻Code
    Disable-LocalUser -Name "<username>"

    Replace <username> with the actual account name. For example:


    💻Code
    Disable-LocalUser -Name "User1"

Windows PowerShell terminal showing Get-LocalUser command output
Windows PowerShell terminal showing Get-LocalUser command output

Enable Account

  1. Type the command below into PowerShell. Press Enter.
    💻Code
    Enable-LocalUser -Name "<username>"

    Replace <username> with the actual account name. For example:


    💻Code
    Enable-LocalUser -Name "User1"

  2. You can now close Windows Terminal (Admin) if you like.
PowerShell displaying net user command to disable Windows 11 account
PowerShell displaying net user command to disable Windows 11 account

Option Three

Enable or Disable Account in Local Users and Groups

You can easily disable or enable a user account in Windows 11 using the Local Users and Groups tool, which works great if you have Windows 11 Pro, Enterprise, or Education. Just open the tool, find the account you want to manage, and then double-click its name in the Users folder.

  1. Open Local Users and Groups (lusrmgr.msc).
  2. Click on the Users folder in the left pane. Double-click on the account name (for example: "User1") in the middle pane that you want to enable or disable.
  3. In the General tab, check the box next to Account is disabled to disable the account. Uncheck the box to enable it. Click OK.
  4. You can now close Local Users and Groups if you like.
Account enable or disable confirmation dialog in Windows 11
Account enable or disable confirmation dialog in Windows 11

Summary

You've learned three straightforward ways to disable an account in Windows 11: using the 'net user' command, PowerShell, or the Local Users and Groups tool.

How do you disable a user account in 🪟 Windows 11?

In the Users section, you'll see a list of all accounts on the system. To disable an account, right-click the account you want to disable and select Properties. In the General tab, check the box labeled Account is disabled. Click Apply and then OK.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to List User Profiles and Accounts in Windows 11
Windows How to List User Profiles and Accounts in Windows 11
How to Hide or Show Account Name and Profile Picture on Start Menu in Windows 11
Windows How to Hide or Show Account Name and Profile Picture on Start Menu in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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