There are some locations on operating system where it stores flag for pending reboot:
Look for presence of '
PendingFileRenameOperations' inside following key:
HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Look for presence of key '
RebootPending' as below:
HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPendingLook for presence of key '
RebootRequired' as below:
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequiredMost of these flags will be cleared with first reboot of operating system.
But in some special cases, '
PendingFileRenameOperations' would continue to remain inside
HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\ even after reboot.
The value '
PendingFileRenameOperations' stores the names of files that the operating system will rename when it restarts. The key consists of pairs of file names. The operating system renames the file in the first item of the pair to match the second item of the pair after the reboot.
In such cases, we should check for the value data of '
PendingFileRenameOperations' from registry to identify the files that are pending for rename. Once we know the application responsible for those files (mostly a 3rd party application), follow below steps:
- Disable 'Citrix Cloud Services Agent WatchDog' to stop the reboot loop temporarily.
- Disable the identified applications service(s) OR uninstall the application completely.
- Delete 'PendingFileRenameOperations' from HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\
- Reboot the server manually and confirm 'PendingFileRenameOperations' doesn't appear any more inside HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\
- Enable 'Citrix Cloud Services Agent WatchDog' to automatic and start this service to begin CC update.
The pending connector update will begin in few minutes.
Run a cloud connector health check after the upgrade to ensure everything is fine.
Problem Cause
The operating system has pending reboot flags on registry or some file rename actions is pending for reboot.