Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Elevated Program Shortcut without UAC Prompt - Create

28 Jul 2012   #330
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

LOL, posting inbetween each other. I'm happy to hear that you got it sorted.


My System SpecsSystem Spec
06 Aug 2012   #331
FerchogtX

Microsoft Windows 7 Home Premium SP1 64-bit Build 7600 / Microsoft Windows XP Professional SP3
 
 

Nice! I had a program that was bugging me off with UAC (a simple text editor) as it most likely doesn't need it, but with this I can execute without problems and UAC, and even better, somehow runs smootly now (whereas clicking the prompt made the program run slower... O_o).

Just for asking as it is not really important, is there any way to get the program focused while executing? because of the CMD being oppened (no matter if it is minimized or not) the program looses focus... just for asking, if there is no way to get this is not really important.

Thanks for the tutorial Brink!!! You always have something nice and useful for all us

See ya!!!
My System SpecsSystem Spec
06 Aug 2012   #332
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

You're welcome FerchogtX, and thank you.

The program used for this shortcut should open as the active/focused window by default. The only exception should be if click on something else right after it opens, or have another program/window opening right after it.

What program is this for? I'll be happy to test with it if I'm able to.
My System SpecsSystem Spec
06 Aug 2012   #333
FerchogtX

Microsoft Windows 7 Home Premium SP1 64-bit Build 7600 / Microsoft Windows XP Professional SP3
 
 

Ha, you will make laugh of me, is a program called Fighter Factory Ultimate used to créate MUGEN chars (I do this in my lil' free time),
You can get it from here:
VirtuallTek Systems
Is a lil' harmless program, but needs UAC (????) to execute just because some of the data for configurations is stored at C:\ProgramData\VirtuallTek once executed the first time instead of other folder XD. That's why your tutorial was so usefull

Another thing is that I was in need to modify a lil' the method, instead of adding cmd + the parameters, I just added the program shortcut (In my case, D:\Programs\MUGEN\VirtualTek\ff32.exe) because cmd wasn't hidden with the start minimized option in the final shortcut using the cmd + parameters method.

Hope this gives you a whole panorama, but anyway is not that important

Thanks again for the tutorial and also for those for Windows 8, they saved me lots of troubles :P

See ya!!!
My System SpecsSystem Spec
.


06 Aug 2012   #334
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

After testing it with the elevated shortcut created exactly as written in the tutorial, the cmd window stayed open for me for a few seconds longer than normal for only the first time I ran the program before closing. Afterwards, I never saw the CMD window again when running the program with the shortcut.


To have it open in focus, you will need to use %windir%\System32\cmd.exe at step 7 instead.

For me, the file path to ff32.exe was this below instead:
"C:\Program Files (x86)\VirtuallTek\Fighter Factory Ultimate\ff32.exe"
I used Fighter Factory Ultimate as the task name, so I used this at step 8.
Code:
/c start "Fighter Factory Ultimate" "C:\Program Files (x86)\VirtuallTek\Fighter Factory Ultimate\ff32.exe"
....and used this for the shortcut:
schtasks /run /tn "Fighter Factory Ultimate"

My System SpecsSystem Spec
06 Aug 2012   #335
FerchogtX

Microsoft Windows 7 Home Premium SP1 64-bit Build 7600 / Microsoft Windows XP Professional SP3
 
 

Funny thing is that it appears the command window for a lil sec and then FFU is loaded... well then, I can live with it XD.
Thanks for this man!!
My System SpecsSystem Spec
07 Aug 2012   #336
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

You're most welcome.

Yeah, the cmd window usually opens and closes so fast that you normally would only see a quick flash if that.
My System SpecsSystem Spec
20 Aug 2012   #337
ColinWG

Windows 7
 
 
This Is A Thank You Post

Specifically for this tutorial:
Elevated Program Shortcut without UAC Prompt - Create
Elevated Program Shortcut without UAC Prompt - Create

It helped me greatly and avoided me having to just plain turn off the UAC due to W7 not liking Audition needing to run with Aero off.
My System SpecsSystem Spec
20 Aug 2012   #338
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

You're welcome Collin. I'm happy to hear that it was able to help you.
My System SpecsSystem Spec
21 Aug 2012   #339
ColinWG

Windows 7
 
 

Sub question, do I modify my associations to call this instead of the program directly to achieve the same thing with associated file opening? That is, Right Click -> Edit -> Audition So instead of Audition, should I point it to the modified shortcut on the desktop?
My System SpecsSystem Spec
Comment

 Elevated Program Shortcut without UAC Prompt - Create




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
Elevated Program Shortcut - Create for Standard User
How to Create an Elevated Program Shortcut Any User is able to Run in Vista, Windows 7, and Windows 8 This will show you how to create an elevated program shortcut that allows any user (ex: Standard user) to be able to run a program that runs as administrator without being prompted to enter the...
Tutorials
Setting Priority with "Elevated Shortcut without UAC Prompt Tutorial"
I used the info in Elevated Program Shortcut without UAC Prompt Tutorial and it soon dawned on me that the applications seemed to be taking a long time to run. Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at)...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 03:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App