One thought on “I have created a windows 7 application and I need to force the application to run as Administrator. How do I accomplish this?

  1. In order to force your custom programming application to run as administrator you need to add/modify the manifest file that gets embedded in the program. This requires Visual Studio 2008 and higher. Right click on Project –> Add New Item –> select “Application Manifest File”. Change the element to:

    Every time the program starts the user will get the UAC prompt.

Comments are closed.