The beet way on a Windows 10 system is to use PowerShell.
Get-PnpDevice and Disable-PnpDevice are the Cmdlets you'll need. You must use an Administrative PowerShell Console Window.
Get-PnpDevice returns all PNP devices:
PS C:\> Get-PnpDevice
Status Class FriendlyName
------ ----- ------------
Unknown DiskDrive General UDisk USB Device
OK System Motherboard resources
OK System Motherboard resources
OK System Motherboard resources
OK HIDClass HID-compliant vendor-defined device
So we narrow it down with Where-Object (alias ?):
PS C:\> Get-PnpDevice | ?{$_.FriendlyName -match 'touch screen'}
Status Class FriendlyName
------ ----- ------------
OK HIDClass HID-compliant touch screen
Then we pipe it to Disable-PnpDevice:
PS C:\> Get-PnpDevice | ?{$_.friendlyname -match 'touch screen'} | Disable-PnpDevice
Confirm
Are you sure you want to perform this action?
Performing the operation "Disable" on target "Win32_PnPEntity: HID-compliant touch screen (DeviceID =
"HID\VID_04F3&PID_24E3&COL01\6&34FA9EF5&...)".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
PS C:\>
If you wish to disable without cnfirmation, use the -Confirm parameter with a value of $False:
PS C:\> Get-PnpDevice | ?{$_.FriendlyName -match 'touch screen'} | DISable-PnpDevice -Confirm:$False
PS C:\>