When you install or upgrade the Symantec Endpoint Protection (SEP) client or manager you see the following error:
"Symantec Endpoint Protection has detected that there are pending system changes that require a reboot. Please reboot the system and rerun the installation."
In the SEP_Inst.log (located in %TEMP% or in %Windir%\temp) log you may see the following:
(NOT MIGRATIONPENDINGREBOOT) OR SISFAILED=1
TIP: For information relating to Pending Reboot Scenarios for Symantec Endpoint Encryption, see the following article:
214719 - Symantec Endpoint Encryption Pending Reboot Feature
The "PendingFileRenameOperations" registry entry contains information about files that Windows has marked to replace after restarting the computer.
This entry is located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\
.
To resolve this error, restart the computer, which clears the information in the "PendingFileRenameOperations" registry key.
To prevent this error from occurring in the future, immediately restart the computer after you install an application or driver.
If the error persists after you restart the computer, follow these steps:
{NOTE_WINDOWS_REGISTRY.EN_US}
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\BackupRestore\KeysNotToRestore
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
For new installations, you may also need to remove the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec_Installer
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Symantec_Installer
Executable images and DLLs are memory-mapped when they are used, which makes it impossible to update core system files after Windows finishes booting. The MoveFileEx Windows API has an option to delay a file move until the next boot.
Any Service Pack or hot fix that update in-use, memory-mapped files install replacement files into a temporary location on the computer, and use MoveFileEx to replace files that are otherwise in use. MoveFileEx simply records commands in the PendingFileRenameOperations and PendingFileRenameOperations2 values under the registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager.
These registry entries are a REG_MULTI_SZ data type, which specifies each operation in pairs of file names: the first file name is the source location, and the second is the target location. Delete operations use an empty string as their target path.
The PendingFileRenameOperations key 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.
Windows adds this entry to the registry when a user or program tries to rename a file that is in use. The file names are stored in the value of this entry until you restart the computer and the operating system renames the files.