How to Create an Administrator User Account Using Command Prompt

This is a fast instructional exercise on the best way to make another administrator user account on a Windows PC.



 Create Admin User Account

1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows Vista and later versions of Window operating systems type cmd.exe into Start Screen or Start Menu, right-click on Cmd.exe, and open it as an administrator.

2. Add a new user account on the local computer:

Code:
net user username password /ADD

For example to add a new user account with the username John and with password fadf24as

Code:
net user John fadf24as /ADD

21hyGTu.png

3. Add new user account to the Administrators group:

Code:
net localgroup administrators [username] /add

For example to add a new user account with the username John to the Administrators group.

Code:
net localgroup administrators John /add

888pP4W.png

You should now have a new Administrator User Account on your PC!
 

FriendlyHobo

New Member
Joined
Dec 23, 2020
Local time
9:23 AM
Posts
1
This is a fast instructional exercise on the best way to make another administrator user account on a Windows PC.

 Create Admin User Account

1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows Vista and later versions of Window operating systems type cmd.exe into Start Screen or Start Menu, right-click on Cmd.exe, and open it as an administrator.

2. Add a new user account on the local computer:

Code:
net user username password /ADD

For example to add a new user account with the username John and with password fadf24as

Code:
net user John fadf24as /ADD


3. Add new user account to the Administrators group:

Code:
net localgroup administrators [username] /add

For example to add a new user account with the username John to the Administrators group.

Code:
net localgroup administrators John /add


You should now have a new Administrator User Account on your PC!

Alternatively, you can enable the "Hidden Built-In Administrator Account" on Windows 7,8,10

Type: CMD into the "Start Menu" or the "Windows Search Bar",
Right-Click and Run as Administrator.

admin1.pngadmin2.png

IMPORTANT:
Once enabled, this account will be available on the login page WITHOUT a password,
if this posses a security issue for you, you can add a password in the command prompt
after enabling.
The built-in Administrator account has a lot more privileges than a regular administrator account,
privileges that can easily get you into trouble, such as no annoying UAC prompts.
I recommend only enabling the built-in Administrator account if you are semi comfortable with its commands

Type to enable:
net user administrator /active:yes

Type to add password (optional):
net user administrator *
You will get a password prompt, enter desired password and again when asked

Note:
We didn't need to /add an account or add to the Administrators Group,
We have simply activated a pre-existing built in account.

Hope this helps
FriendlyHobo
 

My Computer

System One

  • Operating System
    Windows 10

FreeBooter

Active Member
Member
VIP
Joined
Nov 6, 2020
Local time
2:23 AM
Posts
258
Location
Turkey
Thread starter
Windows 10 includes a built-in Administrator account that, by default, is hidden and disabled for security reasons. Sometimes, you need to perform a bit of troubleshooting or make changes to your account that requires administrator access. For these reasons, you can enable the Administrator account and then disable it when you're finished.
 

My Computer

System One

  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte Technology Co., Ltd.
    CPU
    QuadCore Intel Core i5-6600
    Motherboard
    Gigabyte GA-Z170M-D3H
    Memory
    Corsair Vengeance LPX CMK8GX4M1A2666C16
    Graphics Card(s)
    Sapphire Radeon R9 380
    Sound Card
    Realtek ALC892
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Hard Drives
    Sata SSD
    Internet Speed
    25Mbps
    Browser
    Firefox
    Antivirus
    Windows Defender

Try3

New Member
VIP
Joined
Oct 19, 2020
Local time
12:23 AM
Posts
8
The built-in Administrator account has a lot more privileges than a regular administrator account

That is incorrect. The Built-In Admin has no more privileges than any other Admin user account.
- It has UAC off by default but UAC can be turned off in any other Admin user account anyway.

Denis
 

My Computer

System One

  • Operating System
    Windows 10
    Internet Speed
    4G
    Browser
    IE, FF
    Other Info
    Windows 10 Home x64 Version 20H2 Build 19042.868

TairikuOkami

Brony
VIP
Joined
Nov 6, 2020
Local time
1:23 AM
Posts
38
Location
Trnava
The Built-In Admin has no more privileges than any other Admin user account.
I was under impression, that is has SYSTEM rights? :unsure:
 

My Computer

System One

  • Operating System
    Windows 10 Home Dev 21H1 x64
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 3600 with Noctua NH-U12S (07/2019)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1H5 (07/2019)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16 (07/2019)
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC (08/2019)
    Sound Card
    Creative Sound Blaster Z (11/2016)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/2019) 1920×[email protected] + FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/2019)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/2016)
    Case
    Lian Li PC-7NB + 3x Noctua NF-S12A [email protected] (11/2016)
    Keyboard
    Logitech K360 (10/2011)
    Mouse
    Logitech M705 (04/2010)
    Internet Speed
    300/30 Mbps via RouterOS (05/2021) + TCP Optimizer
    Browser
    Microsoft Edge
    Antivirus
    https://malwaretips.com/threads/tairikuokamis-configuration-2021.105897/
    Other Info
    Headphones: Sennheiser RS170 (09/2010) + ow.ly/g6QL303Wv7d

