DTM pnpdtest.exe /preinstall error

While debugging DTM failures I found the following:

Doing “cleanup” after “preinstall” with pnpdtest causes exception in pnpdtest.exe and leaves the device disabled.

I tried it on the “Microcode Update Device” with DDK 7600 on Windows XP.

pnpdtest.exe /preinstall /device “ROOT\SYSTEM\0001”
pnpdtest.exe /cleanup

Here is the setupapi.log:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0100
Product Type = 1
Architecture = x86
[2009/11/02 15:11:59 3540.2691]
#-198 Command line processed: c:\WinDDK\7600.16385.0\tools\pnpd2\i386\pnpdtest.exe /cleanup
#-166 Device install function: DIF_PROPERTYCHANGE.
#I292 Changing device properties of “ROOT\SYSTEM\0001”.
#I300 DICS_DISABLE: Disabling device for profile (null).
[2009/11/02 15:11:59 3540.3232]
#-198 Command line processed: c:\WinDDK\7600.16385.0\tools\pnpd2\i386\pnpdtest.exe /cleanup
#-166 Device install function: DIF_PROPERTYCHANGE.
#I292 Changing device properties of “HTREE\ROOT\0”.
#I296 DICS_ENABLE: Enabling device for profile (null).

Note the strange enable of HTREE\ROOT\0.
A workaround is to make the device not disableable, but i was wondering if there is some other solution.

Thanks,
Gur