We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
UAC self-elevation (CppUACSelfElevation)
This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.