Change regional and language options in BATCH
How can I change the regional and language options in Windows XP and 7 using batch code?
I want to change the "Standards and formats" to Mexican Spanish with a .bat file.
windows batch-file settings options regional
add a comment |
How can I change the regional and language options in Windows XP and 7 using batch code?
I want to change the "Standards and formats" to Mexican Spanish with a .bat file.
windows batch-file settings options regional
fullImportFile.reg
source code sample?
– Kiquenet
Dec 21 '15 at 13:51
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21
add a comment |
How can I change the regional and language options in Windows XP and 7 using batch code?
I want to change the "Standards and formats" to Mexican Spanish with a .bat file.
windows batch-file settings options regional
How can I change the regional and language options in Windows XP and 7 using batch code?
I want to change the "Standards and formats" to Mexican Spanish with a .bat file.
windows batch-file settings options regional
windows batch-file settings options regional
edited Dec 21 '15 at 13:51
Kiquenet
7,00227110192
7,00227110192
asked Feb 10 '14 at 23:11
user3108594user3108594
1002312
1002312
fullImportFile.reg
source code sample?
– Kiquenet
Dec 21 '15 at 13:51
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21
add a comment |
fullImportFile.reg
source code sample?
– Kiquenet
Dec 21 '15 at 13:51
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21
full
ImportFile.reg
source code sample?– Kiquenet
Dec 21 '15 at 13:51
full
ImportFile.reg
source code sample?– Kiquenet
Dec 21 '15 at 13:51
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21
add a comment |
1 Answer
1
active
oldest
votes
Those settings are in the registry under HKCUControl PanelInternational
You can use reg.exe to make the changes manually. The easiest way to do that is to manually change your region and language to spanish (mexico) open a cmd window and type reg query "HKCUControl PanelInternational"
which will show you the values as you want them. Then to modify them, use REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d es-Mx /f
for each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
The other option is to just export the HKCUControl PanelInternational
hive to a .reg file and just import it into the registry using regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
And forWindows Server 2008 R2
?
– Kiquenet
Dec 21 '15 at 13:53
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21689831%2fchange-regional-and-language-options-in-batch%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Those settings are in the registry under HKCUControl PanelInternational
You can use reg.exe to make the changes manually. The easiest way to do that is to manually change your region and language to spanish (mexico) open a cmd window and type reg query "HKCUControl PanelInternational"
which will show you the values as you want them. Then to modify them, use REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d es-Mx /f
for each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
The other option is to just export the HKCUControl PanelInternational
hive to a .reg file and just import it into the registry using regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
And forWindows Server 2008 R2
?
– Kiquenet
Dec 21 '15 at 13:53
add a comment |
Those settings are in the registry under HKCUControl PanelInternational
You can use reg.exe to make the changes manually. The easiest way to do that is to manually change your region and language to spanish (mexico) open a cmd window and type reg query "HKCUControl PanelInternational"
which will show you the values as you want them. Then to modify them, use REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d es-Mx /f
for each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
The other option is to just export the HKCUControl PanelInternational
hive to a .reg file and just import it into the registry using regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
And forWindows Server 2008 R2
?
– Kiquenet
Dec 21 '15 at 13:53
add a comment |
Those settings are in the registry under HKCUControl PanelInternational
You can use reg.exe to make the changes manually. The easiest way to do that is to manually change your region and language to spanish (mexico) open a cmd window and type reg query "HKCUControl PanelInternational"
which will show you the values as you want them. Then to modify them, use REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d es-Mx /f
for each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
The other option is to just export the HKCUControl PanelInternational
hive to a .reg file and just import it into the registry using regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
Those settings are in the registry under HKCUControl PanelInternational
You can use reg.exe to make the changes manually. The easiest way to do that is to manually change your region and language to spanish (mexico) open a cmd window and type reg query "HKCUControl PanelInternational"
which will show you the values as you want them. Then to modify them, use REG ADD "HKCUControl PanelInternational" /t REG_SZ /v LocaleName /d es-Mx /f
for each value replacing what is after /v with the appropriate name and what is after /d with the appropriate value.
The other option is to just export the HKCUControl PanelInternational
hive to a .reg file and just import it into the registry using regedit /s ImportFile.reg
You may need to refresh the registry after the import to see the changes. This usually involves a reboot but try adding the following as the last line in your batch file instead. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
answered Feb 11 '14 at 12:26
Matt WilliamsonMatt Williamson
5,81611229
5,81611229
And forWindows Server 2008 R2
?
– Kiquenet
Dec 21 '15 at 13:53
add a comment |
And forWindows Server 2008 R2
?
– Kiquenet
Dec 21 '15 at 13:53
And for
Windows Server 2008 R2
?– Kiquenet
Dec 21 '15 at 13:53
And for
Windows Server 2008 R2
?– Kiquenet
Dec 21 '15 at 13:53
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21689831%2fchange-regional-and-language-options-in-batch%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
full
ImportFile.reg
source code sample?– Kiquenet
Dec 21 '15 at 13:51
Have a look at DISM commands too:DISM Languages and International Servicing Command-Line Options technet.microsoft.com/en-us/library/hh825081.aspx
– David d C e Freitas
Sep 19 '17 at 21:21