I would like to set the "Run this program as an Administrator" Checkbox option enabled by default. So that it does not require user to Right click on exe and select Run As administrator every time.
- While building the exe in .Net Application, is there any way to enable this option programmatically?
- While Creating MSI installer, is it possible to set this checkbox enable?
Steps to Manually Enable Option
- Right click on C# EXE
- Select Properties
- Go to compatibility tab
- Choose Run this program as an Administrator Checkbox
Refer the attached Image