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

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.

Force Windows 10 To Boot To Advanced Startup

In the event your operating system corrupts and losses functionality to some degree, Windows 10 has the Advanced Startup Options menu, that contains a range of diagnostic and repair utilities to help restore the OS back to It's functional state. You can perform a System Restore, Reset your PC, execute commands via the Command Prompt and more. To have It readily available, In this tutorial, I will show you how to force Windows 10 to always boot to the Advanced Startup settings.


How To Troubleshoot Your PC's Power Settings

Upon purchasing your computer with the Windows OS Installed, by default, It's power plan setting Is set to Balanced. Depending on the manufacturer, the hibernate and sleep modes are also configured to turn off at certain Intervals. You can also create a plan of your own, based on your computing usability. Power plan settings can corrupt at the best of times, hence In this tutorial, I will show you how to troubleshoot your PC's power settings natively within Windows.