Friday, May 23, 2014

Autodesk Vault Extreme Administration. Disable UAC

Problem

According to Vault installation pre-checks you have to turn off User Access Controll (UAC) feature before installation. It takes up to 7 steps to do this.
What could be done to do this fast if this is quite regular operation as for you.

Solution

The UAC state is stored in registry value "EnableLUA" of  key HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system. If it's off - value should be 0, otherwise 1.
So you just have to update this value to turn UAC off. To perform this let's use PowerShell functions.
To chesk UAC state:

Usage:
Get-UACStatus
To set UAC state:

Usage:
Set-UACStatus -Computer [computer name] -Enabled [$true|$false]

Come on, take this tools in your toolpack!