XenDesktop SBA Failure

Prev Next

Issue

You try to run an Analyze XenDesktop Logon Duration SBA and it fails. The error message indicates insufficient admin privileges.

 Analyze XenDesktop Logon Duration SBA with error message

Cause

Windows User Account Controls (UAC) notifies when programs try to make changes to the machine, and it causes the script to hang.

Solution

Disable the UAC. To achieve this, you can change the registry key listed below. Open Regedit.exe and go to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system.

Change EnableLUA from 1 to 0, then restart the endpoint.

EnableLUA reg key

EnableLUA reg key changing value data to 0

Use Controlup Controllers to apply that change to multiple machines, if needed.