• Home
  • Podcast
  • Contact
Ervik.as
Cloud, Cyber Security, EUC, DaaS and HCI
  • Cloud
    • Azure
    • Citrix Cloud
    • Cloud Management
    • Nutanix Clusters
  • Cyber Security
    • Arctic Wolf
    • Cyber Security News
  • EUC
    • Citrix
      • Citrix Analytics
      • Citrix NetScaler
      • Citrix Provisioning
      • Receiver
      • ShareFile
      • Citrix Virtual Apps (XenApp)
      • Citrix Virtual Desktops (XenDesktop)
      • Workspace
      • Workspace app
    • DaaS
      • Azure Virtual Desktop
      • Frame
    • Microsoft
      • HoloLens
      • Microsoft App-V
      • Remote Desktop Services
      • Windows 7
      • Windows 8
      • Windows 10
      • Windows Server 2008
      • Windows Server 2008 R2
      • Windows Server 2012
      • Windows Server 2012 R2
      • Windows Server 2016
    • Thin Clients
      • Igel
      • Wyse
    • VMware
      • Fusion
      • Horizon View
      • Vmware ThinApp
      • Vmware Workstation
    • Parallels
      • Remote Application Server
  • End User Experience
    • ControlUp
    • eG Innovations
    • Goliath Technologies
    • Liquidware
  • Datacenter
    • Backup & Disaster Recovery
      • Altaro
      • HYCU
      • Unitrends
      • Rubrik
      • Veeam Software
    • Containers
      • Docker
      • Red Hat OpenShift
    • Hybrid Multi Cloud
      • Nutanix
        • Nutanix Database Service
        • Files
        • Flow
        • Nutanix AHV
        • Nutanix Cloud Platform
    • Server Virtualization
      • Nutanix AHV
      • Microsoft Hyper-V
      • VMware vSphere
      • Citrix Hypervisor (XenServer)
    • Network & Security
      • Nutanix Flow
      • Palo Alto Networks
  • About
    • Cookie Policy (EU)
    • News
      • Citrix Community News

XenApp/ Cloud

XenApp 7.x Reboot Schedules – 2017 Edition

Alexander Ervik Johnsen Citrix, Citrix Cloud, Reboot, XenApp 2017-06-20

XenApp Reboot scripts

It´s a long time since a XenApp Reboot schedule article was written by Citrix and others. Here is an updated version of XenApp Reboot schedules in 2017 by Citrix.

These enhancements mean that nowadays, many (maybe even most) environments can leverage the built-in reboot mechanism, which is great because that is one less script/customization you need to maintain and worry about. By the way, if you haven’t already, you should also take a moment to read the post Reboot Schedule Internals to get a clearer understanding of how the built-in reboot mechanism works.

However, there are still some gaps around reboot frequency other than daily or weekly and the ability to disable logons on XenApp servers ahead of time in order to minimize disruption to users, which drive the need for some kind of custom, scripted reboot process for some customers.  These requirements seem to be more common in environments with multi-shift 24/7 operations such as call centers, manufacturing, and healthcare.

Citrix received a few common requests for updates, including:

  1. Can we use a reboot script with Citrix Cloud? – Yes we can!
  2. Could I make it easier for people to modify the script as needed? – I can certainly try ????
  3. Wouldn’t it be nice if it had some error handling and logging? – Absolutely!

So, between PowerShell cmdlet updates we have added to the product and these requests for functionality enhancements, I decided it was time for an updated script!  I went ahead and added Citrix Cloud integration, broke up the key parts of the script into functions so it is easier to identify what each chunk of code does, and added basic error handling and event logging.

A few things to consider:

  • Instructions on how to run the script can be found in the script’s comments at the top.
  • This solution is OS agnostic.
  • The script assumes all machine names end with a number.
  • The script requires that you provide the name of the Delivery Group the machines belong to and the parity of the machine to be rebooted.
  • The script must be run as an administrator.
  • You need to create Scheduled Tasks to run the script automatically on a schedule. For an on-premises XenApp environment, the tasks need to be scheduled on a Delivery Controller.  For Citrix Cloud, see below for Citrix Cloud considerations.
  • You will need a Scheduled Task for every group of machines to be rebooted (e.g. Delivery Group #1 – Even, Delivery Group #1 – Odd, …, Delivery Group #n – Even, Delivery Group #n – Odd).
  • You can enable/disable the Citrix Cloud portion with a parameter (see instructions for details).

Read the full Blog post here

Related Posts

XenApp /

Citrix HDX for Dummies Free eBook version 2.5

Cloud /

Google and Goliath Technologies Partner to Deliver ChromeOS Device Monitoring

XenApp /

Citrix positioned as a Leader in the 2019-2020 IDC MarketScape for VCC

Cloud /

Wasabi Technologies and Nutanix Partner to Deliver Next-Gen Capacity Management and Analytics for Unstructured Data Storage

XenApp /

How to Anticipate Citrix End-User Performance Issues with Embedded Intelligence and Automation

‹ Nutanix Remote & Branch Office (ROBO) Solution› Nutanix Acropolis File Services

Back to Top

Crafted in the land of the Vikings 🇳🇴 by Alexander Ervik Johnsen.
Copyright 2000-2025 - www.ervik.as - All Rights Reserved