Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Disable UAC prompts for *specific* applications

Reply
Thread Tools Display Modes

Disable UAC prompts for *specific* applications

 
 
rdilipk@gmail.com
Guest
Posts: n/a

 
      09-28-2007

Short of using TweakUAC, is there a way to selectively turn off the
UAC elevation prompts **specifically** for a given application?

Our application is going to run under an account that will have both
standard and admin access privileges. There may be situations when
the Vista box may undergo an unattended reboot. When the machine
comes back on:

* How does one log a user back in transparently without any manual
intervention?
* After such login in complete a Start menu script will launch our
application but since it will be unattended there will be no one to
consent to the elevation prompt. Is there a way to avoid popping it
for our application alone?

I read somewhere that signing an executable can allow Vista to elevate
its privileges silently. Is that what I should be doing?

thanks for any inputs.

 
Reply With Quote
 
 
 
 
Mick Murphy
Guest
Posts: n/a

 
      09-28-2007
NO.

"" wrote:

>
> Short of using TweakUAC, is there a way to selectively turn off the
> UAC elevation prompts **specifically** for a given application?
>
> Our application is going to run under an account that will have both
> standard and admin access privileges. There may be situations when
> the Vista box may undergo an unattended reboot. When the machine
> comes back on:
>
> * How does one log a user back in transparently without any manual
> intervention?
> * After such login in complete a Start menu script will launch our
> application but since it will be unattended there will be no one to
> consent to the elevation prompt. Is there a way to avoid popping it
> for our application alone?
>
> I read somewhere that signing an executable can allow Vista to elevate
> its privileges silently. Is that what I should be doing?
>
> thanks for any inputs.
>
>

 
Reply With Quote
 
bp
Guest
Posts: n/a

 
      09-29-2007


"" wrote:

>
> Short of using TweakUAC, is there a way to selectively turn off the
> UAC elevation prompts **specifically** for a given application?
>
> Our application is going to run under an account that will have both
> standard and admin access privileges. There may be situations when
> the Vista box may undergo an unattended reboot. When the machine
> comes back on:
>
> * How does one log a user back in transparently without any manual
> intervention?
> * After such login in complete a Start menu script will launch our
> application but since it will be unattended there will be no one to
> consent to the elevation prompt. Is there a way to avoid popping it
> for our application alone?
>
> I read somewhere that signing an executable can allow Vista to elevate
> its privileges silently. Is that what I should be doing?
>
> thanks for any inputs.


Here is a thought.
If you could do that then any malware writer could do it also.

The app needs to be coded correctly.
>
>

 
Reply With Quote
 
uvbogden
Guest
Posts: n/a

 
      09-30-2007
You can have UAC automatically elevate administrator's privilege level for
all processes by making the adjustments described here:

http://www.vistax64.com/tutorials/80...vel.html?ltr=U


"bp" wrote:

>
>
> "" wrote:
>
> >
> > Short of using TweakUAC, is there a way to selectively turn off the
> > UAC elevation prompts **specifically** for a given application?
> >
> > Our application is going to run under an account that will have both
> > standard and admin access privileges. There may be situations when
> > the Vista box may undergo an unattended reboot. When the machine
> > comes back on:
> >
> > * How does one log a user back in transparently without any manual
> > intervention?
> > * After such login in complete a Start menu script will launch our
> > application but since it will be unattended there will be no one to
> > consent to the elevation prompt. Is there a way to avoid popping it
> > for our application alone?
> >
> > I read somewhere that signing an executable can allow Vista to elevate
> > its privileges silently. Is that what I should be doing?
> >
> > thanks for any inputs.

>
> Here is a thought.
> If you could do that then any malware writer could do it also.
>
> The app needs to be coded correctly.
> >
> >

 
Reply With Quote
 
uvbogden
Guest
Posts: n/a

 
      09-30-2007
Also, you can set up for automatic logon without user name or password as
described here:

http://www.vistax64.com/tutorials/66...matically.html


"uvbogden" wrote:

> You can have UAC automatically elevate administrator's privilege level for
> all processes by making the adjustments described here:
>
> http://www.vistax64.com/tutorials/80...vel.html?ltr=U
>
>
> "bp" wrote:
>
> >
> >
> > "" wrote:
> >
> > >
> > > Short of using TweakUAC, is there a way to selectively turn off the
> > > UAC elevation prompts **specifically** for a given application?
> > >
> > > Our application is going to run under an account that will have both
> > > standard and admin access privileges. There may be situations when
> > > the Vista box may undergo an unattended reboot. When the machine
> > > comes back on:
> > >
> > > * How does one log a user back in transparently without any manual
> > > intervention?
> > > * After such login in complete a Start menu script will launch our
> > > application but since it will be unattended there will be no one to
> > > consent to the elevation prompt. Is there a way to avoid popping it
> > > for our application alone?
> > >
> > > I read somewhere that signing an executable can allow Vista to elevate
> > > its privileges silently. Is that what I should be doing?
> > >
> > > thanks for any inputs.

