windows 8 winform won't autostart when requestedExecutionLevel set to “requireAdministrator”
- 阅读更多 关于 windows 8 winform won't autostart when requestedExecutionLevel set to “requireAdministrator”
问题 i created a winform application. my program needs administrator permissions to work, so i added app.manifest file with the following privileges: <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> </requestedPrivileges> i added the program to the windows 8 autostart so it should autostart. when i change the app.manifest to the following line, it loads successfully at start of windows. <requestedExecutionLevel