Set the following in the registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0501\1\Device
Parameters]
"SkipEnumerations"=dword:ffffffff
The above is for port 1, for port 2 use ...\2\Device Parameters
Google skipenumerations for more info if desired / needed.
You might also need to add /fastdetect to BOOT.INI similar to this:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /noexecute=optin /fastdetect /bootlogo /noguiboot
That will affect all ports though, and I'm not sure if it will be needed
or not.
Hope this helps,
Dave
You got me started down what looked like the right path but the COM1 and COM2
ports don't seem to be ACPI and were in the 'Root' instead. And the entry
wasn't the port number '1' but was 'PnPBIOS_12'. When I set that key's
SkipEnumerations value then I stopped getting the 'new hardware found'.
Unfortunately, now the port isn't even seen so I can't use COM1:.
When the new hardware wizard would come up, if I went to the next screen of
the dialog there was a check-mark to say not to ask me again and if I checked
that then I didn't see it on subsequent boots but was still able to use the
COM port. What I need is to be able to set whatever it is that checkbox does
in my target design file.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\*PNP0501\PnPBIOS_12\Dev
ice Parameters\SkipEnumerations