B
BeeJ
How do I set the UAC to off for individual .EXE.
e.g. Opera, and others I know are OK to open.
e.g. Opera, and others I know are OK to open.
What's missing from Bob's response is that you define a scheduled taskBob said:You bypass it by using the Task Scheduler to fire off the exe.
So how does IE run elevated when a link is clicked? Must be a way toWhat's missing from Bob's response is that you define a scheduled task
(but not a time to run it or disable the event) and then use/copy a
shortcut for the schtask.exe shortcut.
For an example, see:
http://social.technet.microsoft.com...y/thread/6cfaab82-da82-4ff9-aa61-416f6134c34d
Since the schtask.exe program will elevate the program it loads;
however, changing priority (from the default of Below-Normal) is
mentioned here by editing the XML file (export, edit, import). Remember
to NOT define the task to "Run as Administrator" but instead to "Run
with highest privilegies".
Obviously the elevation accomplished by using schtask.exe only works
when you use that shortcut to load the app. If the program is called as
a child process, like you clicking on a hypertext link in a message
viewed in your e-mail client then the shortcut is not used so there
won't be any elevation of the web browser.
I don't think you can edit the registry to add an "auto-elevate"
privilege mode to a hash or path rule in a software restriction policy
(SRP). Unrestricted (run), Disallowed (block), and Basic (run as normal
user) are it. If there were a privilege mode for auto-elevate then you
could define a path policy for the executable so it always got
auto-elevated even if ran as a child process (i.e., when the executable
was called and loaded by a parent process).
Alternatively, I've seen mention of using the Application Compatibility
Toolkit (ACT) to get a program elevated but, I think, that also requires
a certificate to digitally sign the application (i.e., you install a
signed app) along with a manifest defined inside the app that specifies
its privilege level. Opera already digitally signs their installer but
that doesn't mean the app's executable is signed. Right-clicking on
opera.exe shows the file is digitally signed. There are lots of
articles on how to use the ACT to modify the RunAsInvoker attribute for
an app. No point in me pointing at or duplicating all that info.
Enjoy.
I'm surprised you would find that necessary. I would think any recentHow do I set the UAC to off for individual .EXE.
e.g. Opera, and others I know are OK to open.
I haven't done any of this by using the ACT to set elevated privilegesBeeJ said:It happens that VanguardLH formulated :
So how does IE run elevated when a link is clicked? Must be a way to
get Opera or FireFox to do the same. Registry or?
You probably helped explain this, I just need to study the terminology.
Thanks for the insights.
Maybe the OP initially had UAC turned off when installing thoseI'm surprised you would find that necessary. I would think any recent
popular, well-written program would install itself in a manner that
would cooperate with UAC. I haven't had to jump through any such hoops
with either Vista or Windows 7, with the exception of Everything
Search, which needs the Task Scheduler trick described elsewhere in
this thread to avoid triggering UAC to request permission to run.
In my case, the UAC has always been set the same.Maybe the OP initially had UAC turned off when installing those
things, and then turned them on. I know some of the software I use
at work required manually elevating privilege under those
circumstances, though if I had UAC on when installing, the installer
requested elevated privilege (as it should) and then the actual
applications did not.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.