Citrix Server stays down after scheduled reboot

We had the situation that randomly some Terminalserver stayed down after the scheduled reboot from Studio. They needed to be restarted  manually. To avoid this Problem following will do the trick. Create a GPO with the below registry entries on all DDC and restart the broker service. Also on Restart Schedule on DDC at restart duration kindly select restart all machines with in 30 minutes or 1 hr instead of all at the same time. HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\DesktopServer\RebootSchedule Name: ShutdownTimeoutRecovery Type: DWORD Value: 1 (Decimal) HKEY_LOCAL_MACHINE\Software\Citrix\DesktopServer Name : MaxRegistrationCompletionTimeSecs Type : Reg_Dword Value : 2400(Decimal) Name : MaxFailedRegistrationsAllowed Type : Reg_Dword Value : 0xFFFFFFFF (Hex)