Metricbeat Windows fails to start on reboot - timeout

I'm seeing this issue too, I upgraded from 5.1.0 to 5.4.0 and now on reboot metricbeat fails to start. I enabled debug logging however nothing is logged at all. It seems it's probably starting too soon and requires some dependency service to be started first.

As a workaround I've changed metricbeat to be Automatic Delayed Start.