来自Active Directory的其他键盘设置
我们公司有一些用户需要使用额外的键盘,以实现其他pipe理员写的VBS脚本,当某个用户在一个特定的组login到机器时运行VBS脚本(这被设置为GPO应用于这些用户)。 最近有些用户join了这个组织,他们需要其他语言的键盘,所以我在脚本中增加了一些额外的字段。 新的脚本似乎在从未有过这种键盘设置的机器上工作正常,但对于那些有人用旧的键盘脚本login的机器,由该脚本设置的键盘仍然强制执行,没有额外的键盘似乎被应用到新机器上。 这是我正在尝试使用的脚本: Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") 'Portugese WshShell.RegWrite "HKCU\Keyboard Layout\Preload\2", "00000816", "REG_SZ" 'Japanese WshShell.RegWrite "HKCU\Keyboard Layout\Preload\3", "00000411", "REG_SZ" 'Japanese WshShell.RegWrite "HKCU\Keyboard Layout\Preload\4", "e0010411", "REG_SZ" 'Chinese WshShell.RegWrite "HKCU\Keyboard Layout\Preload\5", "00000804", "REG_SZ" 'Chinese WshShell.RegWrite "HKCU\Keyboard Layout\Preload\6", "e00e0804", "REG_SZ" 'Arabic Libya WshShell.RegWrite "HKCU\Keyboard Layout\Preload\7", "0000040c", "REG_SZ" 'German WshShell.RegWrite "HKCU\Keyboard Layout\Preload\8", "00000407", "REG_SZ" 'Swedish WshShell.RegWrite […]