Вы находитесь на странице: 1из 2

Elevated Program Shortcut without UAC Prompt - Create - Windows 7 F... http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-...

Elevated Program Shortcut without UAC Prompt - Create

How to Create a Elevated Program Shortcut without a UAC


Prompt

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).
NOTE: Note the space after schtasks, run, and tn in the commands below.

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

1 de 2 14/08/2010 09:59 p.m.


Elevated Program Shortcut without UAC Prompt - Create - Windows 7 F... http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-...

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

2 de 2 14/08/2010 09:59 p.m.

Вам также может понравиться