Windows 8.1: "IsUserAnAdmin" returns false, even if UAC is turned off, and the user is a member of the "administrators",

On Windows 8.1, where UAC is disabled and the current user is a member of local administrators (and not the local administrator account), calling " IsUserAnAdmin " returns "false". On Windows 7 with the same settings, calling "IsUserAnAdmin" returns "true". An MSDN article says that support for this feature ended with Windows Vista / Server 2008, does it no longer work on Windows 8 / 8.1?

+4
source share
1 answer

As it turned out on a Windows 8.1 PC, just setting UAC to "Never Notify" is not enough to provide full unlimited administrative rights to a user account when logging in. If you simply set UAC to Never Notify to run the program with full administrator rights, you still need to use the Run As Administrator menu command to run the program. Never Notify, as the wording suggests, in this situation, the UAC confirmation dialog box simply does not appear.

Windows 8/Server 2012, , UAC , " " (gpedit. msc) : / Windows/ / / / : . , "IsUserAnAdmin" "true".

Windows 7. Windows 7, UAC " ", "".

" NWC" : "UAC auf Windows Server 2012 deaktivieren".

+7

All Articles