Change Touchscreen input via registry (changing Volume GUID in path), or similar

0

I have to deploy a sysprepped version of Win10 to a larger number of devices. The device has two screens, one is a touchscreen.

When configuring the image, I can set the touchscreen onput to the right monior but the settings does not survive Sysprep /generalize. Likely, because the Volume GUID is in the path of the registry being changed.

How can I execute a command that queries the Volume GUID and utilizes it?

Example of Registry path:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bam\State\UserSettings\S-1-5-21-1588850893-71808186-600453964-503]

"\\Device\\HarddiskVolume4\\Windows\\System32\\rundll32.exe"=Have to change the HEX value here"

Path and values needed, I grabbed with ProcMon, changing the setting manually, using "Tablet PC Settings" in Control Panel (only present when you have a touchscreen).

Any additional way to go about this is also of interest of course. Executing it in setupcomplete.cmd prior to first-logon, or on first logon should be fine, just has to happen automatically.

Many thanks.

Zaxxon

Posted 2019-04-22T20:26:20.397

Reputation: 11

No answers