What actions by a process/thread make Windows bring up a UAC confirmation prompt?
16:14 03 Apr 2026

I don't typically develop Windows software; but as a user I notice, that for some actions you take - in an application or evne in the Windows panel/launcher - you get a "User Access Control"/UAC prompt, asking for confirmation for going through with the action.

I know you can adjust the "pervasiveness" with which this happens, so - either for the most pervasive setting, or for all of the different "pervasiveness" settings: What actions you take, in a program you've written and are running, trigger such a prompt? Please answer in terms of either library calls, kernel calls and the like, or in terms of the external effect of the action.

If the answer is "it's a long list with a lot of complexity", then please try at least categorize things, and indicate that only some of the actions in some category will trigger.

In case it matters - assume the program has been written in C++; that it is not some script or CLR/Dot-Net assembly or some such.

c++ windows uac confirmation