UAC (User Access Control) prompts in Windows 10 can be annoying, especially when you often run a program that requires administrative permissions. Fortunately, there is a way to create a shortcut that does not ask you for UAC.
This trick works by setting a scheduled task to run the target application for you in administrator mode. You can then create a desktop shortcut that specifies the task to perform, which bypasses the UAC prompt the next time you click the shortcut.
RELATED: Automatically executing programs and setting reminders with Windows Task Scheduler
Although you can technically disable UAC prompts completely, that is an inherent bad idea because it opens the security of your computer for potential threats and malicious code.
Because Task Scheduler execution requires that you click through a UAC prompt that gives administrator privileges to set up a task, this trick is not really a vulnerability.
Create a scheduled task
Click Start to start the Task Scheduler. , type
Task Scheduler in the search bar and then select the Task Scheduler icon in the search results.
When Task Scheduler opens, click "Create Task" from the panel on the right side of the window.
Give the task a simple name – preferably without spaces – that is easy to remember and then check the box next to & # 39; Run with the highest privileges. ” You can even give it a short description if you want, but that is not necessary.
By default, if you are setting this task on a laptop, Task Scheduler will not perform the task unless your computer is connected to AC power. If you do not disable this option, the program will not start when you click on the shortcut and the program will not be queued until you connect the power supply.
Click the "Conditions" tab and remove the check mark from the check box next to "Only start the task if the computer is running on AC power."
Then switch to the "Actions" tab and then click the "New" button to create a new action for the task.
Now click "Browse" to search for the application you want to run when you start the job.
Locate the application that you want to start, and then click "Open" after selecting it in File Explorer.
Click "OK" to save the changes.
Click "OK" again to complete the job creation ation process.
After you have created the task, that is all you have to do for this part. If you want to make sure that the task runs as expected, select the "Task Scheduler Library", right-click the task in the list, and then click "Run" in the context menu.
Once all systems are ready, close Task Scheduler and note the name you used for the task.
Creating the shortcut to start the task  Now that you have completed the task that opens the application, it is time to create a shortcut that will run the task.
Right-click on an empty space on the desktop and then select New> Shortcut from the context menu.
In the window that appears, we must type the command that performs the scheduled task, replacing
schtasks / run / tn "
Click "Next" after entering the command.
Give the new shortcut a useful name and click "Finish" to create it.
Now, the desktop has a shortcut that performs the task that launches the application in administrator mode – without a UAC prompt – when you double-click it .
The pleasure does not end here. If you want to adjust it a little more, right click on the shortcut and then select "Properties" in the context menu.
Because the shortcut executes a command to start the job, command prompt opens for an instance, executes schtasks command, and then closes before opening the application. If you want, you can set it to be minimized when you open the shortcut so that the command prompt does not flash on the screen.
Click on the drop-down menu next to "Run" and choose "Minimized" from the list below.
Then click on "Change Icon" to personalize the shortcut icon.
If you receive this message, don't worry, just click "OK" to continue.
Now you can browse through the suggested icons or click on "Browse" and search for the application you open with the task. Select "Open" to see the icons.
Select the application icon and click "OK" to save the changes.
Select "OK" again to save all changes and return to the desktop.
Now you have a shortcut that looks nice – even looks like the application you are opening – and has no annoying UAC prompt to get in your way.
That's all. Repeat this process for all other applications that you regularly use to bypass the UAC prompts.