"Wanna" ransomware outbreak. Please see this Sophos article sophos.com/kb/126733 for advice on how to protect your organization. Immediate action recommended.
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.
Below we describe several procedures which you may need to carry out, together with the technical background to this issue.
Reboot the system before the installation is started.
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.
For more information see: Microsoft TechNet: PendingFileRenameOperations
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.