> >
> > Here is a thought.
> > If you could do that then any malware writer could do it also.
> >
> > The app needs to be coded correctly.
> > >
> > >

 
Reply With Quote
 
Joe Morris
Guest
Posts: n/a

 
      09-30-2007
"bp" <> wrote:
> "" wrote:



>> Short of using TweakUAC, is there a way to selectively turn off the
>> UAC elevation prompts **specifically** for a given application?
>>

[...]
>>
>> I read somewhere that signing an executable can allow Vista to elevate
>> its privileges silently. Is that what I should be doing?


At FOSE earlier this year one of the MS reps (at a booth, not a
presentation) suggested that MS *might* provide a mechanism to allow an
enterprise to configure its machinines so that applications signed with a
specific certificate (not one from Microsoft or any other outside
certificate authority) could be silently given elevated rights. This was
explicitly stated as a "maybe" and not something about which the MS employee
had firm knowledge.

I've seen nothing about this in the SP1 documentation or from any other
source.

> Here is a thought.
> If you could do that then any malware writer could do it also.


Depends on how the feature is implemented.

Although the OP's question involved signing, several people have suggested
using a whitelist.

If it's a whitelist by filename ("automatically elevate privileges if
requested by "foobar.exe") then you've got an open invitation to the world
to introduce an infected copy of "foobar.exe" and take over your computer.

A slightly more secure mechanism would be to specify the fully-qualified
path to the module to be silently given elevated privileges, plus a crypto
hash of its content. This leaves, however, the question of how entries are
made in the whitelist.

If you do employ signed modules as your control, the test cannot be merely
"is the module signed;" it must include some mechanism to ensure that the
module is authorized by the owner of the computer to receive the silent UAC
elevation treatment. Recall that signing a piece of code provides
identification but says absolutely nothing about the correctness of the code
or whether it represents a security threat.

My argument to MS has been that if an enterprise has tested a module and is
willing to declare it safe, MS has no business requiring that the end
user -- who is typically clueless about the security status of modules
distributed by the IT staff -- make the decision to permit or deny elevated
rights via UAC. A proposed solution would be to allow the enterprise to
configure Vista so that modules signed by a valid enterprise-issued
certificate (which should be chained from a root certificate NOT, repeat
NOT, provided in Vista by Microsoft) would be silently elevated. This puts
control of the feature in the hands of the enterprise (and not in the hands
of either Microsoft or a third-party software supplier), and takes the
decision-making responsibility out of the end user's hands while retaining
the long-overdue improvement in security that UAC provides.

Joe Morris


 
Reply With Quote
 
mayayana
Guest
Posts: n/a

 
      09-30-2007
These links might be somewhat informative:

http://msdn.microsoft.com/library/de...us/dnlong/html
/appcomp.asp

http://msdn.microsoft.com/windowsvis...pull=/library/
en-us/dnlong/html/AccProtVista.asp

http://technet2.microsoft.com/Window...-2b2f-422c-b70
e-b18ff918c2811033.mspx

If I remember correctly, you can ask for admin-level
running by using a manifest, but then it still uses an
admin approval prompt.

>
> Short of using TweakUAC, is there a way to selectively turn off the
> UAC elevation prompts **specifically** for a given application?
>
> Our application is going to run under an account that will have both
> standard and admin access privileges. There may be situations when
> the Vista box may undergo an unattended reboot. When the machine
> comes back on:
>
> * How does one log a user back in transparently without any manual
> intervention?
> * After such login in complete a Start menu script will launch our
> application but since it will be unattended there will be no one to
> consent to the elevation prompt. Is there a way to avoid popping it
> for our application alone?
>
> I read somewhere that signing an executable can allow Vista to elevate
> its privileges silently. Is that what I should be doing?
>
> thanks for any inputs.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable the UAC elevation prompts Bob Windows Vista File Management 2 12-24-2007 02:25 PM
Re: How do I disable autoplay for a specific drive adoucette Windows Vista General Discussion 2 12-16-2007 09:45 PM
Several applications are trying to access the internet to specific ip address in vista only! ref/eDN3072784783 dennis Windows Vista General Discussion 4 10-05-2007 12:59 PM
Disable UAC prompts for *specific* applications Dilip Windows Vista Administration 0 09-28-2007 06:10 PM
Several applications are trying to access the internet to specific ip address 10.0.0.138 & 224.0.0.2, while ARE NOT internet applications! ref/eDN3072784783 dennis Windows Vista General Discussion 1 09-27-2007 11:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59