Now in Windows 10, you have two options: to stop the user from accessing the account, either you could block the user account or disable his/her account. The only thing to note down here is that you must be signed in to your administrator account to follow this tutorial. So without wasting any time, let’s see how to Enable or Disable User Accounts in Windows 10 with the help of the below-listed guide.
Enable or Disable User Accounts in Windows 10
Make sure to create a restore point just in case something goes wrong.
Enable or Disable User Accounts in Windows 10 Method 1: Enable or Disable User Accounts using Command Prompt Method 2: Enable or Disable User Account using Group Policy Editor Method 3: Enable or Disable User Account using Registry Method 4: Enable or Disable User Account using PowerShell
Method 1: Enable or Disable User Accounts using Command Prompt
Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.
To Disable a User Account in Windows 10 type the following command into cmd and hit Enter: Net user User_Name /active:no
Note: Replace User_Name with the account username you want to disable. 3. To Enable a User Account in Windows 10 type the following command into cmd and hit Enter: Net user User_Name /active:yes Note: Replace User_Name with the account username you want to enable.
- Reboot your PC to save changes.
Method 2: Enable or Disable User Account using Group Policy Editor
Press Windows Key + R then type gpedit.msc and hit Enter.
Expand Local Users and Groups (Local) then select Users.
Now in the right window, pane double-click on the name of the user account you want to disable.
Next, in the Properties window checkmark “Account is disabled” to disable the user account.
Click Apply, followed by OK.
If you need to enable the user account in the future, go to the Properties window and uncheck “Account is disabled” then click Apply followed by OK.
Restart your PC to save changes.
Method 3: Enable or Disable User Account using Registry
Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
Navigate to the following registry key:
Right-click on UserList then selects New > DWORD (32-bit) Value.
Type the name of the user account you want to disable for the name of the above DWORD and hit Enter.
To enable the user account to right-click on the above-created DWORD and select Delete.
Click Yes, to confirm and close the registry.
7.Reboot your PC to save changes.
Method 4: Enable or Disable User Account using PowerShell
Press Windows Key + Q to bring up Search, type PowerShell then right-click on PowerShell and select Run as Administrator.
To Disable a User Account in Windows 10 type the following command into PowerShell and hit Enter: Disable-LocalUser -Name “User_Name” Note: Replace User_Name with the account username you want to disable.
To Enable a User Account in Windows 10 type the following command into PowerShell and hit Enter: Enable-LocalUser -Name “User_Name” Note: Replace User_Name with the account username you want to enable.
Reboot your PC to save changes. Recommended:
Enable or Disable Underline Access Key Shortcuts in Windows 10 Change Color of Start Menu, Taskbar, Action Center, and Title bar in Windows 10 Automatically Log in to User Account in Windows 10 Change Maximum and Minimum Password Age in Windows 10
That’s it you have successfully learned How to Enable or Disable User Accounts in Windows 10 but if you still have any queries regarding this article then feel free to ask them in the comment’s section.