Sie sind auf Seite 1von 14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums
JoinForum|Login

|Today'sPosts|Tutorials|Windows10Forum|Windows8Forum

WelcometoWindows7Forums.OurforumisdedicatedtohelpingyoufindsupportandsolutionsforanyproblemsregardingyourWindows7PCbeitDell,
HP,Acer,Asusoracustombuild.WealsoprovideanextensiveWindows7tutorialsectionthatcoversawiderangeoftipsandtricks.
Windows7HelpForums Windows7helpandsupport Tutorials

Windows7:ElevatedProgramShortcutwithoutUACPromptCreate
RecommendedFix:DownloadHere

Page1of47 1 2 3 11 > Last

ElevatedProgramShortcutwithoutUACPromptCreate
HowtoCreateanElevatedProgramShortcutwithoutaUACPromptinWindows
PublishedbyBrink
03Jun2009

HowtoCreateanElevatedProgramShortcutwithoutaUACPromptin
Windows

Publishedby

Information
This will show you how to create an elevated "Run as administrator" shortcut of any installed program
usingTaskSchedulersothatitwillnotgiveyouaUACpromptforpermissionwhenyoustartitwhilestill
havingUACturnedoninVista,Windows7,andWindows8.

Brink

In the tutorial, you will first create a new task, then a new shortcut to run the task. Afterwards, how to
changetheiconoftheshortcut.

Note
SpecialthankstoOEMforpointingthisout,andthepreviousVistaversionbyDMEX.

Warning

Thisshortcutandtaskcanonlybecreatedandworkwhileloggedinasanadministratoraccount.
Thisshortcutwillnotworkinastandarduseraccount.

Here'sHow:
1.PresstheWindows+RkeystoopentheRundialog,typetaskschd.msc,andpressEnter.
NOTE:ThiswillopenTaskScheduler.Thisfileislocatedat:
C:\Windows\system32\taskschd.msc.

2. While having Task Scheduler Library selected in the left pane, click/tap on Create task in the far
rightpane.(seescreenshotbelow)

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

1/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

3.UndertheGeneraltab,typeinthe"Name"oftheprogramyouwanttocreatethisshortcutfor.(seescreenshotbelow)
NOTE:Thiswillbethenameofthetask.Asanexample,IwilluseCCleanerforthatprogram.Makenoteofthisname,you
willneeditlaterinstep12and14below.

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

2/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

4.ChecktheRunwithhighestprivilegesbox.(Seescreenshotbelow)

5.Click/tapontheConfigurefordropdownboxtoopenit,andselectWindows7,WindowsServer2008R2orthe
Windowsyouarecurrentlyin.(seescreenshotaboveandbelow)
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
insteadofWindows7.

6.Click/tapontheActionstab,thenontheNewbutton.(seescreenshotbelow)

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

3/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

7.IntheProgram/script:boxintheActionstab,copyandpastethepathbelow.(seescreenshotbelowstep9)
NOTE:Thankyoutochillzfortheupdatedsteps7and8.
%windir%\System32\cmd.exe

8.IntheAddarguments(optional):boxintheActionstab,typeintheargumentbelow.(seescreenshotbelowstep9)
NOTE:SubstituteTaskNameintheargumentbelowwiththenameyouenteredinstep3(ex:CCleaner)withinquotes,and
substituteFullPathofProgramintheargumentbelowwiththeactualfullpathoftheprogram's.exefilewithinquote.
/cstart"TaskName""FullPathofProgram"

Forexample:
Code:

/cstart"CCleaner""C:\ProgramFiles\CCleaner\CCleaner64.exe"

9.Click/taponOK.(seescreenshotbelow)

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

4/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

10.Click/tapontheConditionstab,andunchecktheStop if the computer switches to battery powerboxfirst,then


unchecktheStartthetaskonlyifthecomputerisonACpowerbox.(seescreenshotsbelow)
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.

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

5/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

11.Click/taponOK.(Seescreenshotsabove)
12. You will now see your new task created with the name (ex: CCleaner) you gave it in step 3. Close Task Scheduler.
(seescreenshotbelow)

