 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - Elevated Program Shortcut without UAC Prompt - Create Elevated Program Shortcut without UAC Prompt - Create How to Create a Elevated Program Shortcut without a UAC Prompt
Published by Brink
06-03-2009
| Elevated Program Shortcut without UAC Prompt - Create How to Create a Elevated Program Shortcut without a UAC Prompt Information | | This will show you how to create a elevated "Run as administrator" shortcut of any installed program in Windows using Task Schedular so that it will not give you a UAC prompt for permission when you start it while still having UAC turned on.
In the tutorial, you will first create a new task, then a new shortcut to run the task. Afterwards, how to change the icon of the shortcut. | | Note | | Special thanks to OEM for pointing this out. | | Warning | | This shortcut and task can only be created in a administrator account. | | RELATED LINKS: . Here's How:1. Open the Start Menu, then type taskschd.msc in the search line and press enter. NOTE: This will open Task Scheduler. This file is located at: C:\Windows\system32\taskschd.msc. 2. In the far right pane, click on Create task. (See screenshot below) 3. Under the General tab, type in the "Name" of the program you want to create this shortcut for. (See screenshot below) NOTE: This will be the name of the task. As an example, I will use CCleaner for that program. Make note of this name, you will need it later in step 12 below. 4. Check the Run with highest privileges box. (See screenshot below) 5. Click on the Actions tab, then on the New button. (See screenshot below) 6. Under "Action", select Start a program and click on the Browse button. (See screenshot below) 7. Navigate to the .exe file of the program that you want to create this shortcut for, then select it and click on Open. (See screenshot below) 8. Click on OK. (See screenshot below) 9. Click on OK. (See screenshot below) 10. You will now see your new task created with the name (ex: CCleaner) you gave it in step 3. Close Task Schedular. (See screenshot below) 11. Right click on a empty area of the desktop, then click on New and Shortcut. 12. Type in schtasks /run /tn task-name for the location, then click on the Next button. (See screenshot below tip) Tip | | Subsitute task-name with the name that you used in step 3 and see in step 10 (ex: CCleaner). For a Name without Spaces - For example, type: schtasks /run /tn CCleaner For a Name with Spaces - You will need to have quotes around the name if it has spaces. For example, type: schtasks /run /tn "Cleaner Program" | |  13. Type in a name you want for the shortcut (ex: CCleaner), then click on the Finish button. (See screenshot below) 14. Right click on the new shortcut (ex: CCleaner) on the desktop, then click on Properties. 15. Click on the Shortcut tab and on the Change Icon button. (See screenshot below) 16. Click on OK. (See screenshot below) 17. Click on the Browse button. (See screenshot below) 18. Navigate to the .exe file of the program that you have created this shortcut with, then select it and click on Open. (See screenshot below) NOTE: If you have a icon of your own that you would prefer to use instead, then navigate to where you have that icon saved at instead. 19. Select the icon you want for the shortcut, then click on OK. (See screenshot below) 20. Click on OK. (See screenshot below) 21. Move the shortcut to where you like for easy use. 22. When you run this new elevated shortcut, you will now no longer have to click on YES to approve the UAC prompt to allow the program run as administrator. Tip | | To Undo This:- Right click on the task in step 10, then click on Delete and Yes to approve.
- Delete shortcut.
| | That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 10,973 | |
 Tutorial Tools | | | | | | | | | |
