Summery
User Account Control (UAC) controls elevation to administrator-level privileges. By default even admins run things as normal users, but when some administrative action is required, a pop-up window shows up which asks to confirm that we want to use admin rights to act on it - it’s called a UAC consent prompt. For admins it’s a simple yes or no, for other account the need to provide correct credentials.
Besides providing additional security UAC can be annoying in some pentests as it does block some CLI actions from being possible due to it’s pop-upy nature.
It is important to note that just being a member of the Administrator group does not mean that the processes will be run with high integrity. This is where UAC enforces privilege separation. By default, UAC ensures that even administrator-launched processes run at medium integrity.
At medium integrity, processes cannot modify system files or sensitive registry keys, even if initiated by an administrator. To do so, they must elevate to high integrity. This is why a user is prompted to elevate their session to perform some actions.
References
Tools: UACUP