r/Citrix • u/wdjenkins • May 06 '24
Uninstallation Error - Desktop Lock was detected

Has anyone encountered this? Before suggesting I speak to my Citrix Administrator, well that is me. This is a non-Domain joined stand-alone Windows 11 pc, that I manually installed Workspace on a while back (don't remember exactly which version at the time) and did a automatic update today to 2403. The client seemed to simply just not work and looked odd. I decided to do a uninstall and start over. Now any attempt to uninstall yields this. I don't have a separate install for Desktop Lock. With a freshly downloaded Workspace installer, I've tried /cleaninstall and /forceinstall and all give me the same error about Desktop Lock. I tried downloading all the various versions of CitrixWorkspaceDesktopLock.msi from Citrix and attempt a manual uninstall but all error saying this application is not installed so there is nothing to uninstall. At no point in previous installation of the workspace did I purposefully enable any desktop lock or app protection feature.
**Edit
Left out a very important piece of detail, I was able to fix this myself by finding the uninstall command line (MsiExec.exe /X{D8C9D721-4934-4133-B99B-BB70E4D0BF49} in my case) in the registry for Citrix Desktop Lock. After that uninstalled, I was able to cleanly uninstall the client. I then ran the install with /cleaninstall and everything seems back to normal. I still wanted to post this because I was curious if other had seen this behavior and if they had any more automated method for fixing it.
4
u/JDmmnn May 07 '24
We have had the same issue some time ago and also opened a support case. Even though the /forceinstall or /cleaninstall switch replaced the old Citrix Receiver CleanUp Utility, the supporter advised us to use that one and it helped. So in the old tool, there must be anything that is not included in /forceinstall.
Later we discovered some Reg-Keys that are left over after uninstalling DesktopLock that prevent the Workspace App to get uninstalled successfully:
HKCR\Installer\UpgradeCodes\550B38DABF1C7C748BC1E41910524A43
Deleting those worked for us.
1
u/TheMuffnMan Notorious VDI May 06 '24
So Desktop Lock requires being domain joined, I'm not sure how you would have managed to enable/configure that without even being on a domain.
2
u/Various_Glove_8847 Jun 02 '25
Had the same issue myself. Tried all possible options (run cleaninstall, removing all possible regedit keys. Trying to uninstall desktop lock from the msiexec string on regedit,...). What it worked for me was to use the Receiver clean up utility as already suggested. Works like a charm every time.
1
u/OftheRiver37 Aug 12 '25
I'm also having this issue. I used Revo Uninstaller Pro to uninstall my previous Citrix workspace before running this. Where can I find this file/folder to delete it?