---
title: "XenDesktop SBA Failure"
slug: "xendesktop-sba-failure"
updated: 2025-09-04T13:55:24Z
published: 2025-09-04T13:55:24Z
canonical: "support.controlup.com/xendesktop-sba-failure"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.controlup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XenDesktop SBA Failure

### **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](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/XenDesktop%20Fail1.png)

### **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](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/XenDesktop%20Fail2.png)

![EnableLUA reg key changing value data to 0](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/XenDesktop%20Fail3.png)

Use [Controlup Controllers](/tim-reorg/docs/controllers-pane) to apply that change to multiple machines, if needed.
