Skip to main content


How To Always Run Command Prompt As Admin


The Command Prompt, Is a powerful utility that's native to the Windows platform and Is used to perform a variety of tasks, such as create files & folders, manipulate local user accounts, format disks and the list goes on. In order to carry out some tasks, It must be executed with elevated privileges, otherwise errors will be returned. In this tutorial, I will show you how to always run the command prompt shortcut as an administrator.


If you're anything like myself and heavily use the Command Prompt on a daily basis to query & execute critical tasks, you'd know that In most cases, It must be done with administrative privileges. Sure, you can simply right-click It and select Run as administrator, but when you're doing this for hours on end, Is does become a somewhat tedious task

To simplify this, I will demonstrate how to set the Command Prompt shortcut to always run as administrator. As such, you're ready to go with tasks that require elevated privileges. So without further delay, let's rip Into this tutorial.


Step One:
Firstly, here's how the standard Command Prompt operates. Open the Search bar, enter cmd and click Command Prompt at the top.



Step Two:
It will now run In the user profile directory, which Is Identified by C:\Users. This means that you will not be able to run commands, or access files that require admin privileges.



Step Three:
Let's set It to always run as administrator. Open the Search bar again and enter cmd. On the search result at the top, right-click It and select Open file location.



Step Four:
Next, right-click the shortcut, and hit Properties as arrowed below.



Step Five:
To the right of the window, simply click the Advanced button.



Step Six:
Now click the Run as administrator checkbox, then hit OK within that window and to finalize the process, hit OK again as shown below.



Step Seven:
Every time the shortcut Is accessed In Step Four above, It will run as administrator. Let's test It again, by opening the Search bar, entering cmd and clicking on the Command Prompt entry at the top.



Step Eight:
As you can see, the elevated Command Prompt has executed In the System32 directory. This means that you can now run tasks, programs or access files that require admin privileges.



Last Step:
To make things easier, copy & paste the shortcut to your computer's desktop as shown below. Every time It's double-clicked, It will open with admin rights In the System32 directory.



Final Thoughts:
As opposed to always right-clicking the Command Prompt and selecting the Run as administrator option each and every time, you can now simply do It with a click of the mouse, or should I say, a double-click of the mouse! It only takes a couple of minutes or so to apply this tutorial, so It's certainly worthy of It's purpose.



Comments

Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key, that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Create A Virtual Machine Using VMware

A virtual machine, often abbreviated as a VM, Is a software program containing an operating system that's Installed on the physical machine (PC), and operates In It's own Isolated environment. Every task performed In the VM, remains there, without affecting the main computer. Every user should have a virtual machine up and running, so In this tutorial, I will demonstrate a detailed guide on how to create & Install a virtual machine on your computer, namely VMware Workstation.

Check The Health Of Your Laptop's Battery

When you first purchase your laptop and fully charge the battery thereafter, It runs at It's optimal state for quite a while. However, over time, It Inevitably decreases In performance, and does not hold It's charge capacity as per It's brand new state. This Is due to wear & tear, and a few other factors. It's very Important to know the condition of your battery, so In this tutorial, I will show you how to view the current status and health of your laptop's battery.