If you need to restrict access to a user temporarily, Windows 11 includes multiple ways to disable an account using Command Prompt, PowerShell, and Computer Management. You can also use the Settings app, but you can only disable members created using the Family settings. This guide will teach you the different ways to disable an account on Windows 11.

Disable user account on Windows 11 from Command Prompt Disable user account on Windows 11 from PowerShell Disable user account on Windows 11 from Computer Management Disable user account on Windows 11 from Settings

Disable user account on Windows 11 from Command Prompt

To disable a user account from Command Prompt on Windows 11, use these steps: Once you complete the steps, the account will be disabled, and the user won’t be able to sign in.

In the command, replace “ACCOUNT” with the account’s name to disable. This net user “Local Demo” /active:no example disables the “Local Demo” account. If you have to re-enable the account, then run the net user “ACCOUNT” /active:yes command

Disable user account on Windows 11 from PowerShell

To disable an account through PowerShell, use these steps: After you complete the steps, the PowerShell command will disable the account.

In the command, replace “ACCOUNT” with the account’s name to disable. This Disable-LocalUser -Name “Local Demo” example disables the “Local Demo” account. If you have to re-enable the account, then run the Enable-LocalUser -Name “ACCOUNT” command

Disable user account on Windows 11 from Computer Management

To disable an account with Computer Management, use these steps: Once you complete the steps, the user will no longer have access to the account until you clear the “Account is disabled” option.

Disable user account on Windows 11 from Settings

To disable a Family member account on Windows 11, use these steps: After you complete the steps, the users won’t be able to sign in until a family organizer restore access to the account.

		      All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.