Citrix Workspace App - Repeated "XenTools Installed Successfully" Pop-up Upon Launching Virtual Desktops

book

Article ID: CTX696868

calendar_today

Updated On:

Description

In Citrix Cloud environments using XenServer (Citrix Hypervisor) as the resource location hypervisor, the Citrix VM Tools (XenTools) guest agent installs device drivers (such as xenbus, xenvif, and xenblk) along with a user-mode management service (XenSvc.exe or CitrixVMToolsUpgrader.exe).

When a virtual desktop session initializes, the guest agent checks the local system registry for installation and upgrade status flags:

  • Pending Reboot / Installation Flags: If the master image was not rebooted after installing or updating Citrix VM Tools prior to taking an MCS or PVS snapshot, the installer marks the setup task as "incomplete."

  • Logon Run Key Enforcement: The XenTools installer places a notification trigger in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run or HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run. On non-persistent Cloud VDAs, because changes reset upon logoff, the VDA cannot clear this run key permanently unless it is removed directly from the master image.

  • Auto-Update Service Handshake in Cloud VDAs: The Citrix VM Tools Auto-Update service attempts to query Citrix Cloud or hypervisor management agents for newer driver versions upon session startup. If internet access to update endpoints is restricted, the service defaults to re-displaying the local installation completion banner.

Resolution

Perform these remediation steps on your Master Image / Golden Image, seals/shut down the VM, and update your Machine Catalog.

Step A: Remove the XenTools Startup Notification Registry Keys
  1. Boot up the Master Image VM in administrative mode.

  2. Open Regedit as Administrator.

  3. Navigate to:

    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

  4. Locate and delete any string value referencing XenTools or VM Tools notifications (e.g., XenToolsInstaller, CitrixVMToolsNotifier, or XenSvcNotifier).

  5. Check the 32-bit registry path and delete the corresponding keys if present:

    HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run

Step B: Clear Pending Reboot & Installer Status Flags
  1. In Regedit, navigate to:

    HKLM\SOFTWARE\Citrix\XenTools (or HKLM\SOFTWARE\Citrix\CitrixVMTools)

  2. Verify that InstallStatus or UpdateStatus is set to SUCCESS or 0.

  3. If a DWORD named ShowPostInstallMessage or DisplaySetupComplete exists, set its Value Data to 0.

  4. Clear any lingering Windows Session Manager pending file rename operations:

    HKLM\SYSTEM\CurrentControlSet\Control\Session Manager

    (If PendingFileRenameOperations exists and contains XenTools driver paths, clear its data).

Step C: Disable XenTools Auto-Update Service (If Managed via Image Updates)

If you update VM Tools manually via Master Image updates rather than hypervisor auto-push:

  1. Open Services.msc on the Master Image.

  2. Locate Citrix VM Tools Management Agent (or XenServer Guest Agent / Auto-Update Service).

  3. Change the Startup type to Manual or Disabled if auto-updates are handled via Master Image lifecycle policies.

Step D: Proper Master Image Shutdown & Snapshot Protocol
  1. Restart the Master Image VM twice to complete all pending hardware driver bindings.

  2. Log in, confirm no pop-ups appear on the desktop, and shut down the VM cleanly.

  3. Take a new snapshot and update your Citrix Cloud Machine Catalog.

Issue/Introduction

When launching virtual desktop or application sessions hosted on XenServer / Citrix Hypervisor from Citrix Workspace App, users encounter a persistent "XenTools installed successfully" or "Citrix VM Tools successfully updated" notification upon every logon. This issue is caused by uncleared installer flags, incomplete guest agent service initialization in non-persistent VDA master images, or pending Windows registry reboot flags for the Citrix VM Tools agent.