Sounds like a similar question (when-i-click-to-run-as-administrator-it-dont-actually-runs-as-administrator) but its something different.
Lets set the background: Active directory environment, large enterprise, windows 10 enterprise, all users are normal users without special privileges, Windows hello enabled.
Since we turned on Windows Hello, which may have gone hand-in-hand with other changes in security that I am not aware of, I noticed that whenever I run an application with "Run as administrator" (or start a process through the process API with UseShellExecute and verb "runas"), I am presented with the UAC dialog, asking for admin authentication (pin, password or fingerprint) then the app starts as expected with, lets say, "more privileges". But, many applications do no longer recognize that they are run as admin (Visual Studio for example), although they work as expected with elevated privileges. We do also use the MakeMeAdmin tool for the "real hardcore admin stuff" where we as developers need really admin privileges.
What I noticed is:
- the user is member of "BUILTIN\Network Configuration Operators" which is normally "deny only"
- When "Run as administrator" then this group becomes "Mandatory, enabled"
- MakeMeAdmin actually adds the "BUILTIN\Administrators" group to the users claims
So, what is happening here with that network configuration operators group and why are applications no longer aware of the "run as admin" status?
I have an application of my own, in which I check for the administrators group membership but also the token integrity level of the process to determine the privilege elevation level, which works pretty fine both on enterprise level and local machine level.