Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo
- - - - -

Create Elevated Shortcut to run a Program to Bypass UAC Prompt


  • Please log in to reply
No replies to this topic

#1 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:11:41 PM

Posted 19 June 2016 - 11:13 PM

Create Elevated Shortcut to run a Program to Bypass UAC Prompt

The User Account Control or UAC basically notifies you before changes are made to your PC not all changes, but only those which require Administrator level permissions. Whenever you run some programs, you will get to see the UAC Prompt first. Only after you give your consent, will the program run. This is a security feature that is best left at this default behavior. But you may have some programs that you run very frequently and which you trust completely. In such cases then the UAC Prompt could become an irritant.

YqkjcS6.png

While you should never disable the UAC prompts for the whole computer, you may want to bypass the UAC Prompt and disable it for certain applications.

 
Run Programs by Bypassing UAC Prompt
If you wish, you can also create elevated shortcut for the program, that will allow you to bypass UAC Prompt and run the program without seeing the UAC Prompt in Windows.
 
This is how you can do it:

1. Type taskschd.msc in Start Menu search box and hit Enter key to open the Task Scheduler.

2. Under Actions section, click on Create Task.

3. Under General tab, give the Task a name, say NoUAC1.

4. Place a check mark into Run with highest privileges check box.

VDJalvD.png

5. Under the Action tab, click on the New button and browse to the folder location of the program executable file and select it. The Action should be Start a program.

EiNiz1G.png

6. Under the Settings tab, ensure that Allow task to be run on demand is checked.

hg2WPCF.png

7. Once all this is done, click on OK. A new Task will be created and you will be able to see it.


 
 
Create Elevated Program Shortcut
Now you will have to create a shortcut that will run this task.
 
1. Right-click on the Desktop select New > Shortcut from context menu. In the the Create Shortcut wizard, type:
 

schtasks  /run  /TN   NoUAC1″
 
TO9ah2G.png
 
2. Here "NoUAC1" should be replaced with the name for the task that you have chosen.
 
3. Click on Next button give the shortcut a name and exit the wizard after it runs its course.
 
4. Now you can give shortcut an icon of your choice.
 
5. To do so, right-click on the shortcut > Properties > Change icon. Browse to and select the icon you want.
 
Now when you double click this shortcut, you will be able to bypass the UAC Prompt.

2GvnEq2.gif


BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users