Create an Administrative shortcut to avoid annoying UAC prompts in Windows - PC SEEKERS

Create an Administrative shortcut to avoid annoying UAC prompts in Windows



The most annoying thing with Windows is that when an app requires administrative access to run, every time you run the application you are prompted with UAC (User Account Control) to provide administrative access. It is particularly irritating when you often need to run a particular tool / application which requires administrative privileges. But there is a simple thing we can do to bypass this UAC prompt.

Read: Why You Should Not Disable User Account Control (UAC) In Windows

Note: This method is applicable for versions starting from Windows Vista and above.

We just have to create a scheduled task shortcut with administrative privileges. It is not so difficult to do as it seems.

Note: Because we have to create a Scheduled Task in Windows to bypass UAC prompt you cannot say it is a security loophole.

Let's get started! (Scroll to the end of the post to watch the video tutorial instead.)

Step 1: Create a Scheduled Task.

Just type in 'Task' in the start menu search bar.


Select 'Task Scheduler' from the result list to open the following Window.



In the left panel select 'Task Scheduler Library', then in the right panel click on 'Create Task' to open the following Window.



Now give a small and simple name to the task, make sure the name is one that won't be easily forgotten. This name is very important and check 'Run with highest privileges' box.




Now go to the 'Actions' Tab, then click on 'New'.



Now browse to the application you want to start with administrative access. Now close out of all the dialog boxes by clicking on 'Ok'. 



This should add your task to the list. To check this, go to 'Task scheduler library' then in the middle panel you can scroll down to find your task. You can also run the application by right clicking on the task and selecting 'Run' from the list.



If you remember the name of the task you created you can close out of the 'Task Scheduler'.

(Follow our blogs by clicking on the Follow button, in the side panel for PC browsers or scroll down to find the follow button on smartphone browsers.)

Step 2: Create  a shortcut to start the task.

Right click anywhere in the open space of the desktop or any file explorer window and select New-->Shortcut from the list.



Now we need to add a small command to pass the scheduled task. The name of the task inside the quotes (" ") can be changed according to the name of the task.

schtasks /run /tn "TASKNAMEINQUOTES"
The task name is not case sensitive.



Then click 'Next'. Now give a name to the shortcut and then click 'Finish'.




You can add icon to your shortcut. Just right click on the shortcut and select 'Properties' to open the following window.




In the 'Shortcut' Tab select 'Change icon'. Now browse to the location of the application file that you are trying to run. Select the icon from the icon packs of the application  then click on Open-->Ok-->Apply-->Ok.


Note: We only recommend this method to be used for trusted tools and applications. Untrusted tools and applications can misuse this access.

No comments:

Post a Comment

•Comments should be written in English.
•Spam and promotional links are not allowed in comments and will be deleted.
•Outgoing links to relevant articles are allowed in the comments, but the comment should also be relevant to the article.
•Comments containing abusive or offensive language or content will be deleted. This includes abusive, offensive, attacking, threatening, vulgar and/or misleading content or language.
•Comments that attack or harass any individual will be deleted.
•PC Seekers Moderators have the right to edit or delete any comment submitted to the site without any prior notice.
•If you have any queries about the commenting policy, do let us know through the Contact Us page.