NetSetupSvc is a helper service for installing network drivers and managing low-level network settings. It is trigger-started via RPC and automatically stops after 3 seconds. During normal operation this service is never used. In my case it seems to only be triggered by backup and monitoring software.
On all HPE ProLiant servers I checked, I've noticed that the System log records the service starting and stopping every 6 minutes and 3 seconds, only to then start again a few seconds later. This generates around 500 extra log entries per day and quadruples the logging volume on these servers. This significantly reduces log retention (from 1y to 3mo) and clutters up the System log.
The cause here is the Agentless Management Service (AMS) which polls the system state every 2 minutes (10sec-10min configurable) so that the iLO BMC can display it and forward it on via SNMP. Among other things, it gathers MAC, ip/subnet, VLAN and port teaming information by querying WMI, which seems to use NetSetupSvc to answer these queries.
My ideas on how to deal with his:
- Prevent Network Setup Service from stopping when idle. - There is no documented way to do this. The service still stops even when set to Automatic start.
- Exclude Service Control Manager from log collection for System log. - This should be possible to do, somewhere, but it would completely silence all service activity, which may hinder troubleshooting of system issues.
- Disable Agentless Management Service. - Can be done if the monitoring features aren't needed. This causes a grey info box to display in various iLO menus.
- Get HPE to modify their monitoring software. - I could not find info if this lowlevel network state is obtainable in some other way.
This is mostly a flaw in Windows. Originally, services were always-on, and them starting and stopping during system operation was considered unusual and worth logging. Later, resource optimizations changed various services to manually start/stop via the task scheduler and via trigger events. This created logging noise and made troubleshooting inconvenient (without writing custom xml search filters). I have noticed that in Windows 11, the service start/stop log messages are completely gone.