I agree that it is a dramatic and surprising result and not at all what I was expecting. I can’t explain why it works as I have no tools to interrogate the early part of the boot process to see what actually is going on. Within Kaspersky Total Security is an analysis tool called ‘Vulnerability Scan’ which I ran with no thought of the slow boot-time. It came back with ‘Autorun from hard drives is enabled’, ‘Autorun from network drives is enabled’, ‘Autorun from removeable drives is enabled’ with suggestions to correct by disabling these entries.
Kaspersky further says that “If the autorun from hard drives option is disabled, then it will not impact your system boot and your system performance. The fix disables only the autorun of the autorun.inffile, which can contain links to launch malicious programs. By default the autorun from hard drives option is disabled.”
Subsequently, when I saw the boot process had speeded up, I did some digging to determine what had changed and a search of the registry found the NoDriveTypeAutoRun entry with a value of 0x1c (decimal 28) covering the three drive types. A test showed the HDD entry alone was sufficient to speed-up booting, value 0x08 (decimal 8) as in my post.
A common feature of the very slow boot time in v2004 that I and other users have experienced is the continuous, heavy access to the HDD after entering login details (which is why some have suggested switching to an SSD). Pinning down why this happens in v2004 but not in earlier versions has been the challenge. The NoDriveTypeAutoRun fix has worked on my machine but I don’t know why.
Editing the registry can indeed be dangerous which is one reason I included the link to Microsoft’s autoplay-reg documentation, not least to provide some insurance if I made a typo in my post.
And a definite thank you for the link to Mark Russinnovich’s autoruns tool.