Create Administrator Mode Shortcuts Without UAC Prompts in Windows 10


Windows 10 hero image

User Access Control (UAC) prompts in Windows 10 can be annoying, especially when you often run a program that requires Administrator permissions. Thankfully, there’s a way to create a shortcut that doesn’t prompt you for UAC.

This trick works by setting up a scheduled task to run the target application in Administrator mode for you. You can then create a desktop shortcut that tells the task to run, which will bypass the UAC prompt the next time you click the shortcut.

RELATED: How to Automatically Run Programs and Set Reminders With the Windows Task Scheduler

While you can technically disable UAC prompts altogether, that’s an inherently bad idea as it opens up your computer’s security to potential threats and malicious code.

Because running Task Scheduler requires you to click through a UAC prompt that gives Administrator privileges to set up a task, this trick isn’t really a security loophole.

How to Create a Scheduled Task

To launch the Task Scheduler, click Start, type Task Scheduler into the search bar, and then select the Task Scheduler icon in the search results.

Run Task Scheduler.

When Task Scheduler opens, click on “Create Task” from the pane on the right side of the window.

Click "Create task" to create a new task.

Give the task a simple name—preferably without any spaces—that’s easy to remember and then tick the box next to “Run with Highest Privileges.” You can even give it a brief description if you want, but it isn’t necessary.

Give it a memorable name and tick the box next to "Run with highest privileges."

By default, if you’re setting up this task on a laptop, Task Scheduler won’t run the task unless your computer is connected to AC power. If you don’t disable this option, when you click on the shortcut, the task won’t initiate the program and stick in a “Queued” state until you plug in the AC power.

Click the “Conditions” tab and untick the box next to “Start the Task Only If the Computer Is on AC Power.”

Untick the box next to "Start the task only if the computer is on AC power."

Next, switch to the “Actions” tab and then click the “New” button to create a new action for the task.

Switch to the Actions tab and click "New" to create an action for the task.

Now, click “Browse” to search for the application to run when you start the task.

Click "Browse."

Locate the application you want to start and then click “Open” after selecting it in File Explorer.

Locate the application you want to run and click "Open."

Click “OK” to save the changes.

Click "OK."

Click “OK” one more time to finish the task creation process.

Click "OK" to save changes.

After you create the task, that’s all you need to do for this part. If you want to make sure the task runs as expected, select the “Task Scheduler Library,” right-click on the task in the list, and then click “Run” from the context menu.

Find the task, right-click on it, and click "Run" to test that it works.

Once all systems are go, close Task Scheduler, taking note of the name you used for the task.

How to Create the Shortcut to Start the Task

Now that you’ve successfully made the task that will open the application, it’s time to create a shortcut that will run the task.

Right-click an empty spot on the Desktop and then select New > Shortcut from the context menu.

Create a new Shortcut on the desktop.

In the window that appears, we need to type in the command that runs the scheduled task, replacing <taskName> with the task name we used from earlier. Be sure to keep the quotations around the name. It should look like this:

schtasks /run /tn "<taskName>"

Click “Next” after you enter the command.

Type in the following command, making sure to use the name of the task you created earlier.

Give the new shortcut a useful name and click “Finish” to create it.

Give the shortcut a name and click "Finish."

Now, the desktop has a shortcut icon that will run the task that launches the application in Administrator mode—without a UAC prompt—when you double-click on it.

Voila! A new shortcut that opens the application.

However, the fun doesn’t end here. If you want to tweak it a bit more, right-click the shortcut and then select “Properties” from the context menu.

Open the Properties menu to tweak the shortcut even further.

Because the shortcut runs a command to start the task, Command Prompt will open for an instance, run the schtasks command, and then close before the application opens. If you want, you can set it to minimize when you open the shortcut, so Command Prompt doesn’t flash on the screen.

Click the drop-down menu next to “Run” and choose “Minimized” from the list below.

Change the value next to "Run" to "Minimized" so that Command Prompt doesn't flash on the screen when run.

Next, click “Change Icon” to personalize the shortcut’s icon.

Next, change the icon.

If you receive this message, don’t worry, just click “OK” to continue.

Click "OK" if you receive this warning.

Now, you can either scroll through the suggested icons or click “Browse” and locate the application that you’re opening with the task. Select “Open” to see its icons.

Locate the application file and click "Open" to see a list of its icons.

Select the application’s icon and click “OK” to save the changes.

Choose an icon from the list and click "OK" when done.

Select “OK” one more time to save all changes and return to the desktop.

Click "OK" to save changes and close the Properties menu.

Now you have a shortcut that looks nice—even resembling the application you’re opening—and doesn’t have a pesky UAC prompt to get in your way.

Look at that beautiful icon. It resembles the regular application's icon exactly.

That’s all there is to it. Repeat this process for any other applications you regularly use to bypass the UAC prompts.





Source link