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.


Popular posts from this blog

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Open The Command Prompt In Any Directory

A very powerful tool native to the Windows platform, Is the Command Prompt that allows users to perform an array of tasks, such as renaming and deleting files & folders, formatting disks and the list goes on. Sometimes, you need to navigate to certain directories by executing commands, which can be a lengthy and somewhat frustrating process. As such, In this tutorial, I will show you how to easily open the Command Prompt In any directory/folder of your choice.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.