What actions by a process/thread make Windows bring up a UAC confirmation prompt? [duplicate]

1 day ago 1
ARTICLE AD BOX

I don't typically develop Windows software; but as a user I notice, that for some actions you take - in an application or even in the Windows panel/launcher - you get a "User Access Control"/UAC prompt, asking for confirmation for going through with the action. Suppose I am now writing a program that will run on Windows - and I want to avoid that happening (or at least be prepared for where/when it's going to happen).

I know you can adjust the "pervasiveness" with which UAC prompts come up, 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 complex details", 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.

Read Entire Article