Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Restoring the renamed "_invalid" files using Windows Powershell in OfficeScan (OSCE)

    • Updated:
    • 17 Oct 2016
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Platform:
    • N/A N/A
    • Windows 10
    • Windows 10 32-bit
    • Windows 10 64-bit
    • Windows 2000 Advanced Server
    • Windows 2000 Professional
    • Windows 2000 Server
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 32-Bit
    • Windows 2008 64-Bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server Core
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2008 Web Server Edition
    • Windows 2008 Web Server Edition 64-bit
    • Windows 2012 Datacenter
    • Windows 2012 Datacenter R2
    • Windows 2012 Enterprise
    • Windows 2012 Enterprise R2
    • Windows 2012 Server Essential R2
    • Windows 2012 Server Essentials
    • Windows 2012 Server R2
    • Windows 2012 Standard
    • Windows 2012 Standard R2
    • Windows 2012 Web Server Edition
    • Windows 2016 Server Core
    • Windows 2016 Server Datacenter
    • Windows 2016 Server Standard
    • Windows 7 32-Bit
    • Windows 7 64-bit
    • Windows 8 32-Bit
    • Windows 8 64-bit
    • Windows 8.1 32-Bit
    • Windows 8.1 64-Bit
    • Windows Vista 32-bit
    • Windows Vista 64-bit
    • Windows XP Home
    • Windows XP Professional
    • Windows XP Professional 64-bit
Summary

OfficeScan renamed several .dll and .exe files with invalid digital signatures. These files were renamed to "<filename>_invalid". Manually removing the "_invalid" suffix on each files is very time consuming and might corrupt these files if misspelled.

Invalid digital signatures

Click image to enlarge.

Details
Public

Users can automatically remove the "_invalid" suffix and restore these file names using Windows PowerShell. In order to restore these invalid file names inside the PCCSRV directory and its sub-directories, perform the following on the OfficeScan server:

  1. Open the Windows PowerShell. Click Start > Programs > Accessories > Windows PowerShell.
  2. Right-click Windows Power Shell and Run as Administrator.
  3. On the Windows PowerShell window, change the current directory to  ...\PCCSRV folder.

    PowerShell directory

    Click image to enlarge.

  4. Enter the following command:

    Get-ChildItem -Recurse -Include *_invalid | Rename-Item -NewName { $_.name -replace "_invalid","" }

    PowerShell command

    Click image to enlarge.

  5. Close Windows PowerShell.
  6. Verify that there are no longer invalid filenames in the PCCSRV directory.
Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1095417
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.