How to force my .NET App to run as administrator on Windows 7?

Allow given application to run as administrator Windows 7.
Follow below steps:
Step:1- Right Click on your project

Step:2- Now click on Add -> New Item

Step:3- Now create Application Manifest file.

Step:4- In Manifest file find requestedExecutionLevel.

Step:5- And replace with <requestedExecutionLevel                      level=”requireAdministrator”>

Step:6- Now save your file and run it.

Allow given application to run as administrato,.NET App to run as administrator on Windows 7

About the Author

avatar