When you uninstall the OfficeScan server and then reinstall it by selecting the typical installation, the clients will no longer communicate with the server and they will appear as offline in the console. This happens because in every new installation, the Client Local Server Port number will be chosen randomly during the server install and will not match with the Client Local Server Port number of existing clients.
This article contains a procedure to uninstall and reinstall the OfficeScan server while ensuring that existing clients will remain online.
To retain the communication between the server and clients when reinstalling the OfficSscan server:
- On the Officescan Server, open the ..\PCCSRV\ofcscan.ini file and take note of the following entries:
- Master_DomainName
- Master_DomainPort
- Client_LocalServer_Port
- Make a backup copy of the certificate for the secure server initiated communications using the Authentication Certificate Manager tool:
- Open an admin Command Prompt (Right-click Run As Admin) and change to the ..[OSCE Install Path]\PCCSRV\Admin\Utility\CertificateManager.
- Back up the existing certificate using the following command:
Certificatemanager.exe –b {strong password} {Path to save file; eg: C:\Test\Trendmicro.zip}
Do NOT place this .zip file in the ..\OfficeScan\ directory. Place this in a temporary directory outside of Program Files\Program Files (x86).
- If it exists, uninstall the OfficeScan client component on the server computer using Add/Remove Programs from the Control Panel.
- Uninstall the OfficeScan server using Add/Remove Programs from the Control Panel.
- Reboot the server once the uninstallation is complete.
- Reinstall OfficeScan and then select Custom Installation.
- Enter the information regarding the Client Listening Port that saved previously when required.
- When you reach the Server Authentication Certificate page, select “Import an existing certificate” and then browse to the file created in Step 2. Input the password that was used when running Certificatemanager.exe.
- Since this is a new installation of the console, the database will appear empty. This will be automatically populated and will show the online clients after a few minutes.
- To force the clients to reappear, you can restart the OfficeScan NT Listener service. Another option is to restart the OfficeScan client computer.