Avatar of Aaron Antczak
Aaron Antczak
Flag 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.
Powershell

Avatar of undefined
Last Comment
rastoi

8/22/2022 - Mon
rastoi

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

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
rastoi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rastoi

nothing to add
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23