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

Create a technical support case if you need further support.

Silent installation/uninstallation of OfficeScan clients via AutoPCC

    • Updated:
    • 27 Nov 2019
    • Product/Version:
    • OfficeScan 11.0
    • OfficeScan 11.0
    • OfficeScan 11.0
    • OfficeScan XG
    • OfficeScan XG.All
    • Platform:
    • Windows
Summary

This article guides you in performing silent installation/uninstallation of OfficeScan client using the AutoPCC utility. This can be useful when you want to remove the installation/uninstallation pop-up window generated by the autopcc.exe file during the client setup or uninstall process.

Details
Public
  1. On the OfficeScan server, go to ..\Trend Micro\OfficeScan\PCCSRV\Autopcc.cfg folder.
  2. Using Notepad editor, open AutoPCC.INI file.
  3. Under [Install] section, make the following changes:

    [Install]
    SilentInstall=1
    NoPrescan=1

  4. Save and close the file.
  5. Proceed with the installation by running this command on the client machine: \\{Officescan server}\ofcscan\AutoPCC.exe.
  6. Command prompt window for AutoPCC will come up and disappear once client is completely installed.
    Things to check if OfficeScan is successfully installed:
    • TmListen.exe is running on the Task Manager.
    • Shortcut on Start Menu and system tray icon would appear.
    • OfficeScan client folder will appear.
    • "Computer Restart Required" pop-up notification appears.
  1. On the server side, the admin MUST modify the following configuration files. Otherwise, the autopcc uninstallation process will not work.
    • ...PCCSRV/ofcscan.ini

      ----------------------------------
      [Global Setting]
      ...
      ConfirmUninstall=1
      ----------------------------------

    • ...PCCSRV\Autopcc.cfg\AUTOPCC.INI

      ----------------------------------
      [Install]
      Uninstall=1
      SilentInstall=0
      SilentUninstall=1
      ----------------------------------

  2. First remove the uninstall password in the OfficeScan server console > Agents > Agent Management > Settings > Privileges and Other Settings > Uninstallation.
     
    Uninstalling the OfficeScan agent: SELECT)Does not require a password
     
  3. On the OfficeScan server management console, go to Agents > Global Agent Settings > Save.

    This will make sure that the configurations are set and will be deployed to the agents accordingly.

  4. On the agent side, confirm that the following registry exists:

    For 32-bit:

    [HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.]
    "ConfirmUninstall"=dword:00000001
    "NoPwdProtect"=dword:00000001
    "Allow Uninstall"=dword:00000001

    For 64-bit:

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.
    "ConfirmUninstall"=dword:00000001
    "NoPwdProtect"=dword:00000001
    "Allow Uninstall"=dword:00000001

  5. On the agent side, execute the following in the cmd-line:

    {OfficeScan server's hostname}
    \ofcscan\AutoPCC.exe"

  6. Wait for the agent uninstallation UI.
  7. After the UI exits, confirm whether the OfficeScan agent's services, processes, and files have been removed from the system.
Premium
Internal
Rating:
Category:
Install; Uninstall
Solution Id:
1034748
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.