KB: Regional settings default to English when deploying a virtual machine using a template on System Center 2012 Virtual Machine Manager

Published Feb 15 2019 01:41 PM 108 Views
First published on TECHNET on May 23, 2012

Here’s a new Knowledge Base article we published. This one talks about an issue where Regional settings default to English when deploying a virtual machine using a template on System Center 2012 Virtual Machine Manager.

=====

Symptoms

Consider the following scenario:
· A virtual machine is configured to use regional settings other than en-US (example: ja-JP or fr-FR)
· A VM template is created from this virtual machine using System Center Virtual Machine Manager 2012.
· Virtual machines that are created using this template are configured to use the en-US regional settings.

Cause

Deploying virtual machines using a template in System Center Virtual Machine Manager 2012 will override the guest OS language setting with en-US by default.

Resolution

To work around this issue, perform the following steps:
1. Launch the VMM Console.
2. Click on Settings option.
3. Click on PowerShell and execute the below commands on respective Template.
4. $template = Get-SCVMtemplate | where {$_.Name -eq "Template_Name"}
5. $settings = $template.UnattendSettings;
6. $settings.add("oobeSystem/Microsoft-Windows-International-Core/UserLocale","cy-GB");
7. $settings.add("oobeSystem/Microsoft-Windows-International-Core/SystemLocale","cy-GB");
8. $settings.add("oobeSystem/Microsoft-Windows-International-Core/UILanguage","cy-GB");
9. $settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0452:00000452");
10. Set-SCVMTemplate -VMTemplate $template -UnattendSettings $settings

NOTE For Steps 6-9, the regional settings will vary based on the language. Please refer to the following sites for the regional settings that should be used for each language:

Language Pack Default Values
http://technet.microsoft.com/en-us/library/cc766191(v=ws.10).aspx

Default Input Locales
http://technet.microsoft.com/en-us/library/cc766503(v=ws.10).aspx

More Information

Scripts used during MMS 2012 PowerShell session:
http://blogs.technet.com/b/hectorl/archive/2012/04/16/fi-b322-scripts-used-during-mms-2012-powe...

=====

For the most current version of this article please see the following:

2709539 - Regional settings default to English when deploying a virtual machine using a templat...

J.C. Hornbeck | System Center & Security Knowledge Engineer

Get the latest System Center news on Facebook and Twitter :

App-V Team blog: http://blogs.technet.com/appv/
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

The Forefront Server Protection blog: http://blogs.technet.com/b/fss/
The Forefront Endpoint Security blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

