How to set the compatibility of Microsoft input method through cmd or code?

windows0 1 Reputation point
2021-10-10T01:03:56.483+00:00

I tried to change the registry to set the input method, but it must be restarted, which is even more troublesome. How do I set up the Microsoft input method through cmd or code?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,113 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,507 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
467 questions
{count} votes