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. Brad BordersBrad Borders10-12-2018

    Hoping to download this and attempt to use with XenApp 7.15 as I am hoping the PowerShell commands still function the same. Has anybody tried this? Also, I can’t seem to download the script as the download link doesn’t work.

    • Dane YoungDane Young12-18-2018

      I have updated the ShareFile links, please let me know if you continue to have issues getting the files downloaded.
      Thanks!
      -@youngtech

  2. Marko JMarko J09-17-2018

    Download dont seem to work ..atleast fo rme… .. Sharefile keeps askin username and password…. after entering i land on my sharefile page..

  3. Mani KumarMani Kumar04-01-2018

    Please send me the update.

  4. Brad BordersBrad Borders11-13-2017

    I am looking for a script for weekly rebooting of our PVS servers. I only want the particular worker groups to be rebooted utilizing the script. I want to start the process on Friday evening and have all of the servers rebooted before Monday morning. The servers would remain online throughout the week, and the process would begin again the following Friday. I believe this script would be compatible for these requirements, correct?

  5. Alain P AssafAlain P Assaf07-17-2017

    In line 277 of the Xenapp 7.x script this line “$checkdeliverygroup = @(Get-BrokerDesktopGroup | where-object {$_.Name -eq $deliverygroup -and $_.SessionSupport -eq “MultiSession”})” precludes XenDesktop Delivery Groups. Is this by design? I thought this script to also reboot XenDesktop systems?

Leave a Reply