- Eject any loaded DVD media, like Xs-tools.iso, so the virtual DVD drive is empty.
- Snapshot VM before starting so you can roll back in case of problems.
- Added Registry Key so the MSIServer (handles MSI Install/uninstall) can run in Safe Mode using command:
REG ADD "Hklm\system\currentcontrolset\control\safeboot\minimal\msiserver"/ve/t reg_sz/f/d "Service"
- Run msconfig and set computer to boot on Safe Mode with the Minimal option.
- Reboot computer.
- When the Windows starts in Safe Mode, the login using a local administrator account.
- Using the Programs and Features Control Panel applet, remove the following items. Do not reboot yet, even if is prompted.
- Citrix Xen Windows x64 PV Drivers
- Citrix XenServer Tools Installer
- Citrix XenServer VSS Provider
- Citrix XenServer Windows Guest Agent
- ? Go to Device Manager and look for an Unknown device. Delete it.
- Reboot computer.
- Computer'll still is in Safe Mode. Again, login with the local admin account.
- Run msconfig. In Services tab, disable all Non-microsoft services. IF you have a SQL Server or Exchange on this VM, you should also disable those services from the what I understand.
- Open a command prompt (it should has administrator privileges) and run the following commands to Stop/delete Xen-rela Ted Services and remove xen-related files.
- net stop xenlite
- SC delete xenlite
- SC Delete XE Niface
- SC delete xendisk
- SC delete xennet
- SC Delete xenvbd
- SC delete xenvif
- SC delete xenfilt / li>
- SC delete xenbus
- SC delete xenpvinstall
- del/q %systemroot%\system32\liteagent.exe "
- del/q"%systemroot%\system32\drivers\xen* "
- del/q "%systemroot%\system32\xen*"
- Delete any folders named Citrix under C:\ProgramData, C:\Program Files (x86), and C:\Progr Am Files.
- Run regedit. Search for Xen and delete all keys containing it under hkcr\installer\products in case there is any lef Tover installs hanging around.
- Also Remove Hkcu\software\citrix and Hklm\software\citrix keys from the Registry.
- Run msconfig and set the system back to normal booting.
- Shut down the VM.
- In XenServer Console, change the device_id parameter for the VM using the command XE vm-param-set uuid={your uuid} PLA tform:device_id=0001 . I had issues with the system going in endless reboots when trying to install the client if I didn ' t does this.
- Snapshot the VM again so you had a clean version without XenServer Tools in case you need into roll back.
- Start the VM.
- Windows would start in normal mode. Login with administrator credentials.
- Insert the current version of Xs-tools.iso to the virtual DVD drive.
- Run the XenServer Tools Install Wizard. The install should go as normal. You'll be asked to reboot once or twice. Be sure to log back in to Windows each time after reboot so it can finish the install.
- When XenServer Tools is installed, go to msconfig and reenable any services you disabled previously.
- You might want to snapshot the VMS when do and you have a final upgraded installation.
XenServer Tools Troubleshooting steps