Fortinet black logo
7.2.0

Delayed Autostart (Windows)

Delayed Autostart (Windows)

When configuring monitors, it is possible for false positives to occur depending upon the order services startup. For information on configuring monitors, see Monitor custom scans in the Add or modify a scan section of the Administration Guide.

Startup example (Service C is monitored):

  1. Machine powers up

  2. Persistent Agent service starts and initiates monitor

  3. Service A starts

  4. Service B starts

  5. Monitor completes

  6. Service C starts

Result: Monitor fails because Service C was not running at the time of the monitor.

Configure Delayed Autostart

Using Registry settings, the Agent Service can be configured for Autostart(Delayed), allowing other services to startup first.

Registry entry: HKLM\SYSTEM\CurrentControlSet\services\BNPagent\DelayedAutostart

Data Type: DWORD (32-bit)

Data Value: 1

Registration Entry: HKLM\SYSTEM\CurrentControlSet\services\BNPagent\AutoStartDelay

Data Type: DWORD (32-bit)

Data Value: Value in seconds (ex: 120 = 2 minutes)

It is recommended to test these settings on a machine first to validate the delay is long enough. Once validated, push the registry entries to the Windows machines using a software management program or Group Policy. Note: Once settings are pushed to machines, they may require a reboot in order for the settings to apply.

Reference:

https://social.technet.microsoft.com/Forums/Lync/en-US/d8f0e315-74d4-4890-a62f-ef427a8532e1/adjusting-the-autostart-delayed-start-time?forum=winservergen

Delayed Autostart (Windows)

When configuring monitors, it is possible for false positives to occur depending upon the order services startup. For information on configuring monitors, see Monitor custom scans in the Add or modify a scan section of the Administration Guide.

Startup example (Service C is monitored):

  1. Machine powers up

  2. Persistent Agent service starts and initiates monitor

  3. Service A starts

  4. Service B starts

  5. Monitor completes

  6. Service C starts

Result: Monitor fails because Service C was not running at the time of the monitor.

Configure Delayed Autostart

Using Registry settings, the Agent Service can be configured for Autostart(Delayed), allowing other services to startup first.

Registry entry: HKLM\SYSTEM\CurrentControlSet\services\BNPagent\DelayedAutostart

Data Type: DWORD (32-bit)

Data Value: 1

Registration Entry: HKLM\SYSTEM\CurrentControlSet\services\BNPagent\AutoStartDelay

Data Type: DWORD (32-bit)

Data Value: Value in seconds (ex: 120 = 2 minutes)

It is recommended to test these settings on a machine first to validate the delay is long enough. Once validated, push the registry entries to the Windows machines using a software management program or Group Policy. Note: Once settings are pushed to machines, they may require a reboot in order for the settings to apply.

Reference:

https://social.technet.microsoft.com/Forums/Lync/en-US/d8f0e315-74d4-4890-a62f-ef427a8532e1/adjusting-the-autostart-delayed-start-time?forum=winservergen