Windows – Proper Registry Key Needed for Script to Disable/Enable Windows 10 Touch Screen

device managertouchscreenwindows 10windows-registry

I know that:

  1. My Windows 10 Device manager has the "HID-compliant touch screen" hardware that I can set to "disabled" to turn off my touch screen.
  2. I can create a short script in notepad to edit the Registry of a device (see Pathusclass's answer).

But what registry key I would need to access and what value to set it to in order to make such a short cut to disable/enable my touch screen?

Best Answer

Microsoft provides a tool, devcon.exe, that they claim can enable/disable devices from the command line (or a batch script, or a shortcut, etc.). This may allow you to do what you want (without a registry key).