barman58

Moderator
Staff member
Joined
Mar 17, 2019
Local time
12:23 AM
Posts
34
Location
Newport, South Wales, UK
The way that I understand things is ...

one way that the "hidden" admin is different from a user created admin is that it sits above the TrustedInstaller User in the permissions tree, so can perform some additional operations in the system folders especially those related to applications
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro x64 20H2- 19042 - 630 [XP/Vista/Win7/Win8.1 in VM for testing]
    Computer type
    PC/Desktop
    Manufacturer/Model
    PC Specialist Ltd to my design
    CPU
    Intel® Core™ i7 Eight Core Processor i7-9700K (3.6GHz) OC 5.1Ghz 12MB Cache
    Motherboard
    Gigabyte Z390 AORUS Master: ATX, LG1151, USB 3.1, SATA 6GBs WIFI - RGB Ready
    Memory
    32GB Corsair VENGEANCE DDR4 2400MHz (4 x 8GB)
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1050 Ti - DVI, HDMI, DP
    Sound Card
    ASUS Xoner DG + SPDIF to 5.1 System + HDMI
    Monitor(s) Displays
    Samsung G276HL 27", (DVi) + Samsung 43" 4K HDR TV (HDMI)
    Hard Drives
    512GB ADATA SU800 M.2 2280 (560 MB/R, 520 MB/W) [System]
    Samsung 860 EVO 2.5" SSD, SATA 6Gb/s (upto 550MB/s R| 520MB/s W) [Fast Data]
    32GB INTEL® OPTANE MEMORY - USE WITH ...
    8TB SEAGATE BARRACUDA PRO 3.5", 7200 RPM 256MB CACHE
    PSU
    CORSAIR 750W TXm SERIES™ SEMI-MODULAR 80 PLUS® GOLD, ULTRA QUIET
    Case
    Corsair H55 Hydro Cooler w/ PCS Ultra Quiet Fans +3x120mm front +1x120mm Rear
    Cooling
    CORSAIR 750W TXm SERIES™ SEMI-MODULAR 80 PLUS® GOLD, ULTRA QUIET
    Keyboard
    Wireless Logitec MX Keys + K830 [Depending on where I'm Sat]
    Mouse
    Wireless Logitec - MX Master 3 + M570 Trackball
    Internet Speed
    72 MB Down 18.5 MB Up
    Browser
    Latest Chrome
    Antivirus
    BitDefender Total Security 2020
    Other Info
    Wacom Pro Medium Pen Pad
    Wacom Pro Small Pen Pad
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    Wacom ExpressKeys Remote
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet
    Samsung 10.2" tablet
    Sony Z3 Android Smartphone
    Samsung S9 Plus Smartphone
    Samsung Note S20 Smartphone
  • Operating System
    Windows 10 Pro x64 20H2- 19042 - 630
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 17 9700
    CPU
    i7 10750H
    Motherboard
    Stock
    Memory
    32 GB
    Graphics card(s)
    Stock Intel + GTX 1650 Ti
    Sound Card
    Stock 4 speaker
    Monitor(s) Displays
    Stock 17"
    Screen Resolution
    3840 x 2160 HDR touchscreen
    Hard Drives
    2TB SSD, + 1TB external SSD, 4TB external
    PSU
    Stock
    Case
    Stock Alluminium / Carbon Fibre
    Cooling
    Stock + 2 fan cooling pad
    Mouse
    Stock Trackpad
    Keyboard
    Stock Illuminated
    Internet Speed
    72 MB Down 18.5 MB Up
    Browser
    Latest Chrome
    Antivirus
    BitDefender Total Security 2020
    Other Info
    See System 1

Try3

New Member
VIP
Joined
Oct 19, 2020
Local time
12:23 AM
Posts
8
I was under impression, that is has SYSTEM rights? :unsure:
one way that the "hidden" admin is different from a user created admin is that it sits above the TrustedInstaller User in the permissions tree, so can perform some additional operations in the system folders especially those related to applications

Neither of those beliefs are correct.
You can demonstrate that for yourselves by attempting to alter a folder/Reg key for which only the System/TI has permission [without taking ownership].
When I did this for myself, I created a folder on a USB stick with restricted permissions. Then I was able to clean up quickly afterwards by reformatting the stick.

All the best,
Denis
 
Last edited:

My Computer

System One

  • Operating System
    Windows 10
    Internet Speed
    4G
    Browser
    IE, FF
    Other Info
    Windows 10 Home x64 Version 20H2 Build 19042.868
Top