1.Open the Start Menu, then type

taskschd.mscin the search line and press enter.

NOTE:

This will open Task Scheduler. This file is located at:C:\Windows\system32\taskschd.msc.

2.While having

Task Scheduler Libraryselected in the left pane, click on

Create taskin the far right pane. (see screenshot below)

www.sevenforums.comattachmentstutorials12957d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step1.jpgltre

3.Under the

Generaltab, 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 and 14 below..

www.sevenforums.comattachmentstutorials12958d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step2.jpgltre

4.Check the

Run with highest privilegesbox. (See screenshot below)

www.sevenforums.comattachmentstutorials12959d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step3.jpgltre

5.Click on the

Configure fordrop down box to open it, and select

Windows® 7, Windows Server™ 2008 R2. (see screenshot above and below)

NOTE:

This is like**__//compatibility mode//__**. If the program does not support running in Windows 7 normally, then you can select the OS that is does support running in instead to have it run in compatibility mode as if it was running in that OS instead of Windows 7.

www.sevenforums.comattachmentstutorials101973d1286131200t-elevated-program-shortcut-without-uac-prompt-create-drop_down_box.jpgltre

6.Click on the

Actionstab, then on the

Newbutton. (see screenshot below)

www.sevenforums.comattachmentstutorials12960d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step4.jpgltre

7.In the

Program/script:box in the Actions tab, copy and paste the path below. (see screenshot below step 9)

NOTE:

Thank you to**__//chillz//__**for the updated steps 7 and 8.

%windir%\System32\cmd.exe

8.In the

Add arguments (optional):box in the Actions tab, type in the argument below. (see screenshot below step 9)

NOTE:

Substitute Task Name in the argument below with the name you entered in step 3 (ex: CCleaner) within quotes, and substitute Full Path of Program in the argument below with the actual full path of the program's .exe file within quote.

/c start “Task Name” “Full Path of Program”
For example:
/c start “CCleaner” “C:\Program Files\CCleaner\CCleaner64.exe”

9.Click on

OK. (see screenshot below)

www.sevenforums.comattachmentstutorials222209d1342653455t-elevated-program-shortcut-without-uac-prompt-create-step7.jpgltre

10.Click on the

Conditionstab, and uncheck the

Stop if the computer switches to battery powerbox first, then uncheck the

Start the task only if the computer is on AC powerbox. (see screenshots below)

NOTE:

This step is mostly for laptops, so that you will be able to run the program when the laptop is running on battery power.

www.sevenforums.comattachmentstutorials222210d1342653455t-elevated-program-shortcut-without-uac-prompt-create-step8.jpgltrewww.sevenforums.comattachmentstutorials101990d1286134472t-elevated-program-shortcut-without-uac-prompt-create-conditions.jpgltre

11.Click on

OK. (See screenshots above)

12.You will now see your

new taskcreated with the name (ex: CCleaner) you gave it in

step 3. Close Task Scheduler. (see screenshot below)

www.sevenforums.comattachmentstutorials12965d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step9.jpgltre

13.Right click on a empty area of the desktop, then click on

Newand

Shortcut.

14.Type in the target below for the location field, then click on the

Nextbutton. (see screenshot below)

NOTE:

Subsitute task-name in the target with the name (ex: CCleaner) within quotes that you used in step 3.

schtasks /run /tn “task-name”

For example:CCleaner

schtasks /run /tn “CCleaner”
www.sevenforums.comattachmentstutorials12966d1244012349t-elevated-program-shortcut-without-uac-prompt-create-step10.jpgltre

15.Type in a name you want for the shortcut (ex: CCleaner), then click on the

Finishbutton. (see screenshot below)

www.sevenforums.comattachmentstutorials12968d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step11.jpgltre

16.Right click on the new shortcut (ex: CCleaner) on the desktop, then click on

Properties.

17.Click on the

Shortcuttab and on the

Change Iconbutton. (see screenshot below)

www.sevenforums.comattachmentstutorials12969d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step12.jpgltre

18.Click on

OK. (see screenshot below)

www.sevenforums.comattachmentstutorials12970d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step13.jpgltre

19.Click on the

Browsebutton. (see screenshot below)

www.sevenforums.comattachmentstutorials12971d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step14.jpgltre

20.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.

www.sevenforums.comattachmentstutorials12972d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step15.jpgltre

21.Select the icon you want for the shortcut, then click on

OK. (see screenshot below)

www.sevenforums.comattachmentstutorials12973d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step16.jpgltre

22.Click on

OK. (see screenshot below)

www.sevenforums.comattachmentstutorials12974d1244012390t-elevated-program-shortcut-without-uac-prompt-create-step17.jpgltre

23.You can now

**__run at startup as a task__**

,

**__Pin to Start Menu__**

,

**__Pin to Taskbar__**

,

**__assign a keyboard shortcut__**

to the shortcut, or move to where you like for easy use.

NoteIf you would like to stop the quick flashing CMD pop-upwhen using the shortcut, then you can do this below to do so.
  * Right click on the shortcut and click on **Properties**.
  * Click on the **Shortcut** tab.
  * Select **Minimized** in the drop down menu to the left of **Run**, and click **OK**.

24.When you run this new elevated shortcut, you will now no longer have to click on

YESto approve the

**__UAC__**

prompt to allow the program

**__run as administrator__**

.

See Also

You could leave a comment if you were logged in.