Toggle your touchscreen with just a button! Made to resolve false touch inputs of my Microsoft Surface Pro.
The powershell script looks for your touchscreen device using keywords you provide in the script file. Currently, it's set to Precise touch, which matches the touchscreen of a Surface 5.
It toggles the device from "enabled" to "disabled" or vice versa and displays a small message box for some seconds informing the user of what happened.
Now create a shortcut or use the existing one to pin the script to your start menu or taskbar.
That's it!
- Download the script or all files
- Open the script
touchscreen_toggle.ps1and edit the keywords matching your devices name in the second line of the script. - Create a shortcut
- Right-click on
touchscreen_toggle.ps1and selectCreate Shortcut - Right-click on the Shortcut and select
Properties - Change the
Targetsetting to the path to the script - Change the
Start insetting to the folder containing the script - Change the
Runsetting toMinimized - Check
Run as Administratorin Advanced Properties - Optional: Change the icon to the provided one or your own
- Right-click on
- Pin the Shortcut to your taskbar by dragging it into it or right-clicking
Pin to Taskbar. Or pin it to your start menu with a right-clickPin to Start.