Windows Cool Tip – Launch Programs as Administrator without UAC Prompts

If you need to constantly open certain programs with the admin rights but are getting annoyed having to click Yes to pass the UAC prompt, here is a very cool tip that lets you get around it.

Let’s see how we can launch Command Prompt as Administrator without getting UAC prompt.

First, create a task in Task Scheduler

Open Task Scheduler and start to create a new task.

In General tab, give a name such as “CommandPrompt”, check option “Run with highest privileges“, and select Windows 8.1 for Configure for option.

Create Task - 2014-12-04 11_04_14

Switch to Actions tab, click New… button to add an action to the task. Select Start a program as an action, and select the executable file by browsing through the file system. In this case, it’s cmd.exe from c:\windows\system32 folder.

New Action - 2014-12-04 11_06_49

Move to the Settings tab, make sure the option Allow task to be run on demand is checked. Click OK.

Now, let’s test it out before moving to the next step. Right-click the task we just created in Task Scheduler’s main window, and choose Run. If it goes as planned, a Command Prompt window with admin rights opens up without UAC stepped in the way.

Task Scheduler - run a task

Next, create a shortcut to the new created task

Right-click blank space on desktop → New → Shortcut, type the following command in the box, go to Next, and give a name to the shortcut.

schtasks /run /tn "CommandPrompt"

Create Shortcut - 2014-12-04 11_30_27

Double-click the shortcut on your desktop and see if it all works out. Hooray!!!

Furthermore, if you want, you can change the icon to the shortcut to make it pretty, pin the shortcut to the taskbar, or even customize your own keyboard shortcut so you can launch it even easier. Right-click the shortcut, and go to Properties.

CMD as Administrator Properties - 2014-12-04 11_39_18

Isn’t it cool? Thanks to friends at 7Tutorials for this awesome tip.

Kent Chen

Microsoft MVP, IT Professional, Developer, Geek, and the co-founder of Next of Windows.

Last updated: 12/04/2014

Posted in: Tips & Tricks
Discover more: , , ,

Leave a Reply

Notify of
avatar
wpDiscuz
Today's Top Picks for Our Readers:
Recommended by Recommended by NetLine