If you often need to launch the command prompt as Administrator, you can save your time and create a special shortcut. In Windows 10, it is possible with two different methods. Let's see how it can be done.
The first method is quite old. It is known since Windows Vista. The idea is to modify the regular shortcut and enable "Run as administrator" in the shortcut's properties.
Method 1. Modify a regular shortcut
- Right click Desktop and select New - Shortcut from the context menu.
- Type cmd.exe in the Target box.
- Finish the New shortcut wizard. Right click the shortcut you created and select "Properties" in the context menu.
- On the Shortcut tab of the Properties window, click the Advanced button.
- Tick the checkbox "Run as Administrator" as shown below:
This can be annoying. The second method does not have this issue.
Method 2. Use Task Scheduler
To skip the UAC prompt and start cmd.exe elevated, you need to create a special task in the Windows Task Scheduler which allows executing apps with admin privileges. The Task Scheduler has a graphical MMC version (taskschd.msc) which we will use.
The step-by-step instructions are pretty long. Thankfully, I have covered it already here:
To save your time, you can use Winaero Tweaker. The feature called "Elevated Shortcut" does everything mentioned above and helps you to create elevated shortcuts quickly.
- Download and unpack the Winaero Tweaker app.
- Go to Tools \ Elevated Shortcut:
- Create a shortcut using its friendly user interface and you are done!
Also, there is another good thing about Winaero Tweaker. By default Task Scheduler run all tasks at Below Normal process priority. But Winaero's Elevated Shortcut fixes this by running the shortcut at Normal priority.