New
#330
LOL, posting inbetween each other. I'm happy to hear that you got it sorted. :)
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!!!
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.
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!!!
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.
....and used this for the shortcut:Code:/c start "Fighter Factory Ultimate" "C:\Program Files (x86)\VirtuallTek\Fighter Factory Ultimate\ff32.exe"
schtasks /run /tn "Fighter Factory Ultimate"
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!!
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.
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.
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?