windows - Requesting Administrator privileges during runtime -
How can I request administrator privileges during the runtime so that the user is prompted to allow or deny it?
This information is written in the exe file manifest, for the requested execution level
field Should be used (but not sure about it - try setting it to highest available
and see what you want). For example, here for more information (somewhat older articles but still valid):
There are tools in Visual Studio that allow you to embed your own manifest or even edit it. Can also do Apart from this, there is also a tool written in Pearl ().
Edit: See this article for more information:
Comments
Post a Comment