When trying to install the OfficeScan Agent, you get this error:
Unable to install the OfficeScan Agent. There was an error copying tmdbg20.DLL. Please contact your OfficeScan Agent administrator for assistance.
To fix this error, find all the files that have been renamed to xxx_invalid in the PCCSRV (C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV) directory on the OfficeScan server to remove the _invalid part of the filename.
To help you fix the error copying VSAPI32.DLL, here’s a PowerShell script (sourced from Trend Micro themselves):
cd “C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV”
Get-ChildItem -Recurse -Include *_invalid | Rename-Item -NewName { $_.name -replace “_invalid”,”” }/blockquote>
❗ Note: You have to run the PowerShell cmdlet as Administrator.
❗ Note: Don’t forget to change the directory in the first line to the location of your PCCSRV directory on the OfficeScan server hosting the installation files.
Here’s more information on Trend Micro’s _invalid files.