%3CLINGO-SUB%20id%3D%22lingo-sub-346159%22%20slang%3D%22en-US%22%3EKB%3A%20Regional%20settings%20default%20to%20English%20when%20deploying%20a%20virtual%20machine%20using%20a%20template%20on%20System%20Center%202012%20Virtual%20Machine%20Manager%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-346159%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20May%2023%2C%202012%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79172iE8D17329B43D4670%22%20%2F%3E%20Here%E2%80%99s%20a%20new%20Knowledge%20Base%20article%20we%20published.%20This%20one%20talks%20about%20an%20issue%20where%20Regional%20settings%20default%20to%20English%20when%20deploying%20a%20virtual%20machine%20using%20a%20template%20on%20System%20Center%202012%20Virtual%20Machine%20Manager.%3C%2FP%3E%0A%20%20%3CP%3E%3D%3D%3D%3D%3D%3C%2FP%3ESymptoms%3CP%3EConsider%20the%20following%20scenario%3A%20%3CBR%20%2F%3E%20%C2%B7%20A%20virtual%20machine%20is%20configured%20to%20use%20regional%20settings%20other%20than%20en-US%20(example%3A%20ja-JP%20or%20fr-FR)%20%3CBR%20%2F%3E%20%C2%B7%20A%20VM%20template%20is%20created%20from%20this%20virtual%20machine%20using%20System%20Center%20Virtual%20Machine%20Manager%202012.%20%3CBR%20%2F%3E%20%C2%B7%20Virtual%20machines%20that%20are%20created%20using%20this%20template%20are%20configured%20to%20use%20the%20en-US%20regional%20settings.%3C%2FP%3ECause%3CP%3EDeploying%20virtual%20machines%20using%20a%20template%20in%20System%20Center%20Virtual%20Machine%20Manager%202012%20will%20override%20the%20guest%20OS%20language%20setting%20with%20en-US%20by%20default.%3C%2FP%3EResolution%3CP%3ETo%20work%20around%20this%20issue%2C%20perform%20the%20following%20steps%3A%20%3CBR%20%2F%3E%201.%20Launch%20the%20VMM%20Console.%20%3CBR%20%2F%3E%202.%20Click%20on%20Settings%20option.%20%3CBR%20%2F%3E%203.%20Click%20on%20PowerShell%20and%20execute%20the%20below%20commands%20on%20respective%20Template.%20%3CBR%20%2F%3E%204.%20%24template%20%3D%20Get-SCVMtemplate%20%7C%20where%20%7B%24_.Name%20-eq%20%22Template_Name%22%7D%20%3CBR%20%2F%3E%205.%20%24settings%20%3D%20%24template.UnattendSettings%3B%20%3CBR%20%2F%3E%206.%20%24settings.add(%22oobeSystem%2FMicrosoft-Windows-International-Core%2FUserLocale%22%2C%22cy-GB%22)%3B%20%3CBR%20%2F%3E%207.%20%24settings.add(%22oobeSystem%2FMicrosoft-Windows-International-Core%2FSystemLocale%22%2C%22cy-GB%22)%3B%20%3CBR%20%2F%3E%208.%20%24settings.add(%22oobeSystem%2FMicrosoft-Windows-International-Core%2FUILanguage%22%2C%22cy-GB%22)%3B%20%3CBR%20%2F%3E%209.%20%24settings.add(%22oobeSystem%2FMicrosoft-Windows-International-Core%2FInputLocale%22%2C%220452%3A00000452%22)%3B%20%3CBR%20%2F%3E%2010.%20Set-SCVMTemplate%20-VMTemplate%20%24template%20-UnattendSettings%20%24settings%3C%2FP%3E%0A%20%20%3CP%3E%3CSTRONG%3ENOTE%20%3C%2FSTRONG%3E%20For%20Steps%206-9%2C%20the%20regional%20settings%20will%20vary%20based%20on%20the%20language.%20Please%20refer%20to%20the%20following%20sites%20for%20the%20regional%20settings%20that%20should%20be%20used%20for%20each%20language%3A%3C%2FP%3E%0A%20%20%3CP%3ELanguage%20Pack%20Default%20Values%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc766191(v%3Dws.10).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc766191(v%3Dws.10).aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3EDefault%20Input%20Locales%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc766503(v%3Dws.10).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc766503(v%3Dws.10).aspx%3C%2FA%3E%3C%2FP%3EMore%20Information%3CP%3EScripts%20used%20during%20MMS%202012%20PowerShell%20session%3A%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fhectorl%2Farchive%2F2012%2F04%2F16%2Ffi-b322-scripts-used-during-mms-2012-powershell-session.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fhectorl%2Farchive%2F2012%2F04%2F16%2Ffi-b322-scripts-used-during-mms-2012-powershell-session.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3D%3D%3D%3D%3D%3C%2FP%3E%0A%20%20%3CP%3EFor%20the%20most%20current%20version%20of%20this%20article%20please%20see%20the%20following%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F2709539%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%202709539%20-%20Regional%20settings%20default%20to%20English%20when%20deploying%20a%20virtual%20machine%20using%20a%20template%20on%20System%20Center%202012%20Virtual%20Machine%20Manager%20%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CB%3EJ.C.%20Hornbeck%20%3C%2FB%3E%20%3CSTRONG%3E%20%7C%20System%20Center%20%26amp%3B%20Security%20Knowledge%20Engineer%3C%2FSTRONG%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CB%3EGet%20the%20latest%20System%20Center%20news%20on%20%3C%2FB%3E%20%3CA%20href%3D%22https%3A%2F%2Fwww.facebook.com%2Fpages%2FMicrosoft-System-Center-Support%2F111513322193410%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20%3CB%3E%20Facebook%20%3C%2FB%3E%20%3C%2FA%3E%20%3CB%3E%20and%20%3C%2FB%3E%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2F%23!%2FMS_SystemCenter%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20%3CB%3E%20Twitter%20%3C%2FB%3E%20%3C%2FA%3E%20%3CB%3E%20%3A%3C%2FB%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79173i5E73137044699481%22%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79174i71AA5C54BC3365B1%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EApp-V%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fappv%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fappv%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20ConfigMgr%20Support%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fconfigurationmgr%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fconfigurationmgr%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20DPM%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fdpm%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fdpm%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20MED-V%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fmedv%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fmedv%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20Orchestrator%20Support%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Forchestrator%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Forchestrator%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20Operations%20Manager%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fmomteam%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fmomteam%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20SCVMM%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fscvmm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fscvmm%20%3C%2FA%3E%20%3CBR%20%2F%3E%20Server%20App-V%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fserverappv%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fserverappv%20%3C%2FA%3E%20%3CBR%20%2F%3E%20Service%20Manager%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fservicemanager%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fservicemanager%20%3C%2FA%3E%20%3CBR%20%2F%3E%20System%20Center%20Essentials%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fsystemcenteressentials%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fsystemcenteressentials%20%3C%2FA%3E%20%3CBR%20%2F%3E%20WSUS%20Support%20Team%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fsus%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fsus%2F%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20Forefront%20Server%20Protection%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Ffss%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Ffss%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20The%20Forefront%20Endpoint%20Security%20blog%20%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fclientsecurity%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fclientsecurity%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20The%20Forefront%20Identity%20Manager%20blog%20%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fms-identity-support%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fb%2Fms-identity-support%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20The%20Forefront%20TMG%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fisablog%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fisablog%2F%20%3C%2FA%3E%20%3CBR%20%2F%3E%20The%20Forefront%20UAG%20blog%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fedgeaccessblog%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.technet.com%2Fb%2Fedgeaccessblog%2F%3C%2FA%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-346159%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20May%2023%2C%202012%20Here%E2%80%99s%20a%20new%20Knowledge%20Base%20article%20we%20published.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-346159%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESystem%20Center%20Virtual%20Machine%20Manager%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Mar 11 2019 09:22 AM
Updated by: