Skip to main content
jie
Staff
Staff
September 3, 2025

Technical Tip: How to manually add EMS pre-defined hostname

  • September 3, 2025
  • 0 replies
  • 273 views
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.