Solution: how to set program permission as administrator permission in vs2019

Sometimes the program needs the administrator’s permission to do some operations, such as reading and writing to Disk C (log), setting the program to boot automatically, etc. without the administrator’s permission, it may not be able to read and write to Disk C (log) or set the program to boot automatically, etc.

terms of settlement:

Right click the project, properties – & gt; linker – & gt; manifest file – & gt; UAC execution level – & gt; requireAdministrator (/ level =’requireadministrator ‘)

Read More: