ProblemAccording 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.
SolutionThe 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:
To set UAC state: