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

Create a technical support case if you need further support.

Updating the Officescan server configuration after changing the IP address or hostname

    • Updated:
    • 10 Aug 2018
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Platform:
    • Windows 2000 Advanced Server
    • Windows 2000 Server
    • Windows 2003 Enterprise Server
    • Windows 2003 Standard Server Edition
    • Windows 2008 Enterprise Server
    • Windows 2008 Standard Server Edition
    • Windows 2012 Enterprise
    • Windows 2016
Summary

When the OfficeScan server's IP address or hostname is modified, the OfficeScan server settings must be updated to avoid issues with server functionalities.

This article discusses the steps in performing these OfficeScan server modifications.

 
Changing the IP or hostname might cause agents to go offline in the OfficeScan console because the client/agent cannot communicate with or resolve the new IP/hostname. If your clients/agents are offline after changing the IP/hostname, refer to the following KB article to manually transfer OfficeScan clients/agents to a new server IP/hostname: Manually transferring OfficeScan clients/agents using Client Mover I/Ipxfer tool.
Details
Public

After changing the server's IP address or hostname:

  1. Stop the OfficeScan Master Service.
    1. Click Start > Run >  then type "services.msc". The Services window will open.
    2. Right-click OfficeScan Master Service and select Stop.
  2. Back up the following files:
    • ...\PCCSRV\ofcscan.ini
    • ...\PCCSRV\OfcUninst.ini
    • ...\PCCSRV\OSCE Web console(short cut)
    • ...\PCCSRV\Private\ofcserver.ini
    • ...\PCCSRV\Private\Saf\ssnotify.ini
    • ...\PCCSRV\sscfg.ini
    • ...\PCCSRV\Admin\ssnotify.ini
    • ...\PCCSRV\Apache2\conf\Httpd.conf
    • ...\PCCSRV\WSS\service.ini
  3. Open the ofcscan.ini file using a text editor and modify the values of the following lines:

    [INI_SERVER_SECTION]
    MasterDirectory=\\%NEW IP or Hostname%\ofcscan
    Master_DomainName=%NEW IP or Hostname%

    [Scan Now Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Real Time Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Manual Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Prescheduled Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

  4. Open the OfcUninst.ini file using a text editor and modify the values of the following lines:

    [INI_SERVER_UNINST]
    InstallServer=\\%NEW IP or Hostname%
    MasterDirectory=\\%NEW IP or Hostname%\ofcscan
    InstallWorkStation=%NEW IP or Hostname%
    ProgramGroup=Trend Micro OfficeScan Server-%NEW IP or Hostname%

  5. Open the OfcServer.ini file using a text editor and modify the values of the following lines:

    ------------------------ SQL Server only ----------------------------
    [DBServer]
    Server=%NEW IP or Hostname%\OfficeScan

    [PRODUCT_INFO]
    OSCE_URL=https:// %NEW IP or Hostname%:4343/officescan/default.htm
    ---------------------------------------------------------------

    [TMCSS]
    WSS_URL=https:// %NEW IP or Hostname%:4343/tmcss/
    WSS_HTTP_URL=http:// %NEW IP or Hostname%:8080/tmcss/

    [LWCS]
    LWCS_HTTP_URL=http:// %NEW IP or Hostname%:8080/

    [SERVER_HOSTINFO]
    ------------------------ 11, XG only ----------------------------
    HOST_NAME=%NEW Hostname%
    ---------------------------------------------------------------
    IPCount=
    IP1=% NEW IP%

  6. Open the sscfg.ini file using a text editor and modify the values of the following lines:

    [ICRC_CLOUD_SCAN_SERVICE_LIST]
    Local_ScanService=http:// %NEW IP or Hostname%:8080/tmcss/
    Local_WebScanService=http:// %NEW IP or Hostname%:8080/

  7. Open the ssnotify.ini file using a text editor and modify the values of the following lines:

    Local_ScanService=http:// %NEW IP or Hostname%:8080/tmcss/
    Local_WebScanService=http:// %NEW IP or Hostname%:8080/

    Please update in both ...\PCCSRV\Private\Saf\ssnotify.ini and ...\PCCSRV\Admin\ssnotify.ini.

  8. Open the services.ini file using a text editor and modify the values of the following lines:

    HTTPS_CERT=%NEW IP or Hostname%

  9. Modify the shortcut file OfficeScan Web Console (HTML):
    1. Open the properties of ...\PCCSRV\OSCE Web console (HTML):

      [Web Document]
      URL=https://%NEW IP or Hostname%:4343/officescan/ or
      URL=https://%NEW IP or Hostname%:8080/officescan/ (if SSL is not enabled)

    2. Open the properties of OSCE Web console (HTML) on desktop:

      [Shortcut]
      Target= “C:\Program Files (x86)\Internet Explorer\ iexplore.exe” https://%NEW IP or Hostname%:4343/officescan/ or
      URL= “C:\Program Files (x86)\Internet Explorer\ iexplore.exe” https://%NEW IP or Hostname%:8080/officescan/ (if SSL is not enabled)

  10. Modify the shortcut in the start menu:
    1. Open the properties of OfficeScan Web console (HTML) in Windows start menu:

      [Shortcut]
      Target = “C:\Program Files (x86)\Internet Explorer\ iexplore.exe” OSCE server<%NEW IP or Hostname%>

    2. Open the properties of readme link in Windows start menu:

      [Shortcut]
      Target=\\<%New IP or Hostname%>\ofcscan\readme.htm

    3. Open the properties of system logon script in Windows start menu:

      [Shortcut]
      Target=\\<%NEW IP or Hostname%>\ofcscan\SetupUsr.exe

  11. Modify following registry key for 10.6:
      • For x86: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScan Management Console-<%NEW IP or Hostname%>
      • For x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScan Management Console-<%NEW IP or Hostname%>

    Modify the following key:

    InstallServer = <%NEW IP or Hostname%>
    MasterDirectory = <%NEW IP or Hostname%>\ofcscan

      • For x86: HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfficeScan\service\Information
      • For x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TrendMicro\OfficeScan\service\Information

    Modify following key:

    Alias_Path=\\<%NEW IP or Hostname%>\ofcscan\

  12. Modify the following items for apache:
    1. Stop Apache service.
    2. Modify the following in ...\PCCSRV\Apache2\conf\Httpd.conf:

      ServerAdmin %username%@%NEW IP or Hostname%
      ServerName %NEW IP or Hostname%:8080
      <VirtualHost %NEW IP or Hostname%:443>
      ServerName %NEW IP or Hostname%

    3. Start Apache service.
  13. Save the changes.
  14. Restart the OfficeScan Master Service and then log into the OfficeScan web console.
Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1038264
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.