Changing the default locale for virtual machine templates in Virtual Machine Manager 2012 R2

Microsoft System Center Virtual Machine Manager 2012 R2 or 2012 SP1 does not allow you to set the locale via the user interface (gui). There are currently 2 workarounds for this. One uses powershell to alter the template itself. And one uses a unattended.xml which you add to the template using the user interface (gui).

The powershell method

1. Launch the VMM Console.
2. Click on the Settings option.
3. Click on PowerShell and execute the commands below on the respective Template.

$template = Get-SCVMtemplate | where {$_.Name  -eq "Template_Name"} 
$settings = $template.UnattendSettings;
Set-SCVMTemplate -VMTemplate $template -UnattendSettings $settings

NOTE: For the steps above, the regional settings (e.g. cy-GB) will vary based on the language being used. 

Look up the values you need from the two following locations

The unattended.xml method

Create an unattend.xml with the specific locale settings required. Below is a sample unattand.xml set to en-us but you can replace the en-us entries with the language code of your choice.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="" xmlns:xsi="">
    <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Server 2012 SERVERDATACENTER" xmlns:cpi="urn:schemas-microsoft-com:cpi" />


// CrashMAG

Leave a Reply

Your email address will not be published. Required fields are marked *