F
F
FilimoniC2013-09-09 11:37:57
Windows
FilimoniC, 2013-09-09 11:37:57

Change Windows interface language "from script"

Good afternoon! There was a problem: you need to conditionally change the display language of the user interface in Windows 2008 R2.
"Pitfalls" like re-login seem to be taken into account, it is understood that the required language is already installed.
The question is how can this be done "from the command line" - it doesn't matter, PowerShell, CLI, VBScript, through the Registry, through COM objects, ... - but only so that it can be done automatically.
I immediately warn you that it is not suitable for politicians, since it is not known to whom to hang which policy.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
GRADUSnick, 2013-09-09
@GRADUSnick

Regshot tracked the registry change when applying the new language (ru-RU) from the Windows 8.1 Control Panel, the following file was obtained (after cleaning the garbage):

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"PreferredUILanguagesPending"=hex(7):72,00,75,00,2d,00,52,00,55,00,00,00
; это ru-RU в hex

[HKEY_CURRENT_USER\Control Panel\Desktop\LanguageConfigurationPending]
"ru-RU"=hex(7):65,00,6e,00,2d,00,55,00,53,00,00,00,00,00
; это en-US в hex

checked on a clean system - applied the file, rebooted - the system changed the language from English. in Russian
99% that such a tweak will work for 2008 as well, because the architecture is identical.
well, import the tweak via reg

N
Nikolai Turnaviotov, 2013-09-09
@foxmuldercp

try looking here
superuser.com/questions/353752/windows-7-change-region-and-language-settings-using-a-script

G
GRADUSnick, 2013-09-09
@GRADUSnick

Dism /image:C:\test\offline /Set-UILang:fr-FR

G
GRADUSnick, 2013-09-09
@GRADUSnick

powershell-Set-WinSystemLocale ja-JP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question