Uninstalling Citrix 9.3.3 tools when VM crash
Environment
- A Windows VM that crashes with Citrix 9.3.3 guest tools installed.
Procedure
-
Reboot several times until you enter the Windows Recovery dialog.
-
Choose Troubleshoot, then Startup Settings, then Restart.
-
Boot in Safe Mode with Networking.
-
Log in to the VM.
-
Download the file https://fohdeesha.com/vates/Xen-Tools-Cleaner.zip and extract it as a folder on the desktop.
-
Run Windows Powershell as Administrator.
-
Execute the command:
Set-ExecutionPolicy -ExecutionPolicy Bypass -
Run the script
uninstall_services_and_drivers.ps1. -
Press Enter through all of the prompts.
-
Once the script completes, disable
Manage Citrix PV drivers via Windows Updateon the VM's Advanced tab. -
Click the option to Force Reboot the VM.
-
Log in to the VM.
-
Uninstall the Citrix Guest Tools.
-
Reboot.
-
Install a version of Citrix Guest Tools earlier than 9.3.3.
-
Reboot.
Verification
After the final reboot, the VM runs with the earlier Citrix Guest Tools version installed instead of 9.3.3.