Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Question related to UAC

Reply
Thread Tools Display Modes

Question related to UAC

 
 
Hyung-Dong
Guest
Posts: n/a

 
      11-21-2006
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

 
Reply With Quote
 
 
 
 
Josh
Guest
Posts: n/a

 
      11-21-2006
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.

--
Josh
http://windowsconnected.com

Now with NNTP goodness!

"Hyung-Dong" <Hyung-> wrote in message
news:F314AB70-BBFA-4D1A-A8CD-...
> 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
>



 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      11-21-2006
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.


--
- JB

Windows Vista Support Faq
http://www.jimmah.com/vista/

 
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
AMD Athlon 64 / Cool'n Quiet related question Ismaan Windows Vista General Discussion 4 03-28-2007 12:57 PM
Permissions not related to UAC Larry E Windows Vista General Discussion 3 03-17-2007 12:20 AM
Another question ( related to the last one) Geforce 6200 Michel Windows Vista Performance 2 02-28-2007 03:08 AM
Loosely related question to Vista... Charlie Windows Vista Hardware 2 10-20-2006 12:34 PM
IE7 Related Sammy Windows Vista General Discussion 5 03-16-2006 12:23 PM



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