Answer
PROBLEM
GFI WebMonitor is installed in an environment with multiple domains. When trying to add users or groups to a policy, the auto-complete takes a long time to enumerate the list of users and groups.
ENVIRONMENT
- GFI WebMonitor
- All supported environments
SOLUTION
Configure GFI WebMonitor to enumerate users and groups from the local domain only:- Open ..\GFI\WebMonitor\WebMon.WinService.exe.config with a text editor
- Add the following under the <configuration> tag at the beginning of the file:
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WebMon.Net.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
The beginning of the file should look like this:
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WebMon.Net.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
- Add the following at the end of the file before the </configuration> tag:
<applicationSettings>
<WebMon.Net.Properties.Settings>
<setting name="localDomainOnly" serializeAs="String">
<value>True</value>
</setting>
</WebMon.Net.Properties.Settings>
</applicationSettings>
The end of the file should look like this:
<applicationSettings>
<WebMon.Net.Properties.Settings>
<setting name="localDomainOnly" serializeAs="String">
<value>True</value>
</setting>
</WebMon.Net.Properties.Settings>
</applicationSettings>
</configuration>
- Save changes and close the file
- Re+start the GFI WebMonitor Core Service
- It is recommended to make a backup of GFI WebMon.WinService.exe.config before editing the file
- If the change is not made correctly, the GFI WebMonitor Core service will not start
CAUSE
By default GFI WebMonitor will enumerate all the users and groups from all the existing domains, sub-domains and OUs in Microsoft Active Directory. In large environments with more than one sub-domain and a large amount of existing users in each sub-domain, GFI WebMonitor may take longer to enumerate users and groups in auto-complete when modifying a policy.
The enumeration is only needed for auto-complete in the management console. The time it takes to enumerate the users and groups highly depends on the environment. GFI WebMonitor uses Microsoft Active Directory APIs to perform this enumeration.
The enumeration is only needed for auto-complete in the management console. The time it takes to enumerate the users and groups highly depends on the environment. GFI WebMonitor uses Microsoft Active Directory APIs to perform this enumeration.