Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Request UAC elevation at runtime

Reply
Thread Tools Display Modes

Request UAC elevation at runtime

 
 
John Daintree
Guest
Posts: n/a

 
      09-24-2009

Hello all,

I have an application that may, depending on user actions, require
elevation.

Is it possible, at runtime, from within the program, to request elevation?

So the sequence would be:

1) Start program (not elevated)
2) User performs actions (as non-admin)
3) User trys to perform action that will require admin privileges
4) Program prompts user for elevation
5) Program performs action with admin privileges
6) Program de-elevates
7) User performs actions (as non-admin)
8) Program exits.

Thanks in advance,
john


 
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
Certificate request web page missing sections Sandy Wood Windows Server 0 05-23-2007 06:48 PM
Certificate Request Processor - The request contains no cert templ BrianS Windows Server 3 05-10-2007 05:42 PM
FRS and sysvol not sync'd stiitwok Windows Server 5 05-25-2006 08:17 PM
Internet Access Problem Aj Windows Server 7 05-17-2006 06:59 PM
RE: Runtime error on SQL 2005 installation Emil PRAGER Windows Server 0 02-13-2006 07:38 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