06-04-2009
|
#1 | | Windows 7 RC1 (B7100) / Vista Home Premium SP2 / XP MCE2005 SP3 Pennsylvania Dutch Country |
As always, very well done Shawn, tutorial is easy to read and understand.
This makes working with programs requiring a uac prompt that you trust a pleasure to run again, while keeping the security offered by the uac on and intact.
Note: Also works on Vista.
Thanks Shawn for this and All your contributions here on the greatest forum for Windows Windows 7. | My System Specs | | System Manufacturer/Model Number Dell Inspiron E1505 OS Windows 7 RC1 (B7100) / Vista Home Premium SP2 / XP MCE2005 SP3 CPU 1.83 Core 2 Duo (T5600) Motherboard Good Question ...Unknown Memory 2 gigs Kingston 800 mhz Graphics Card ATI Mobility Radeon X1400 Sound Card OB (SigmaTel C-major audio) Monitor(s) Displays 15.4 Screen Resolution 1680x1050 (DPI set@125%) Keyboard OB Mouse Synaptics Touchpad PSU OEM 65watt Case N/A Cooling OB Hard Drives SATA II 320gig WD Scorpio Black 7200 RPM, 16mb cache Internet Speed 6mbps Other Info She's getting well used now with 3 OS's ! |
06-04-2009
|
#2 | | Windows 7 Ultimate x64 Retail Texas |
You're welcome OEM.
Thank you,
Shawn | My System Specs | | OS Windows 7 Ultimate x64 Retail CPU Core2 Quad Q9450 2.66GHz 12MB Motherboard Gigabyte X48-DQ6 Memory 8 GB (4x2) DDR2 PC2-8500 1066 MHz Patriot Extreme Graphics Card BFG GeForce 9600 GT OC 512MB Sound Card Realtek HD Audio ALC889A Integrated Chip Monitor(s) Displays 28" Hanns-G HG281DJB and 17" eMachines E17T4 Screen Resolution 28" 1920x1200 and 17" 1280x1024 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Tagan El-Diablo Full Tower w/ 250 mm Front & 120 mm Rear fan Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 2 x 750GB (RAID 0) Samsung HDD HD753LJ SATA 32MB Internet Speed 10.58 Mb/s Download and 1.12 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Samsung CLX-3175FW Printer
** D-Link DIR-855 Router
** Motorola SB6120 Cable Modem
** ASRock ION 330 server |
06-08-2009
|
#3 | | Windows 7 Ultimate x86 build 7100 Planet-Earth |
It doesn't works for me! I tryed everything but it was worthless.
Im running windows 7 RC. | My System Specs | | OS Windows 7 Ultimate x86 build 7100 CPU CPU INTEL Core i7 920 BOX, s. 1366, 2.66GHz, 8MB c., FSB 133 Motherboard MBO ASUS RAMPAGE II EXTREME, Intel X58/ICH10R, DDR3, zvuk, 2 Memory RAM PC-10600, 6 GB, CORSAIR TR3X6G1333C9, DDR3 1333MHz, KIT Graphics Card VGA PCI-E XFX GeForce GTX 295, 1792 MB DDR3, DualDVI, HDMI, Hard Drives HDD 750.0 GB WESTERN DIGITAL, Caviar Green7500AACS, SATA, 16MB cache, 7200 |
06-08-2009
|
#4 | | Windows 7 Ultimate x64 Retail Texas |
Hello Axematic,
What program are you trying this with, and did you select the correct .exe file? | My System Specs | | OS Windows 7 Ultimate x64 Retail CPU Core2 Quad Q9450 2.66GHz 12MB Motherboard Gigabyte X48-DQ6 Memory 8 GB (4x2) DDR2 PC2-8500 1066 MHz Patriot Extreme Graphics Card BFG GeForce 9600 GT OC 512MB Sound Card Realtek HD Audio ALC889A Integrated Chip Monitor(s) Displays 28" Hanns-G HG281DJB and 17" eMachines E17T4 Screen Resolution 28" 1920x1200 and 17" 1280x1024 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Tagan El-Diablo Full Tower w/ 250 mm Front & 120 mm Rear fan Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 2 x 750GB (RAID 0) Samsung HDD HD753LJ SATA 32MB Internet Speed 10.58 Mb/s Download and 1.12 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Samsung CLX-3175FW Printer
** D-Link DIR-855 Router
** Motorola SB6120 Cable Modem
** ASRock ION 330 server |
06-08-2009
|
#5 | | Windows 7 Ultimate x86 build 7100 Planet-Earth |
Hello Brink!
Im trying this for CCleaner. I browsed to .exe file and added a task to task scheduler. Even i am able to start it directly from scheduler(right click and run) but shortcut on my desktop doesn't starts a CCleaner. Maybe im doing something wrong?
I used this as shortcut target: schtasks /run /tn CCleaner | My System Specs | | OS Windows 7 Ultimate x86 build 7100 CPU CPU INTEL Core i7 920 BOX, s. 1366, 2.66GHz, 8MB c., FSB 133 Motherboard MBO ASUS RAMPAGE II EXTREME, Intel X58/ICH10R, DDR3, zvuk, 2 Memory RAM PC-10600, 6 GB, CORSAIR TR3X6G1333C9, DDR3 1333MHz, KIT Graphics Card VGA PCI-E XFX GeForce GTX 295, 1792 MB DDR3, DualDVI, HDMI, Hard Drives HDD 750.0 GB WESTERN DIGITAL, Caviar Green7500AACS, SATA, 16MB cache, 7200 |
06-08-2009
|
#6 | | Windows 7 Ultimate x64 Retail Texas |
Are you doing this in an administrator account?
You might delete this to undo it, then start over. Double check through each step carefully. You may have just made a simple mistake somewhere.
Please let us know how it went.
Last edited by Brink; 06-08-2009 at 08:45 AM..
| My System Specs | | OS Windows 7 Ultimate x64 Retail CPU Core2 Quad Q9450 2.66GHz 12MB Motherboard Gigabyte X48-DQ6 Memory 8 GB (4x2) DDR2 PC2-8500 1066 MHz Patriot Extreme Graphics Card BFG GeForce 9600 GT OC 512MB Sound Card Realtek HD Audio ALC889A Integrated Chip Monitor(s) Displays 28" Hanns-G HG281DJB and 17" eMachines E17T4 Screen Resolution 28" 1920x1200 and 17" 1280x1024 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Tagan El-Diablo Full Tower w/ 250 mm Front & 120 mm Rear fan Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 2 x 750GB (RAID 0) Samsung HDD HD753LJ SATA 32MB Internet Speed 10.58 Mb/s Download and 1.12 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Samsung CLX-3175FW Printer
** D-Link DIR-855 Router
** Motorola SB6120 Cable Modem
** ASRock ION 330 server |
06-09-2009
|
#7 | | Windows 7 Ultimate x64 Retail Texas |
Hello Axematic,
I'm just checking in to see if you were able to get to work for you. | My System Specs | | OS Windows 7 Ultimate x64 Retail CPU Core2 Quad Q9450 2.66GHz 12MB Motherboard Gigabyte X48-DQ6 Memory 8 GB (4x2) DDR2 PC2-8500 1066 MHz Patriot Extreme Graphics Card BFG GeForce 9600 GT OC 512MB Sound Card Realtek HD Audio ALC889A Integrated Chip Monitor(s) Displays 28" Hanns-G HG281DJB and 17" eMachines E17T4 Screen Resolution 28" 1920x1200 and 17" 1280x1024 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Tagan El-Diablo Full Tower w/ 250 mm Front & 120 mm Rear fan Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 2 x 750GB (RAID 0) Samsung HDD HD753LJ SATA 32MB Internet Speed 10.58 Mb/s Download and 1.12 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Samsung CLX-3175FW Printer
** D-Link DIR-855 Router
** Motorola SB6120 Cable Modem
** ASRock ION 330 server |
06-09-2009
|
#8 | | Windows 7 Ultimate x86 build 7100 Planet-Earth |
Success Brink!!!
It works perfectly now! But i didn't find my mistake. I tryed all steps again 100% the same as above, and it worked. Cmd pop-ups and scheduled program runs.
And yes, im doing this as administrator!
And finally thanks!  i hate UAC sometimes, but i dnt want to turn it off!
Sorry if my english was bad, it's foreign language for me. | My System Specs | | OS Windows 7 Ultimate x86 build 7100 CPU CPU INTEL Core i7 920 BOX, s. 1366, 2.66GHz, 8MB c., FSB 133 Motherboard MBO ASUS RAMPAGE II EXTREME, Intel X58/ICH10R, DDR3, zvuk, 2 Memory RAM PC-10600, 6 GB, CORSAIR TR3X6G1333C9, DDR3 1333MHz, KIT Graphics Card VGA PCI-E XFX GeForce GTX 295, 1792 MB DDR3, DualDVI, HDMI, Hard Drives HDD 750.0 GB WESTERN DIGITAL, Caviar Green7500AACS, SATA, 16MB cache, 7200 |
06-09-2009
|
#9 | | Windows 7 Ultimate x64 Retail Texas |
Axematic, I'm happy to hear that you got it working. Thank you for posting back. | My System Specs | | OS Windows 7 Ultimate x64 Retail CPU Core2 Quad Q9450 2.66GHz 12MB Motherboard Gigabyte X48-DQ6 Memory 8 GB (4x2) DDR2 PC2-8500 1066 MHz Patriot Extreme Graphics Card BFG GeForce 9600 GT OC 512MB Sound Card Realtek HD Audio ALC889A Integrated Chip Monitor(s) Displays 28" Hanns-G HG281DJB and 17" eMachines E17T4 Screen Resolution 28" 1920x1200 and 17" 1280x1024 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Tagan El-Diablo Full Tower w/ 250 mm Front & 120 mm Rear fan Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 2 x 750GB (RAID 0) Samsung HDD HD753LJ SATA 32MB Internet Speed 10.58 Mb/s Download and 1.12 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Samsung CLX-3175FW Printer
** D-Link DIR-855 Router
** Motorola SB6120 Cable Modem
** ASRock ION 330 server All times are GMT -5. The time now is 11:06 AM. |  |