When the OfficeScan/Apex One server's IP address or hostname is modified, the OfficeScan/Apex One server settings must be updated to avoid issues with server functionalities.
This article discusses the steps in performing these OfficeScan/Apex One server modifications.
After changing the server's IP address or hostname:
- Stop the OfficeScan Master Service.
- Click Start > Run > then type "services.msc". The Services window will open.
- Right-click OfficeScan Master Service and select Stop.
- Back up the following files:
- ...\PCCSRV\ofcscan.ini
- ...\PCCSRV\OfUninst.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
- 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% - Open the OfUninst.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% - 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% - 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/ - 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.
- Open the service.ini file using a text editor and modify the values of the following lines:
HTTPS_CERT=%NEW IP or Hostname%
- Modify the shortcut file OfficeScan Web Console (HTML):
- 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) - 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)
- Open the properties of ...\PCCSRV\OSCE Web console (HTML):
- Modify the shortcut in the start menu:
- 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%> - Open the properties of readme link in Windows start menu:
[Shortcut]
Target=\\<%New IP or Hostname%>\ofcscan\readme.htm - Open the properties of system logon script in Windows start menu:
[Shortcut]
Target=\\<%NEW IP or Hostname%>\ofcscan\SetupUsr.exe
- Open the properties of OfficeScan Web console (HTML) in Windows start menu:
- 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\
-
- Modify the following items for apache:
- Stop Apache service.
- 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% - Start Apache service.
- Save the changes.
- Restart the OfficeScan Master Service and then log into the OfficeScan web console.