After attempting to deploy the encryption agent to an endpoint computer the following error is reported to the console:
00000052 Installation of the Sophos Encryption Agent failed because the computer must be restarted to complete the installation of another application.
First seen in
Sophos Disk Encryption 5.61.0
This error occurs if a previous installation ended without the reboot required to complete the installation. You must reboot the system (under some circumstances, several times) until the installation process can be restarted.
During the installation of Sophos Full Disk Encryption the registry key 'PendingFileRenameOperations' (
HKLM\System\CurrentControlSet\Control\SessionManager\PendingFileRenameOperations) is checked. If it exists the installation will be aborted.
What To Do
Below we describe several procedures which you may need to carry out, together with the technical background to this issue.
Solution 1 (recommended)
Reboot the system before the installation is started.
Solution 2 (should only be used when 1 has not been successful)
Renaming the key before the Sophos Full Disk Encryption installation and renaming it back after the installation and the following reboot (which, indeed, are two reboots, the second one implicitly triggered by Sophos).
Deleting the 'PendingFileRenameOperations' value. This would simply render previous installation or upgrade procedures useless.
If this error occurs and the registry key is not present.
Open Windows explorer and check to see if the hidden system folder "config.msi" exists. If so, clean up the contents of this folder and then delete the folder.
What is the 'PendingFileRenameOperations' value for?
For more information see: Microsoft TechNet: PendingFileRenameOperations