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 Rename Any Power Plan In Windows 10

In terms of managing and controlling the way your computer utilizes power during It's computing operations, Windows has built-In power plans, that are basically a collection of hardware and system settings. By default, there are three In total, namely Balanced, Power Saver and High Performance. Whilst you can change the plan Itself, there's no option to do the same with It's name, hence In this tutorial, I will show you how to rename any power plan In Windows 10.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.