13.Rightclickorpressandholdonanemptyareaofyourdesktop,thenclick/taponNewandShortcut.
14.Typeinthetargetbelowforthelocationfield,thenclick/tapontheNextbutton.(seescreenshotbelow)
NOTE:Subsitutetasknameinthetargetwiththename(ex:CCleaner)withinquotesthatyouusedinstep3.
schtasks/run/tn"taskname"
Forexample:FormytasknameCCleanerIusedfromstep3,Iwouldtype:
schtasks/run/tn"CCleaner"

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

6/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

15.Typeinanameyouwantfortheshortcut(ex:CCleaner),thenclick/tapontheFinishbutton.(seescreenshotbelow)

16.Rightclickonthenewshortcut(ex:CCleaner)onthedesktop,thenclick/taponProperties.
17.Click/tapontheShortcuttab,andontheChangeIconbutton.(seescreenshotbelow)

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

7/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

18.Click/taponOK.(seescreenshotbelow)

19.Click/tapontheBrowsebutton.(seescreenshotbelow)

20.Navigatetothe.exefileoftheprogramthatyouhavecreatedthisshortcutwith,selectit,andclick/taponOpen.(see
screenshotbelow)
NOTE:Ifyouhaveaiconofyourownthatyouwouldprefertouseinstead,thennavigatetowhereyouhavethaticonsaved
atinstead.

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

8/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

21.Selecttheiconyouwantfortheshortcut,thenclick/taponOK.(seescreenshotbelow)

22.Click/taponOK.(seescreenshotbelow)

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

9/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

23.Youcannowusethiselevatedshortcuttorunatstartupinyour"Startup"folder,runatstartupasatask,Pinto
StartMenu,PintoTaskbar,assignakeyboardshortcut,ormovetowhereyoulikeforeasyuse.

24.Whenyourunthisnewelevatedshortcut,youwillnownolongerhavetoclick/taponYEStoapprovetheUACprompt
toallowtheprogramrunasadministrator.

Tip

ToUndoandRemovethisTask:
While having Task Scheduler Library selected in the left pane, right click on the task in the right
panethatyoucreatedinstep12,thenclickonDeleteandYestoapprove.
Deletetheshortcut.

That'sit,
Shawn

RelatedTutorials

HowtoSetPriorityLevelforApplicationsandProcessesinWindows7
HowtoRunaProgramasanAdministratorinWindows7
HowtoSeeifProcessisrunningasadministrator(elevated)inVistaandWindows
7
HowtoSeeifProcessisrunningasadministrator(elevated)inWindows8and8.1
HowtoCreateanElevatedCommandPromptShortcutinWindows7andWindows
8
HowtoCreateanElevatedWindows7TaskManagerShortcut
HowtoChangeUACNotificationSettingsinWindows7
HowtoCreateaTasktoRunaProgramatStartupandLogOninWindows7
EnableorDisabletheUserAccountControl(UAC)BlackingOutofScreeninVista
andWindows7
HowtoElevateAllAdministratorAccountsUACPrivilegeLevel
HowtoAdd"Runasadministrator"toVBSFileContextMenu
HowtoAdd"Runasadministrator"toMSIFileContextMenu
HowtoRequireUserstoPressCTRL+ALT+DELtoApproveUACElevation
How to Create an Elevated Program Shortcut a Standard User is able to Run in

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

10/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums
Windows7
HowtoChangeBehaviorofUserAccountControl(UAC)PromptforStandardUsers
HowtoDisplayaMessageReminderinWindowswithTaskScheduler

04Jun2009

#1

OEM
OS3.5
641posts

Asalways,verywelldoneShawn,tutorialiseasytoreadandunderstand.

Thismakesworkingwithprogramsrequiringauacpromptthatyoutrustapleasuretorunagain,whilekeeping
thesecurityofferedbytheuaconandintact.
Note:AlsoworksonVista.
ThanksShawnforthisandAllyourcontributionshereonthegreatestforumforWindowsSe7en.
Added:

Havetheprogramloadonstartminimized:
Todothis,you'llneedtocreateaverysimple.batfile.Tostart,Openyourfavoritetexteditorlikenotepad.Enter
thefollowing:
Code:

