How Do I Get Administrative Privileges Using Command Prompt?
Contents

How do I get administrative privileges in cmd?

In the Administrator: Command Prompt window, type net user and then press the Enter key. NOTE: You will see both the Administrator and Guest accounts listed. To activate the Administrator account, type the command net user administrator /active:yes and then press the Enter key.

How do I get administrative privileges in Windows 10 Command Prompt?

How to enable the Windows 10 Administrator account using the command prompt

  1. Open a command prompt as an administrator by typing cmd in the search field.
  2. From the results, right-click the entry for Command Prompt, and select Run as Administrator.
  3. At the command prompt, type net user administrator.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest