Make application UAC Aware

you need to make your application UAC compliant so that it will ask user to grant your application Administrator access.

To make your application UAC compliant,

Double Click My Project in Solution Explorer and Click UAC Settings button as shown in image.

Then Modify app.manifest file as shown below. Make it ‘requireAdministrator’ instead of ‘asInvoker’ and save.

Advertisements