2018. 1. 16. 09:19

Using ShellExecute or ShellExecuteEx instead of using CreateProcess when an executable is marked as "requiredAdministrator"

An executable that is marked as "requireAdministrator" in its manifest cannot be started from a non-elevated process using CreateProcess(). Instead, ERROR_ELEVATION_REQUIRED will be returned. ShellExecute() or ShellExecuteEx() must be used instead. If an HWND is not supplied, then the dialog will show up as a blinking item in the taskbar.


wikipedia