Reputation: 455
I have to disable a specific USB-port with a program or a .bat or a .vbs file.
This program would have to check if the port is enabled, disable this, and if is disabled, enable it.
How can I do this?
Upvotes: 0
Views: 4971
Reputation: 200493
You should be able to do this with devcon
. Note that if you're using Windows 7 you must use the version included with the Windows Driver Kit. Earlier versions will not work correctly on Windows 7.
Upvotes: 2