Windows – change USB vendor id / product id

Under Windows XP, is there any easy way to change or spoof the vendor- and product-id of a USB device? (changing the corresponding descriptive strings would probably be good too)

Say for example there’s a useful program which expects a particular device but you don’t see why you should buy a new one when you have a very similar device already that’s likely to work with the program.

I’ve done lots of Googling and apparently it can be done under Linux so it occurs to me to run Windows in a VM under Linux, but that would be a bit inconvenient.

Solution:

You might be able to do this with devcon (easiest ways to install listed here), a utility provided with the Windows DDK/WDK.  You can find a standalone version suitable for Windows XP at the link.

In particular, devcon‘s sethwid command may be able to do what you’re looking for.  See Examples page for some tutorials.

I’m not sure this will do exactly what you want, but I’ve a strong feeling that it may be as close as you’ll get without writing your own filter driver.  If you do need to write your own driver, grab the WDK and read the devcon sourcecode in srcsetupdevcon.

You may also be able to use devcon in other ways to accomplish your goal, but without further details it’s hard to say exactly how.  Good luck!