net stop vgc & net stop vgk & taskkill /IM vgtray.exe
C:\devmanview-x64\DevManView.exe /RunAsAdmin /disable_enable "ACPI\ELAN2514\4&677e17&0"
the stop vgc and vgk command is based on this script: Stop Riot Vanguard
requires devmanview installed in whatever path you want, and the correct device name for your touchscreen (Devmanview can help find the device name)
Download devmanview here: https://www.nirsoft.net/utils/device_manager_view.html
the link is at the bottom. If you have a 64-bit system, you have to install the 64-bit version of devmanview or it won't be able to actually enable and disable devices.
Once you have devmanview installed, and the correct file path, and the correct device name, you should be able to put it all in a batch (.bat) file so you can just run it from there. Because devmanview has to run as an administrator to enable/disable devices, it will ask for permission every time.