Home > Software engineering >  How to make my program ask for administrator privileges on execution
How to make my program ask for administrator privileges on execution

Time:11-19

I have searched and wondered how certain programs ask you to let them have administrator permissions when you start them up normally but haven't really found any good answer, I suppose they use something in Windows API but I haven't found anything that would help me.

CodePudding user response:

 Add a manifest file into your EXE as described here:

http://msdn.microsoft.com/en-us/library/bb756929.aspx

  • Related