Question related to UAC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I have question about UAC

What I understand is that any software program is excuted in User Mode in
Windows Vista
even though the user loged in as Admin
To execute software program in Admin Mode as in previouse OS, I should mark
XML using the executing software program's manifest and get the user prove
in the middle of program execution, then the mode will be changed to Admin
mode


I'm developing the system management program which must utilize all of Vista
system resource
I have marked XML using manifest in the program and register this at
HKCU...Run registry key

after registration, automatic execution does not occure.

I expected that the user is asked to change mode every time the system is re
booted
but it did not


My questions are below,

1. is there execution method to keep admin mode
if user is agreed user admin mode at the first time program execution or
program installation stage ?
- from my information, the user may manually set the admin mode
execution at program attribut using right click on program file

For example, register in 'Service Program' or log in as Administrator

2. I would like to run the program automatically when system booting.
is the program automatically executed under any speciall situration
related to UAC ?


3. the software is automatically run if it is registered as Service Program.
should I use some special API to register as Service Program

it is inefficiant way to ask user for aggreement each time to boot the system
I think that it is more efficiant to ask user 10 times at programing
installation


I'm sure that the some promgrams such as MS Windows Service program, system
program, or Virus realtime monitoring program are using the admin mode
service program. therefore, there is the methods to use admin mode with out
user agreement at booting time

I'm looking forward to hearing from you soon,

Best regards,

Hyung Dong Yoon
 
I would say the simplest way to do this is to create a service that performs
any of your operations that require admin rights and have that run as local
system. Local System bypasses UAC prompts then make a sepreate EXE that
interacts with the service for display purposes. That way you get a UAC
prompt at intall and minimize the rest.

just my 2 cents.
 
Windows will not let an application that requires admin permissions
automatically start, because of the annoyance of the program asking for
permission on every start up.

I agree with Josh - if your application actually needs to be running around
in the background with admin priveges, it should be completely implemented
as a windows service - the only UI necessary being that which controls the
settings for the service.
 
Back
Top