Link to home
Start Free TrialLog in
Avatar of Aaron Antczak
Aaron AntczakFlag for United States of America

asked on

Writing ps to disable touchscreen

While I have most of the ps written to change the registry value "config flag" on a system level I'm running into access issues. The model is HP EliteBook 810 G1 and the driver is Atmel Touch screen which needs to be disabled. Any assistance would be appreciated.
Avatar of rastoi
rastoi
Flag of Slovakia image

what kind of access issues ? And why you need to go to the registry for services ?
What about something like this:
Get-Service | where displayname -like *maxTouch* | Set-Service -StartupType Disabled

Open in new window

Avatar of Aaron Antczak

ASKER

@rastoi We were able to figure out Windows "Devcon", an exe that can run remotely using psexec and query installed drivers, disable/enable and all that. Although I cannot script this to work across multiple devices it can be run without user interaction and disable the touch screen on a system level for all users.

Reference Microsoft Article: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-general-commands
ASKER CERTIFIED SOLUTION
Avatar of rastoi
rastoi
Flag of Slovakia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
nothing to add