Is UAC Enabled

Checks the value of Windows User Account Control (UAC) setting.

The UAC setting is typically set using a slider bar on the UAC Settings dialog box, accessible through the Control Panel. On certain operating system platforms, moving this setting to its lowest level (Never Notify), disables UAC. Any other value enables UAC.

On other operating system platforms (usually those with higher security requirements – such as servers and enterprise editions), UAC cannot be disabled through the UAC dialog. That is, even when the UAC setting is at its lowest level, UAC may still be enabled.

Regardless of which environment the operating system platform is in, the Is UAC Enabled AM object checks the value of the UAC setting based on the value of the slider bar, and reports it as disabled if the setting is set to its minimum value; any other value will report UAC as enabled.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
Is UAC Enabled String Indicates if UAC is enabled or not.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

No input parameters required.

 

The UAC setting is typically set within a control panel using a slider bar. On certain operating system platforms, when this setting is at its lowest level, UAC is disabled. Otherwise, UAC is enabled.

On those operating system platforms considered to be in a secure environment (e.g typically within an enterprise), when the setting is at its lowest level, UAC is in fact not disabled, because the UAC setting is actually controlled by a value within a registry key.

Regardless of which environment the operating system platform is in, IsUACEnabled checks the value of the UAC setting based on the value of the slider bar, and reports it as disabled if the setting is set to its minimum value; otherwise any other value will report UAC as enabled.