| |

Disabling and Enabling Windows 11 User Accounts

In Windows 10, you can disable the user while retaining the data and files of the user account without deleting the user, making the PC unusable. Also, if you return to enable, you can use the user in the previous state. This is a convenient function when the computer is temporarily unavailable. This page shows how to disable and enable user accounts.
To delete user data and files, and how to delete a user, see the page below.
What is disabling a user account?

Disabling does not delete user data such as passwords and files, so if you return to enabling, you can use the computer in the same state as before disabling. 

  • Disabling a user account will remove the disabled user from the “Family and other users” screen of Accounts in Settings. 
  • Disable user account does not display the disabled user name on the sign-in screen. 
  • If you deactivate a user account, that user will not be able to sign in to Windows 11 and will not be able to use the computer. 
  • Disabling is useful when you temporarily stop using your computer or when you don’t want to delete a user account even though you don’t use it.

Disabling and Enabling User Accounts

Disabling and activating user accounts is performed using the command prompt. Launch Command Prompt

  • After pressing the “Windows” key on your keyboard, press ” cmd “.
  • When the search screen appears, click “Run as administrator” in Command Prompt.

*This operation is the same as entering “cmd” in the search. 

From the Start menu
To start from the Start menu, click “All apps” and click “Windows Tools” in the list to open Explorer, right-click “Command Prompt” and select “Run as administrator” “Click. 

When the command prompt starts,
first check the user list. The user name of the Microsoft account is the first five characters of the ID name. Type net user and press Enter on your keyboard.
Here, the user account name ” mario ” is explained for disabling/enabling. 

Disabling User Accounts

Type net user username /active:no and
press Enter on your keyboard to disable the account.
Input commands on the diagram:

>net user mario /active:no

 Disabling is successful if the message “The command completed successfully.” is displayed.
If you get an error, check your input for mistakes and try again. 

Confirm User Account Deactivation

At the net user command prompt , type ” net user username ” to confirm disabling and press “Enter” on your keyboard. If “Account Enabled” is set to ” No “, it is disabled.

 Confirm disabling in Windows settings
Open “Accounts” in “Settings”.
If you don’t see the deactivated username in Family & other users, it’s deactivated. .
 Cannot sign in Disabled
users cannot use the PC because they are not displayed on the sign-in screen.

User account activation

Type net user username /active:yes and
press Enter on your keyboard to activate the account.

Input commands on the diagram:

>net user mario /active:yes

 Activation is successful if the message “The command completed successfully.” is displayed.
If you get an error, check your input for mistakes and try again. 

User Account Activation Confirmation

At the command prompt , type
” net user username ” to confirm the disablement and press “Enter” on your keyboard.
If “Account Enabled” is set to ” Yes “, it is enabled.
 Confirm disabling in Windows settings
Open “Accounts” in “Windows Settings”.
If you can see your activated username in “Family & other users”, it’s activated.
 Sign-in
If you enable it, your user name will be displayed on the sign-in screen, so you can sign in and use the PC.

Similar Posts

Leave a Reply

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