How do I remove the USB storage device driver from Windows XP, such that the next time a USB storage device is plugged in the Plug-and-Play infrastructure will install the driver before mounting the device? I tried deleting USBSTOR.SYS, but Windows automagically restores it a few seconds later.
I want to use MS KB 823732 to temporarily USB storage devices by setting the
HKLM\...\Services\UsbStor registry key to "4". However, this article states that this only works if a USB storage device is already installed on the PC.
If a USB storage device is NOT already installed then:
Windows' plug & play subsystem automatically resets the Start value to 3 (Manual) when it installs USBSTOR after a USB storage device is plugged in for the first time
I want to test my application's behavior in the case that a USB storage drive is not installed, but I don't know how what to remove to do that.