I have a WPF application that runs on a mix of Windows 10 desktops and tablets. I want to programmatically switch out of Windows 10 tablet mode when the application starts.
I found this link (How can I disable Tablet Mode programmatically?) to show how to make the required registry changes. When I execute my application, I can verify that the registry setting is changed (I use REGEDIT, locate the appropriate key, verify that TabletMode is DWORD 0. But the tablet is still in tablet mode.)
I found another link (Windows 10 tablet mode Registry setting: 'When this device automatically switches tablet mode on or off') that indicates that another registry value is needed to indicate to Windows when to change tablet mode. This does not appear to work either.
Is there another registry setting and/or API call that I need to make to cause Windows to exit tablet mode?