Programmatically change keyboard to Dvorak
问题 Does anyone know the API call I can use to change the keyboard layout on a windows machine to Dvorak? Doing it through the UI is easy but I'd like to have a script that I can run on new VM's to automate the process. 回答1: I may be four years late to the party, but did you ever find this: Intlcfg Command-Line Options I don't have Windows Vista (very bad habit, Windows), but looking at this page and also at Available Language Packs and Default Input Locales I reckon the command you want might