Remediating an Uninstall Issue During a Citrix StoreFront Upgrade

Remediating an Uninstall Issue During a Citrix StoreFront Upgrade

By Kamran Ahmad
Posted in Infrastructure, Support, Virtualization
On January 03, 2025

Recently, I was upgrading a customer's StoreFront deployment from version 1912 to version 2402 LTSR CU1 on a Windows Server 2019. During the process, I encountered an issue where I could not uninstall StoreFront on the second server in the StoreFront server group. The following error message was displayed:

"

I tried the steps in this Citrix article, which had a similar error message, but that did not work. After some digging, I realized Citrix services were still present.

"

I followed the steps below to resolve the issue and completely uninstall StoreFront. These steps should only be followed for servers that are dedicated to StoreFront and not shared with other Citrix services.

  1. Delete:
    1. The folder C:\Program Files\Citrix\Receiver StoreFront
    2. The C:\Program Files\Citrix\StoreFront folder.
  2. Remove Web Server (IIS) Role:
    1. Open Server Manager > Manage> Remove Roles and Features.
  3. Select Web Server (IIS) and remove it.
  4. Delete IIS Content Directory C:\Inetpub.
  5. Remove the following registry keys:
    1. Navigate to the following keys and delete them: (Backup Registry: Before making any changes, ensure you back up the registry.)
      1.  HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\
      2. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix
      3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall (Find and delete the key associated with Citrix StoreFront)
      4. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services – delete all the keys that are listed in the screenshot below.
        "
      5. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run** (Look for any Citrix-related entries and delete them)
  6. After completing the steps above, restart the server to ensure all changes take effect.
  7. After the reboot, confirm StoreFront has been uninstalled and proceed to install the new version of StoreFront.