I need to programatically enable/disable the
Automatically show the touch keyboard
I ended up using
Process Monitor as stated in this answer to detect what registry value was being modified while changing the setting. So to enable/disable the
Automatically show the touch keyboard option the registry value you have to change:
With a simple command you can enable/disable this:
reg add "HKCU\Software\Microsoft\TabletTip\1.7" /v EnableDesktopModeAutoInvoke /t REG_WORD /d 1 /f
Just change between 1 and 0 to enable/disable it.