When upgrading a CCS component or applying a SCU, you get the following error:
Error while copying the file "<Path_to_file\filename>". Refer to the installation log for details.
The file can be located at the temporary location: "C:\Program files (x86)\Symantec\CCS\Reporting and Analytics\UndeployedFiles".
Copy the file, and then delete it from the temporary location.
NOTE: The path and the filename in the error may vary. See an example below:
Release : 12.5.x
Component : CCS upgrade
The file was locked or in use when CCS tried to replace it during the upgrade.
During the upgrade, the CCS installer could not apply or replace a file because it was in use or locked. When this happens, CCS will continue the upgrade, but will put the file in the C:\Program files (x86)\Symantec\CCS\Reporting and Analytics\UndeployedFiles directory. You will need to manually move the file in the UndeployedFiles directory to the proper place for CCS to work correctly.
It is recommended to reboot a CCS component (i.e. Application Server, CCS managers, etc) just before upgrading to make sure there are not any files that are in use or locked to avoid this error.