On Windows 11, you can set up separate accounts for yourself and other people. This allows you to create separate locations for your personal and professional tasks and also lets other people use your computer from a seperate personal space.
However, a need may eventually arise to prevent someone from accessing their user account without having to delete it totally. There is a block sign-in option on Windows 11 that should allow you to temporarily disable a user account on Windows 11, but you may sometimes need more than that.
We’ve therefore created this guide to show you several ways to disable a user account on Windows 11. Feel free to try any of our recommended options to get it done easily.
How to Disable a User Account on Windows 11 With Windows Powershell
PowerShell can is a quick option to enable or disable a user account on Windows 11 if you need to do so regularly. You can accomplish this by using the Disable-LocalUser cmdlet and providing the name of the user account you wish to disable.
Using PowerShell, you can disable a user account on Windows 11 as follows:
● To access the WinX menu, press Win + X.
● Select Terminal (Admin). PowerShell will be launched in Windows Terminal as the default profile.
● If not, choose Windows PowerShell by clicking the drop-down arrow in the Terminal tabs area.
● Next, use the command below to list every user account on your computer: “Get-LocalUser”
● Look in the Name column for the user account name.
● To disable the given user account, type the following command next: “Disable-LocalUser -Name “NewUser“
● Replace “NewUser” in the command above with the name of the user account you want to disable.
Note that after you use Power Shell to disable a user account on Windows 11, PowerShell won’t produce a success message. To verify if the user account is disabled, check to see if the user account appears on the lower left side of your screen by clicking Win + L and double-clicking the resulting lock screen to view the login page.
How to Disable a User Account on Windows 11 Using Command Prompt
The Command Prompt is another option to disable a user account on Windows 11. You can disable Microsoft or local user accounts using this command-line tool.
To disable a user account on Windows 11 through Command Prompt, use these steps:
● Open Run by pressing Win + R.
● In the Run box, type cmd. The elevated Command Promptwill appear when you press OK while holding down Ctrl and Shift. When asked by User Account Control, select Yes.
● To find all the available user accounts on your PC, enter the following command in the Command Prompt window: “net user”
● Look in the return list for the user account name.
● To disable the given user account, type the following command next: “net user NewUser /active:no”
● Replace “NewUser” with the name of the user account you want to disable in the command mentioned above.
How to Disable a User Account on Windows 11 Using Computer Management
Using the helpful program Computer Management, you can access utilities like Event Viewer, Task Scheduler, Device Manager, and others from a single settings location. You can also use it to enable or disable a user account on Windows 11 in the Local Users and Groups section.
It should be noted that only computers running Windows 11 Pro, Education, and Enterprise editions can access the Local Usersand Groups features. You’ll need to use one of the other techniques described above if you’re running Windows 11 Home.
To disable a user account on Windows 11 with Computer Management, use these steps:
● In the Taskbar, click the Search icon.
● To launch the app, search for “computer management,” then click the top result.
● Explore the following route next: Computer Management > System Tools > Local Users and Groups > Users
● Select the Properties option from the context menu when you right-click the User account Name.
● Next, select the General tab.
● Select “Account is disabled”,” afterward click Apply and Ok.
Now, until manually activated again, the selected user account will be disabled.
How to Disable a User Account on Windows 11 with the Settings App.
Windows is gradually replacing the Control Panel with the Settings app. You can create and manage each user account using the Settings app. Additionally, it now provides incredibly centralized control over the operating system and its configurations.
In the Settings app, follow these instructions to disable a user account on Windows 11 momentarily:
● Click on Settings.
● Next, select Accounts.
● Navigate to the Family page.
● Choose the account under “Your family” and press theBlock sign-in button.
Note: Only user accounts that have been added to the Familygroup can be disabled from the Settings app. In the family groups in Settings, you can only prevent sign-in for Your familymembers.
By employing this technique, you typically won’t be able to disable a local or Microsoft account. The previously described PowerShell and Command Prompt techniques must be used if you want to disable a local user account.
Don’t miss our mobile phone reviews.
Join our WhatsApp Group, to be notified of the most important articles and deals,
Follow us on Instagram, Facebook, Twitter, and YouTube.