Question Is there an app for disabling mouse input ?

stebobibo

Reputable
May 6, 2021
30
2
4,535
I have a Windows 10 desktop PC and I was wondering if anyone knows of an app that can temporarily disable mouse input. Would be ideal if it can just constantly run in the background and be activated via a hotkey.

I've only been able to find this with google searches:
https://apps.microsoft.com/detail/9pkddzhjbgpz?hl=en-US&gl=US
But it doesn't say if it can be activated via a hotkey, or if it runs in the background.
Thanks for your help!
 
I was wondering if anyone knows of an app that can temporarily disable mouse input.
Would be ideal if it can just constantly run in the background and be activated via a hotkey.
Unplugging is the easiest way.
You can also disable mouse in Device Manager.

Or you can write a script, that executes devcon disable command or pnputil disable-device command
and disable mouse.
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-disable

https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-migration

Execute from elevated command prompt, to disable mouse:
pnputil /disable-device /class mouse

Execute from elevated command prompt, to enable mouse:
pnputil /enable-device /class mouse
 
Last edited:

stebobibo

Reputable
May 6, 2021
30
2
4,535
Why do you need an "app" for such a simple operation? Just unplug the mouse when you don't need it and reverse the process when you do need it. Simple.
It's not simple or easy to unplug the mouse and plug back in. IDK why you would think this is easy for everyone. Pressing a hotkey is 1000x faster and easier.
Or you can write a script, that executes devcon disable command or pnputil disable-device command
and disable mouse.
IDK how to write scripts.
Just curious:

What is the reason or requirement driving the need to temporarily disable the mouse?

Disabling the mouse may be completely moot if there is some other problem with perhaps some other way to be resolved.
To clean it. This mouse's surface retains dirt. It's the only mouse I've had that's been like this. But I need to clean it everyday. Else I can feel the dirt.
 
Okay thinking about this as a cheap dirty fix in the since not what a KMV switch is usually bought to use for but it would disable the mouse if you switch the KVM to a port with no computer plugged into it.

You can hit that button like you said 1000x if the other solution are to demanding to figure out.