How to launch an Application with Admin privileges in VISTA
-
Hi All, I have an Application which is an Admin utility, which will configures some H/W connected over LAN. Actully this application is running properly in XP just by a double clik of mouse, where as in VISTA if we run it as Administrator then only running. here i want to give privileges to my Utility throgh programatically at the time of setup/ some how. Please help me in this regard. Thanks in Adv,
Are
-
Hi All, I have an Application which is an Admin utility, which will configures some H/W connected over LAN. Actully this application is running properly in XP just by a double clik of mouse, where as in VISTA if we run it as Administrator then only running. here i want to give privileges to my Utility throgh programatically at the time of setup/ some how. Please help me in this regard. Thanks in Adv,
Are
Add a UAC manifest to the EXE that marks it as needing admin rights to run. See this article[^] (search for "IsUserAdmin.exe.manifest") Or do a web search for "requireadministrator" and "requestedExecutionLevel" and you'll find lots of pages on how to use this new manifest.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?