Skip to main content

Disabling the default admin account in Windows 10/11

To disable the local administrator account in Windows, you can use either the Command Prompt or the Local Users and Groups manager. Here's how to do it using both methods:

Using Command Prompt
1.  Open Command Prompt as Administrator:
   - Right-click the Start button and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”.

2.  Disable the Administrator Account:
   - Type the following command and press Enter:

net user Administrator /active:no

   - This command disables the built-in Administrator account.

Using Local Users and Groups
1.  Open Local Users and Groups Manager:
   - Press `Win + R` to open the Run dialog.
   - Type `lusrmgr.msc` and press Enter.

2. Navigate to Users:
   - In the Local Users and Groups window, click on “Users” in the left panel.

3. Disable the Administrator Account:
   - Right-click the “Administrator” account in the center pane and select “Properties.”
   - Check the box “Account is disabled” in the Administrator Properties window.
   - Click “OK” or “Apply” to save the changes.

Both methods will effectively disable the local administrator account, enhancing the security of your Windows system.