It is checking for the driver registry entries.
The reason is that when the registry entries are present, the service may be started a milisecond later - and the computer would freeze. So, it’s simply not enough to check for running services - they may be started in a while (the autostart order is rather indeterministic in Windows).