Question related to UAC

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
 
J

Josh

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.
 
J

Jimmy Brush

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.
 

Ask a Question

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.

Ask a Question

Similar Threads

how to stop UAC popup in limited account 1
Vista UAC on a Domain pc 1
UAC and Windows Explorer 5
Request UAC elevation at runtime 0
Lost Administrator rights. 3
UAC - 2 Ids 2
turning off UAC 1
Smart UAC 1

Top