UAC Demo and Helpers

As a follow up to the UAC article I wrote some weeks ago, I compiled some demos and a helper library.

The demos show how applications behave given different manifest settings and the helper includes some useful methods like:

  • Find out if the application is currently running elevated
  • Start a process elevated
  • Restart the current process elevated
  • Start a COM DLL elevated
  • Add the shield icon to a button

Btw – excellent information about UAC internals can be found in Mark Russinovich’s talk from TechEd ’06

UAC_Demo.zip (151.69 KB)

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s