Re: How to programatically disable/Enable the UAC on Visita
- From: lelteto <lelteto@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 8 Jul 2006 11:08:01 -0700
I was at TechEd and also downloaded all the available security related
presentations. Although there was a lot of talk on UAC there was nothing
which would answer this particular question. Unfortunately I haven't had time
to play with Vista yet. (But I know we also run into the same problem - ie.
cannot set firewall rules in install - so I am interested in the answer.)
Laszlo Elteto
SafeNet, Inc.
"Joe Kaplan (MVP - ADSI)" wrote:
There was actually a presentation at Tech Ed on this exact sort of stuff..
I'm not sure if you can dig that up somewhere or if they've already covered
the same info on MSDN. Sorry I can't answer myself, but I didn't see the
whole thing and didn't take any notes.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Gordon" <Gordon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9FB08329-9BCF-4357-8E65-AADC32D70135@xxxxxxxxxxxxxxxx
Thanks lelteto,
I kind understand that we cannot do #2.
My new questions would be that:
If my program needs to do something require the Admin rights like
manipulate
the registry, How could I get the warning dialog to come up and do the
things. But when I run the regedit, it will gives the warning dialog.
Now any of my applications that need Admin rights for some operation will
fail without trigger the warning dialog.
How could we do that? Does anyone have the experience on Vista?
Thanks in advance!
--
Just Keep Going... You will succeed
"lelteto" wrote:
I am pretty sure you cannot do 2. That would make UAC useless (as rogue
programs could simply turn it off). Microsoft's security experts are
better
than that :)
Laszlo Elteto
SafeNet, Inc.
"Gordon" wrote:
Hi All,
Don't you hate this UAC stuff?
I have a program to add exceptions to the Firewall, I run this program
under
Addmin account. But it does not work, so I change the exe to be run as
admin,
then I can use this program to add Port Exceptions to the Firewall and
still
cannot add Application Exceptions to the firewall. When uncheck the Use
User
Account Control and run the application again, ecerything is working
and I
can add both Port and Application to the windows Firewall.
My questions are:
1. How can I make the application run "normally" without disable the
UAC
under my Admin account? Or What can I do to make the Application run as
Adminstrator instead of Users account if I am login with Admin account?
2. If not possible for solution 1, Can I programatically switch the UAC
on/off programatically without re-start the machine.
Thanks
Gordon
--
Just Keep Going... You will succeed
- References:
- Re: How to programatically disable/Enable the UAC on Visita
- From: Joe Kaplan \(MVP - ADSI\)
- Re: How to programatically disable/Enable the UAC on Visita
- Prev by Date: Re: RSA source code?
- Next by Date: Patch for Advapi32.dll in Windows2003 Server
- Previous by thread: Re: How to programatically disable/Enable the UAC on Visita
- Next by thread: Re: using Microsoft.Win32.Security
- Index(es):
Relevant Pages
|