Set up VisualStudio to run programs as an administrator November 30, 2016 Enter the project properties and change the Configuration Properties -> Linker -> Manifest File -> UAC Execution Level item to requireAdministrator.