An overview of my posts about ConfigMgr 2012 SP1

Let’s start my first post, of this new year, with an overview of my latest post about ConfigMgr 2012 Service Pack (SP) 1. Normally I’m not really the kind of person that looks back, but in this case it’s with a reason, as most of my posts where with pre-release versions of SP1. I also tried to sort all my posts per subject, even though sometimes there is some overlap. The following posts are all tested, this week, with the RTM version of SP1 and I can confirm that they are still working:

System Center Orchestrator

Windows Azure

Windows Intune

OS Deployment

Application Deployment

Client Settings

How to change the language in Windows PE via ConfigMgr 2012

A few weeks ago I already did some post about new task sequence variables. This week my post will be about another new (task sequence) variable. This one will probably not be used often, but can be very useful in some specific situations. Think about situations where the company demands that the language of everything that a user can see is displayed in the users’ own language. In this post I will use the German language as an example.


The only prerequisite for the configuration is that the task sequence resource file (tsres.dll) exists in, in this case, the German language folder (<ConfigMgrInstallFolder>\OSD\bin\x64\00000407\tsres.dll) before updating the boot image. In case the file doesn’t exist, it can be simply installed/ created by following the next steps:

  • Start the Configuration Manager 2012 SP1 Setup Wizard.
  • On the Before You Begin –page, click Next.
  • On the Getting Started –page, select Perform site maintenance or reset this site and click Next.
  • On the Site Maintenance –page, select Modify language configuration and click Next.
  • On the Prerequisite Downloads –page, click Next.
  • On the Server Language Selection –page, select German and click Next.
  • On the Client Language Selection –page, click Next.
  • On the Settings Summary –page, click Next.
  • On the Configuration –page, click Close.


BooImaCusNow let’s start with the configuration. The configuration is about knowing that the variable exist and, in this case, also about knowing how to use it. This variable is new in ConfigMgr 2012 SP1, which is currently still in BETA, and is named SMSTSLanguageFolder. It can be used to change the language in WinPE, but it can only be used during a prestart command. To configure this, follow the next steps:

  • Open the Properties of the Boot image.
  • On the Customization –tab,
    • select Enable prestart command and fill in as Command line cscript.exe SetSMSTSLanguageFolder.vbs /LocaleID:1031
      • Content of SetSMSTSLanguageFolder.vbs

      Dim objTSEnvironment, objArguments, sLocaleID

      Set objArguments = Wscript.Arguments
      If WScript.Arguments.Count = 1 Then
          sLocaleID = objArguments.Named.Item(“LocaleID”)
          Wscript.Echo “Usage: SetSMSTSLanguageFolder.vbs /LocaleID:[LocaleID]”
      End If

      Set objTSEnvironment = CreateObject(“Microsoft.SMS.TSEnvironment”)
      objTSEnvironment(“SMSTSLanguageFolder”) = sLocaleID


    • select Include files for the prestart command and select as Source directory the location of the SetSMSTSLanguageFolder.vbs script.
  • Click Ok in the Properties of the Boot Image
  • On the Cofiguration Manager –popup, click Yes and the Update Distribution Wizard will show.
  • On the Summary –page, click Next.
  • On the Completion –page, click Close.
    • Note: To see if the changes are applied to the boot image, keep an eye on the SMSProv.log.


Probably the result is predictable, but I still want to show it. Under here is a before-picture of the “normal” English version followed by an after-picture of the German version.

Before After
TasSeqAssEng TasSeqAssGer


For those wondering why I didn’t use Dutch as an example, as that’s my native language. The reason for that is simple, there is no Dutch language pack available for ConfigMgr SP1 (BETA), yet. In case anyone wants to do this for their own language, just replace German for a different language and replace the LocaleID for the corresponding locale id (list of all Locale IDs see:

Add HTA-Support to a Boot Image with ConfigMgr 2012

With ConfigMgr 2012 lot’s of things got simplified. One of those things is adding extra components to the Boot Images. Before it was possible to add these extra components by either using the MDT integration, or manually running DISM. Now it’s possible to do this from the console! Of course, in the background it’s still DISM that does the action.

In this post I will show an example of how to add HTA-Support to a Boot Image with ConfigMgr 2012. Of course the same steps apply to adding any of the optional components to a Boot Image.

In the ConfigMgr Console browse to Software Library > Overview > Operating System > Boot Images, right-click a Boot Image and click Properties. RigCliBooIma
In the Properties, select the tab Optional Components and click New. BooImaPro
The Select a component popup will show. Select and click Ok. SelComHTA
In the Properties click Ok (or Apply). BooImaProOk
The Configuration Manager popup will show. Click Yes. UpdDisYes
The Update Distribution Point Wizard will popup. In the Summary page click Next. UpdDisPoiWizSum
In the Progress page just wait… UpdDisPoiWizPro
In the Completion page click Close. UpdDisPoiWizCom

Now just enjoy the HTA-Support in the Boot Image!