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

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

  • Comments 3
  • Likes

imageHere’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-powershell-session.aspx

=====

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 template on System Center 2012 Virtual Machine Manager

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

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

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/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • I found this list of Input Locales to be more complete and easier to use:

    msdn.microsoft.com/.../bb895996

  • Ok, so I am seeing this behaviour during service template deployments. Do I update each VM template associated with the service template and then update the service template?

    If you have the settings for Australia that would also be handy.

  • thank you