XenServer Tools 故障处理步骤

    1. Eject any loaded DVD media (like xs-tools.iso) so the virtual DVD drive is empty.
    2. Snapshot VM before starting so you can roll back in case of problems.
    3. Added Registry key so that 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"
    4. Run msconfig and set computer to boot in Safe Mode with the Minimal option.
    5. Reboot computer.
    6. When Windows starts in Safe Mode, login using a local administrator account.
    7. Using the Programs and Features Control Panel applet, remove the following items. Do not reboot yet, even if you are prompted.
      1. Citrix Xen Windows x64 PV Drivers
      2. Citrix XenServer Tools Installer
      3. Citrix XenServer VSS Provider
      4. Citrix XenServer Windows Guest Agent
    8. ​Go into Device Manager and look for an Unknown Device.  Delete it.
    9. Reboot computer.
    10. Computer will still be in Safe Mode. Again, login with local admin account.
    11. Run msconfig. In Services tab, disable all non-Microsoft services.  If you have SQL Server or Exchange on this VM, you should also disable those services from what I understand.
    12. Open a command prompt (it should have administrator privileges) and run the following commands to stop/delete Xen-related services and remove Xen-related files.
      1. net stop xenlite
      2. sc delete xenlite
      3. sc delete xeniface
      4. sc delete xendisk
      5. sc delete xennet
      6. sc delete xenvbd
      7. sc delete XENVIF
      8. sc delete XENFILT
      9. sc delete XENBUS
      10. sc delete xenpvinstall
      11. DEL /q "%SystemRoot%\system32\liteagent.exe"
      12. del /q "%systemroot%\system32\drivers\xen*"
      13. del /q "%systemroot%\system32\xen*"
    13. Delete any folders named  Citrix under  C:\ProgramDataC:\Program Files (x86), and  C:\Program Files.
    14. Run  regedit. Search for  Xen and delete any keys containing it under  HKCR\Installer\Products in case there are any leftover installs hanging around.
    15. Also remove HKCU\Software\Citrix and  HKLM\Software\Citrix keys from the Registry.
    16. Run  msconfig and set the system back to normal booting.
    17. Shut down the VM.
    18. In XenServer Console, change the device_id parameter for the VM using the command  xe vm-param-set uuid={your uuid} platform:device_id=0001 .  I had issues with the system going into endless reboots when trying to install the client if I didn't do this.
    19. Snapshot the VM again so you have a clean version without XenServer Tools in case you need to roll back.
    20. Start the VM.
    21. Windows will start in normal mode. Login with administrator credentials.
    22. Insert the current version of xs-tools.iso into the virtual DVD drive.
    23. 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.
    24. When XenServer Tools is installed, go back into msconfig and reenable any services you disabled previously.
    25. You might want to snapshot the VM when done and you have a final upgraded installation.

转载于:https://www.cnblogs.com/yorkzang/p/5009020.html

你可能感兴趣的:(XenServer Tools 故障处理步骤)