@echooff
start/MIN"""C:\ProgramFiles\CCleaner\CCleaner.exe"

TheaboveisanexampleforcCleaner.Forotherprograms,Simplyenterthepathtoyourprograminquotes.
Noticethe2quotationmarksplacedtogether,anythingyouwishcanbeenteredbetweenthem,buttheymustbe
there.Seeexample:
Code:

@echooff
start/MIN"cCleaner""C:\ProgramFiles\CCleaner\CCleaner.exe"

Nowyouneedtosavethisasabatfile.Youdothisbyclickingfile,then"saveas"andinthesaveasbox,thereis
adropdownfor"saveastype",choose"ALLTYPES"andnameitsomethinglike"cCleaner.bat"toalocationlike
"C:\MyBatFiles".Youneedtosavethefilewiththe".bat"attheend.Thatshowyourbasicnotepadbecomesabat
file.Irecommendsavingittothec:\rootbecauseitmayneedaccesstothefilebeforeyouloginandifyournot
loggedinyettheprogrammightnotload.SocreateafolderdirectlyinC:\driveandcreateafolderlikethe
aboveexample"MyBatFiles".
Exampleof"saveas"abovepath:
C:\MyBatFiles\cCleaner.bat
Nextyouneedtochangethetaskschedulerfortheprogram,soopenitbytypingtaskschedulerinstartsearch
andselectit.Ifyourtasksarenotshown,ClickontheLibraryfolderneartheupperleft,thendoubleclickonthe
taskyouwanttohaveopenminimizedonstartup.Clickonthe"Actions"tabandhighlightthecurrentpathand
click"edit".Intheopenededitwindow,youneedtonowbrowsetothenewlycreated.batfileyoujustcreated.
Oncedoneclick"OK".
Next,clickonthe"Triggers"tab.Clicknewandchoosetheoptionthatbestworksforyoufromthedropdown
"Beginthetask".Forexample"Atstartup".ClickOK,thenclickOKtoclosethetaskeditor.Thatsit,yourUAC
programwillnotrequireyourinput,andwillstartautomaticallyminimizedforyou.
Tip
Fortesting,inthetriggerstab,"Beginthetask"dropdown,choose"OnWorkstationLock".Thiswaytotest
it,youdon'thavetorestartthePC,justselect"Lock"fromthestartmenu.Onceyoulogbackon,youshould
seetheprogramloadedandminimized.Ifso,youthencangobackandchooseat"Atstartup"inthetask
scheduler"triggers"tab,beginthetaskdropdown.

Enjoyyourprogramloadingonstartup,minimized,withoutUACpromptinput!

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

11/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

MySystemSpecs

Tip:DownloadWindowsRepairTool

04Jun2009

#2

Brink

You'rewelcomeOEM.
Thankyou,
Shawn

64bitWindows10
build10130
60,316posts
Oklahoma

MySystemSpecs
08Jun2009

#3

Axematic
Windows7Ultimate
x86build7100
23posts

Itdoesn'tworksforme!Itryedeverythingbutitwasworthless.
Imrunningwindows7RC.

PlanetEarth

MySystemSpecs
.

08Jun2009

#4

Brink

HelloAxematic,
Whatprogramareyoutryingthiswith,anddidyouselectthecorrect.exefile?

64bitWindows10
build10130
60,316posts
Oklahoma

MySystemSpecs
08Jun2009

#5

Axematic
Windows7Ultimate
x86build7100
23posts
PlanetEarth

HelloBrink!
ImtryingthisforCCleaner.Ibrowsedto.exefileandaddedatasktotaskscheduler.Eveniamabletostartit
directlyfromscheduler(rightclickandrun)butshortcutonmydesktopdoesn'tstartsaCCleaner.Maybeimdoing
somethingwrong?
Iusedthisasshortcuttarget:schtasks/run/tnCCleaner

MySystemSpecs
08Jun2009

#6

Brink

Areyoudoingthisinanadministratoraccount?

Youmightdeletethistoundoit,thenstartover.Doublecheckthrougheachstepcarefully.Youmayhavejust
madeasimplemistakesomewhere.
64bitWindows10
build10130
60,316posts

Pleaseletusknowhowitwent.

Oklahoma

MySystemSpecs

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

12/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

09Jun2009

#7

Brink

HelloAxematic,
I'mjustcheckingintoseeifyouwereabletogettoworkforyou.

64bitWindows10
build10130
60,316posts
Oklahoma

MySystemSpecs
09Jun2009

#8

Axematic
Windows7Ultimate
x86build7100
23posts
PlanetEarth

SuccessBrink!!!
Itworksperfectlynow!Butididn'tfindmymistake.Itryedallstepsagain100%thesameasabove,andit
worked.Cmdpopupsandscheduledprogramruns.
Andyes,imdoingthisasadministrator!
Andfinallythanks! ihateUACsometimes,butidntwanttoturnitoff!
Sorryifmyenglishwasbad,it'sforeignlanguageforme.

MySystemSpecs
09Jun2009

#9

Brink

Axematic,I'mhappytohearthatyougotitworking.Thankyouforpostingback.

64bitWindows10
build10130
60,316posts
Oklahoma

MySystemSpecs
Page1of47 1 2 3 11 > Last

ElevatedProgramShortcutwithoutUACPromptCreate
RecommendedFix:DownloadHere

PreviousTutorial|NextTutorial

Similarhelpandsupportthreads
Windows7Tutorial

Category

ElevatedProgramShortcutCreateforStandardUser
HowtoCreateanElevatedProgramShortcutAnyUserisabletoRuninVista,Windows7,and
Windows8Thiswillshowyouhowtocreateanelevatedprogramshortcutthatallowsanyuser
(ex:Standarduser)tobeabletorunaprogramthatrunsasadministratorwithoutbeing
promptedtoenterthe...

Tutorials

ElevatedCommandPromptShortcut
HowtoCreatean"ElevatedCommandPrompt"ShortcutinWindows7andWindows8This
tutorialwillshowyouhowtocreateashortcutthatwillopenanelevatedcommandpromptwith
administratorrightsinWindows7andWindows8.Whenyouusetheelevatedcommandprompt
shortcut,youmaybe...

Tutorials

SettingPrioritywith"ElevatedShortcutwithoutUACPrompt
Tutorial"
IusedtheinfoinElevatedProgramShortcutwithoutUACPromptTutorialanditsoondawnedon
methattheapplicationsseemedtobetakingalongtimetorun.Thanthepennydropped
ScheduledTasksrunatpriority7bydefault(whichislowerthandirectlyrunapplications
typicallyrunat)...

GeneralDiscussion

CreatinganElevatedProgramShortcutforSearchEverything
Program.
I`vedonethissuccessfullyforSpeedFan,butI`mhavingaproblemwithdoingthesameforthe
SearchEverythingprogram.I`vebeenthroughthetutorialstepsseveraltimesnow,thetask
executessuccessfully,(Icheckeditwithcommandpromptbox)butnothinghappens./cstart

Software

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

13/14

6/21/2015

ElevatedProgramShortcutwithoutUACPromptCreateWindows7HelpForums

"SpeedFan"...

TaskManagerCreateElevatedShortcut
HowtoCreateanElevatedTaskManagerShortcutinWindows7Thiswillshowyouhowto
createaelevatedTaskManagershortcutthatwill"runasanadministrator"inWindows7when
opened.ItwillopenasifyouclickedShowprocessesfromallusersinthedefaultTask
Manager.Youwill...

Tutorials

Questionon"HowtoCreateaElevatedProgramShortcut..."
Thesolution(Shawn)inthethreadHowtoCreateaElevatedProgramShortcutwithoutaUAC
Prompt(http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuac
promptcreate.html)endswith24.Whenyourunthisnewelevatedshortcut,youwillnowno
longerhave...

OurSites
VistaForums
EightForums
TenForums
PCHelpForum
NetworkStatus

SiteLinks
ContactUs
Legal
Privacyandcookies

SystemSecurity

AboutUs

FindUs

Windows7Forumsisanindependentwebsiteandhasnotbeen
authorized,sponsored,orotherwiseapprovedbyMicrosoft
Corporation."Windows7"andrelatedmaterialsaretrademarksof
MicrosoftCorp.

DesignerMediaLtd
AlltimesareGMT5.Thetimenowis19:33.

SelectLanguage

Poweredby

Translate

http://www.sevenforums.com/tutorials/11949elevatedprogramshortcutwithoutuacpromptcreate.html

14/14

Das könnte Ihnen auch gefallen