Get-UACEnabled

Get-UACEnabled

Get-UACEnabled

Determines if UAC (User Account Control) is turned on or off.

Syntax

Get-UACEnabled

Description

This is a low level function used by Chocolatey to decide whether prompting for elevated privileges is necessary or not.

Notes

This checks the EnableLUA registry value to be determine the state of a system.

Aliases

None

Inputs

None

Outputs

  • System.Boolean

Parameters

Function Reference

:choco-info: NOTE

This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Get-UACEnabled -Full.

View the source for Get-UACEnabled