Situatie
You can run a command in Windows Terminal to disable touchscreen. To do this, you’ll need to launch Windows Terminal as an admin. Right-click the Windows icon in the taskbar (or press Windows+X) to open the Power User menu. Next, click “Windows Terminal (Admin)” near the middle of the menu.
Solutie
- In Windows Terminal, run this command:
- Get-PnpDevice | Where-Object {$_.FriendlyName -like ‘*touch screen*’} | Disable-PnpDevice -Confirm:$false
- Once you run the command, touchscreen will be disabled. To reenable touchscreen, run this command:
- Get-PnpDevice | Where-Object {$_.FriendlyName -like ‘*touch screen*’} | Enable-PnpDevice -Confirm:$false
Touchscreen will now be reenabled.