Is there any way to programmaticly disable a device? (preferably in .net, win32, or batch).
Most hits on google suggest using devcon but it does not seem to be working on Windows Vista/7 64bit.
http://stackoverflow.com/questions/252185/-net-how-do-i-disable-a-system-device has a solution using SetupDiSetClassInstallParams but it also doesn't work for Vista64.