FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
jie
Staff
Staff
Article Id 408213
Description This article describes how to add the EMS pre-defined hostname setting manually.
Scope FortiClient EMS v7.0 and v7.2.
Solution

By default, 'Pre-defined hostname' is greyed out and it cannot be modified through the EMS GUI, as shown in the picture below.

 

Pre-defined hostname.PNG

 

For some reason, adding a new hostname to EMS can be done via the following steps:

  • Take a VM snapshot of the EMS server for recovery purposes. 
  • In the Windows Server, navigate to the directory 'C:\Program Files (x86)\Fortinet\FortiClientEMS\Fcm\fcm'.

 

settings.PNG

 

  • Locate the file settings.py -> Open with Notepad or Notepad++.
  • Edit the line below and save it:

 

PREDEFINED_ALLOWED_HOSTS = ['127.0.0.1','R2D2-kvm72','localhost']

 

Pre-defined hostname.PNG

 

  • Reboot the server for it to take effect.
Contributors