Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows computer with two simple plug-n-play USB mice connected. By default, both mice have control over the pointer. I am looking for a tool/command line command that allows me to switch one mouse off temporarily.

share|improve this question
I don't believe what you want is possible unless you disable/enable the device yourself. What version of Windows are you using exactly? – Ramhound Aug 22 '13 at 13:33
What is the problem you're trying to solve by doing this? It sounds like it would be easily solved by simply not using the other mouse. – Oliver Salzburg Aug 22 '13 at 13:48

You can use utility called DevCon.exe, it's available somewhere at Microsoft Download center or thanks to SlySoft in

Install Virtual Clone Drive and copy DevCon.exe from C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive to C:\Windows\System32.

Then find Vendor and Part ID of your mouse. Run Windows device manager devmgmt.msc, select properties of your mouse and find ID string:

enter image description here

At last, run from cmd or save to .bat file: DevCon.exe disable HID\VID_045E&PID_0745* and DevCon.exe enable HID\VID_045E&PID_0745*. (replace with your mouse dev ID)

Use DevCon.exe Help for more info.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.