08 Mar
Posted by support as General 940 views
When you develop some admin utility, which will need the administrator privilege to configures some H/W connected ove LAN, etc. And you will found that the application is running propertyly in XP just by a double click of the mouse, where as in VISTA if you run it as Administrator then only running.
So, how to get the privileges to your utility through programatically at the time of setup?
Here is the solution provided by David Lowndes:
To achieving this privilege, you need to add a manifest to your application that specifies a requestedExecutiionLevel of “requireAdminstrator” – whick tells Vista that it needs to run elevated.
Tags: API, Tips, VistaPermalink: Code Library - How to launch an Application with Admin privileges in VISTA
Subcribe the update with Google Reader.
RSS feed for comments on this post · TrackBack URI
Leave a reply