### Maintaining RD Session Hosts Based on a Template If you need to perform a scheduled maintenance of RD Session Hosts that were created from a template, please follow these steps: Create a schedule that fits your maintenance window to drain a desired RD Session Host group. During maintenance (or right before it) switch the template to the maintenance mode. Then apply the necessary changes. The schedule disables groups provisioned by the template (while the maintenance window lasts) which leads to removing (unassigning) all guest VMs from them. Release the template from maintenance and click Yes when asked whether to recreate all clones. Enable groups which were disabled in step 3 (above). At this point, the groups will begin receiving guest VMs to comply with the Keep Available Buffer setting. From this point forward, groups are provisioned with VMs on demand.