"You must restart the machine before continuing", while installing the CVAD components.
book
Article ID: CTX292892
calendar_today
Updated On:
Description
CVAD-While Installing/Upgrading the Citrix component (Delivery Controller, Storefront,License ) from previous version , it prompts for reboot, "You must restart the machine before continuing".

Resolution
On the DDC VM, run the below steps to identify the pending reboot registry.
- Open an elevated PowerSell session.
- Install-Module PendingReboot ( Internet access required on DDC machine )
- Set-ExecutionPolicy -ExecutionPolicy "Unrestricted")
- Import-Module PendingReboot
- Test-PendingReboot -detailed
- Delete the registry key mentioned in the Powershell output.
- Now the DDC, can be upgraded without restart prompt.
This function will query the registry on a local and/or remote computer and determine if the system is pending a reboot, from Microsoft/Windows updates, Configuration Manager Client SDK, Pending Computer Rename, Domain Join, Pending File Rename Operations and Component Based Servicing.

Location for
PendingFileRenameOperations regkey is
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager.Below example will test the pending reboot status for remote computer dc01, providing detailed information
PS C:\>Test-PendingReboot -ComputerName DC01 -Detailed
Problem Cause
Reboot was pending from the VM side.
Was this article helpful?
thumb_up
Yes
thumb_down
No