A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Vista Administration, Accounts and Passwords
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Vista Administration, Accounts and Passwords Queries, comments and issues relating to the administration of Windows Vista. (microsoft.public.windows.vista.administration_accounts_passwords)

Question related to UAC



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 21st 06, 07:48 AM posted to microsoft.public.windows.vista.administration_accounts_passwords
Hyung-Dong
external usenet poster
 
Posts: 1
Default Question related to UAC

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

  #2 (permalink)  
Old November 21st 06, 12:33 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Josh
external usenet poster
 
Posts: 38
Default Question related to UAC

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" wrote in message
...
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



  #3 (permalink)  
Old November 21st 06, 12:49 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Jimmy Brush
external usenet poster
 
Posts: 827
Default Question related to UAC

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/

 




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

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



All times are GMT. The time now is 06:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.