SafeGuard Enterprise client: Error message 5002 during the installation
During the installation of the SafeGuard Enterprise client the following message is displayed:
Error 5002: Some pending file operations were detected.
Please restart this machine in any case before you start the installation again!
Known to apply to the following Sophos product(s) and version(s)
SafeGuard Device Encryption
All supported Operating Systems
What To Do
This section describes several procedures which you may need to carry out, together with the technical background to this issue.
- 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 SGN the registry key “PendingFileRenameOperations” is checked. If it exists the installation will be aborted.
What is the ‘PendingFileRenameOperations’ value for:
This value allows applications to delete or replace files (EXEs, DLLs etc.) that are currently in use by the operating system in a delayed way:
By entering the file path in the
HKLM\System\CurrentControlSet\Control\SessionManager\PendingFileRenameOperationsregistry value (REG_MULTI_SZ), an application instructs the OS to delete the respective file during the next boot phase. The OS then cleans up the registry value by itself. This cleanup procedure may not always work reliably.
Solution 1 (recommended):
- Reboot the system before the installation is started.
Solution 2 (should only be used when Solution 1 has not been successful):
- Temporarily rename the PendingFileRenameOperations value (select the “PendingFileRenameOperations” item and press ‘F2′ or right click and select ‘Rename’) to PendingFileRenameOperations_Backup before starting the SafeGuard Enterprise Client installation.Rename it back to the original value after the SafeGuard Enterprise Client installation (incl. SafeGuard Enterprise Client Configuration package and successive reboot) completed.
Solution 3 – 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.