If you share your computer with multiple people, you usually have multiple user profiles on the computer. Each user has a separate profile that makes specific settings and apps available only to that user.
However, if you no longer use an account in Windows 11, there are some options. You can delete the user account, including the profile, or disable it. Disabling or blocking a user account has advantages over deleting the profile.
If you disable the account in Windows 11, the profile settings such as apps and personal settings will remain on the computer. Then if you need the account again in the future, the user account still exists on the computer, and you can use it again after enabling the account.
Suppose you altogether remove a computer user from Windows 11. In that case, they will lose their complete profile, including all settings, personal files such as documents, images, and apps. This article describes how to disable a user profile in Windows 11 in three different ways.
How to disable a user account profile in Windows 11
Disable user account using Computer management
Computer management let you control many settings in Windows 11. It can also be used to manage user accounts, for example, disable a user account.
Right-click the Start button, then click on Computer management in the menu. On the left click on “Local Users and Groups”, then click on “Users”.
Now you see all user accounts on the computer in a listed view. Double-click on the user account you wish to disable.
In the General tab, check “User account is disabled” to disable the user account. Uncheck this checkbox to enable the user account.
Turn off a user account using PowerShell
Windows PowerShell is an object-oriented automation engine and scripting language with an interactive command-line shell. Microsoft developed Powershell to help IT professionals configure computer systems and automate administrative tasks.
You can use it to turn off a user account and many more.
Right-click the Start button, in the menu, click on “Windows Powershell (admin)” or “Windows Terminal (admin)”.
Now we first need to identify the user account we are trying to turn off. To list all user accounts using PowerShell, you want to enter the following command.
Now you see a list of all user accounts, then you can use the following command to disable a specific user account.
Disable-LocalUser -Name "Username"
If you want to enable a user account using PowerShell, enter the following command.
Enable-LocalUser -Name "Username"
Block a user account using Command-prompt
In Windows operating systems, the command prompt is a program that mimics the input field in a text-based user interface with the Windows graphical user interface (GUI).
It can be used to execute entered commands and perform advanced management functions. It can also be used for troubleshooting and resolving specific Windows problems such as blocking a user account.
Click on the Search button in the Windows 11 taskbar. In the search field type: cmd.exe. Next, right-click on “Command prompt” and click on “Run as Administrator”.
First, you want to list all user accounts on the computer. You can do so by typing the following command in the command prompt window.
Next, you need to identify the user account name to block. If you found the user account name to block, type the following command to block the account.
net user "username" /active:no
If the command is completed successfully, the user account is now blocked.
I hope this information has helped you to disable, turn off or block a user account in Windows 11.
Thank you for reading!