Citrix Chained Reboot Scripts, now supporting Citrix Cloud, Citrix Virtual Apps and Desktops (CVAD), and XenApp/XenDesktop 5, 6, 6.5, and 7.x!

Share Button

Updated 2018.12.22: Revision 1.9 Now Supports Citrix Cloud!

One script now works with all current and modern versions of XenApp, XenDesktop, Citrix Virtual Apps and Desktops (CVAD), and Citrix Cloud Virtual Apps and Desktops Service from 7.0 and later, through 1811.

In zero-downtime 24/7 environments with shift employees, customers rarely want users to be notified of scheduled or mandatory XenApp server reboots. As a result, most of these environments have reboots disabled or this process is done manually. Unfortunately, this isn’t a good process since the XenApp servers are susceptible to memory leaks which can lead to failure and poor performance. By utilizing the included Chained reboot scripts, environments can take advantage of N+1 overallocation by processing a single server reboot while maintaining the user load on remaining systems. This has been done in such a way that users are not kicked off the system for scheduled reboots.  Instead, the server is removed from load balancing until all sessions have been logged off. Once all sessions have been logged off, the server will go down for a reboot.

Share Button
  1. Hi The Script works now for the first 2 server. We have 4 servers in the Farm XA01 – XA04.
    XA01 & XA02 reboots as expected but then nothing happens again. The last Event Entry is “JW-XA02 rebooted properly, load rebalanced. Proceeding with subsequent servers.” Hopw you can help me to solve this issue.
    Kind regards


    • youngtechyoungtech12-08-2011


      Are you still experiencing this issue with the latest revisions?


      • Robert SkinnerRobert Skinner03-01-2012

        I am experincing this same issue with the latest version. It also varries, from cycling through 2-3 servesr, to going through 8-10, the most being about 20 in our farm. However, it has never cycle through the entire 200 servers.

  2. Hi Many thanks for this script. We have implement the script in our XenApp6 environement. The “Nologon” evaluator get created and also assigned to the first XenApp server. There are no connection on this server, but the server does not reboot. We have installed the SDK on the Datacollector and the srcipts run with the domain Administrator. Could you give me a hint where the problem could be? Does we need to configure something else on the Server or is everything included in the script?
    Kind regards

  3. Martin AmaroMartin Amaro06-06-2011

    Great script and process checking!!

  4. Joshua PostJoshua Post05-12-2011

    I see now you were talking about the Load Evaluator named Advanced, and not the license type Advanced. I’m now researching Load Evaluators and we will be deploying this script soon.

  5. Joshua PostJoshua Post04-04-2011

    I really like the idea of this but we have an Advanced license. Is there any way to do scheduled reboots? I normally don’t have users logged in at night, so I would prefer a script that just checks to see if anyone is logged in and if not, then reboot and if so, then wait.

    Can I use any part of your script for XenApp 5 to achieve this? Or do you have other ideas for an Advanced license?

1 2 3 25

Leave a Reply