How To Fix Hang Issues Upgrading Citrix XenTools on XenCenter Version 6.x ?
If you have tried to upgrade your XenCenter XenTools on XenCenter Version 6 and above you may have encountered the system hanging or rebooting then trying to install the tools again and then hanging again on a windows cloud server. Here is the fix:
1) If you have an anti virus program, then pause it to the state of letting you the user resume it when you are ready. (For an anti virus tool like Kaspersky, right click on the icon in the bottom right of your screen and click on the pause option. Then click on the the option to resume on Users action which is you)
2) Click on the the start menu item on lower left corner of your screen, select the RUN option and enter MSCONFIG in the run text box and hit enter. This will start up the MS CONFIG diaglog box. Click on the StartUp tab and take a screen shot and paste it somewhere such as an email to yourself with the subject of the email saying windows cloud server. Uncheck all the apps in this tab. Then Click on the Services tab and in the lower left of that tab, click on the check box that says HIDE ALL Microsoft SERVICES. Take a screen shot again of all these non-Microsoft services and paste them into your email or clip board. Then click on the disable all button, click on the apply button and then OK, and do NOT say yes to the reboot yet as the next steps will handle that.
3) As you already know, right click in XenCenter on the left menu on the windows cloud server and select the UPGRADE XenTools option. Clicking on the General tab in XenCenter shows you the state of the xenTools install as when completed it should say in the middle of the screen - Virtualization sate: Optimized (version 6.x installed)
4) After doing the above step, assuming you have logged into that particular windows cloud server, right click on the xentools msi file in your windows explorer and start the install. Go through the install and it will ask you to reboot so let it reboot. As it reboots it sometimes reboots a second time after a couple of minutes. When it reboots and the DONE button shows on your screen, click on the Done button as you are almost done.
5) Turn back on your anti virus program. Click on the the start menu item on lower left corner of your screen, select the RUN option and enter MSCONFIG in the run text box and hit enter. This will start up the MS CONFIG diaglog box. Click on the StartUp tab and look at your saved screen shot you took and turn on everything that was checked in this tab. Then Click on the Services tab and in the lower left of that tab, click on the check box that says HIDE ALL Microsoft SERVICES. Look at your saved screen shot and check all the check boxes that match your screen shot. Then click the Enable button then OK. This time say Yes to the reboot option and let the windows cloud server reboot once more.
6) Once rebooted you are done and when you click on the General tab in XenCenter, it should say in the middle of the screen - Virtualization sate: Optimized (version 6.x installed) You should be able to complete the above in less than 15 minutes.
7) What if I still have a hanging problem? On a small percentage of windows cloud server virtual machines, you may have to actually uninstall the anti virus program as an additional step in step 2 above. Then you have to reinstall the anti virus program again after step 6 above.