How to Disable Administrator Account in Windows?

An administrator account allows you to make changes and check the activities of other users. An administrator account can

  • Change user accounts
  • Modify security settings
  • Install software and hardware applications.

You can disable the hidden administrator account if you are the only user of your system.
There are many methods which can be used to disable the administrator account:

Method 1: By command prompt

Follow the steps given below to disable the administrator account with the use of Window’s command prompt:

Step 1: Go to start and open command prompt(by typing cmd)
Step 2: Right click on the command prompt and run as administrator.

Run-as-administrator



Step 3: Type the following command and press Enter:

net user administrator /active:no

You have successfully disabled the administrator account.

Method 2: From admin

Step 1: Bring up Windows Run dialog box by holding up the windows button and pressing ‘R’ button( + R).
Step 2: Type “lusrmgr.msc“, then press “Enter“.

Step 3: Select users and then click on administrator

Step 4: Uncheck or check “Account is disabled” as desired. Select OK.

Method 3: From registry

Step 1: Bring up Windows Run dialog box by holding up the windows button on and pressing ‘R’ button( + R)..
Step 2:Type “regedit“, then press “Enter“.
Step 3: Allow it by clicking on ‘Yes’.
regedit-dialogue-box

Step 3: Go to HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/WindowsNT/ CurrentVersion /Winlogon/UserDefaults/New /Dword(32 bit ) value right-click on “UserDefault” and select “New” > “DWORD Value“.

Step 4: Give the value a name of “Administrator“. Press the “Enter” key when you are done.
Step 5: Close the Registry Editor and restart the computer.

A DWORD is a 32-bit unsigned integer. A dword short for “double word, ” is a data type definition that is specific to Microsoft Windows.

You have successfully disabled the administrator account.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

1


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.