www.windows-noob.com: Customising Windows 7 deployments - part 1. - www.windows-noob.com

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Customising Windows 7 deployments - part 1. Changing the keyboard layout using unattend.xml

#1 User is offline   anyweb Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 2,706
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with SCCM

Posted 01 February 2010 - 05:31 PM

For Technet information on Multilingual deployments please see this post - http://technet.micro...28WS.10%29.aspx

This is a very common question, how can I change the regional, keyboard, locale etc in Windows 7, so I'll try and explain how i do it in this post.

In this example we will make the Italian keyboard layout (it-IT) the default keyboard layout for Windows 7 login screen, location, keyboard layout.

Now of course you can add many more changes to your Unattend.xml file and use them all together to apply changes to Windows 7, but this example is only to show you how to customise the file to add Italian keyboard/locale support within Windows 7, it's up to you to get creative after this !.

Set up your LAB.

You'll need to have a few things in place in order to get this working:-

1. You will need the Windows SIM (Windows System Image Manager) tool to edit your unattend.xml files. Windows SIM is part of the WAIK. So if you havn't already done so, on a lab server, download the WAIK for Windows 7 (Windows® Automated Installation Kit) and install it.

2. You will need an extracted copy of your chosen architecture Windows 7 Enterprise DVD copied to a temp folder on your lab server. We will be using this image to build our templates (unattend.xml files) which will include our customizations to Windows 7. So go ahead and copy the contents of your Windows 7 Enterprise Edition DVD to d:\temp\windows7\x86. In this example we are using the 32 bit version of Windows 7. If you want to make changes to the 64bit version of Windows 7, then you'll need to copy the contents of your Windows 7 Enterprise Edition X64 DVD to d:\temp\windows7\x64.

3. We'll need a working Deploy Windows 7 task sequence to test this with, make sure you have one that is working 100% everytime so that you can test this with it.



Windows SIM actions

Windows SIM - select a windows image


Start Windows SIM and select a windows image. Point it to the sources Directory on the installation source. You can either select the install.wim file directly in the sources folder or use the Catalog file if you have one. For this guide we shall select the install.wim file.

Attached Image

Attached Image

Once done, you may get prompted to create a Catalog file, answer Yes. The catalog file contains descriptions of what components and packages the image contains so may take a few minutes to generate. After the Catalog file is created, our Windows Image pane will list some new nodes called Components and Packages and you can expand them to see what lies within.


Windows SIM - create a new answer file

Now that we have our Windows Image loaded, we will want to configure it so in the Answer File pane, right click and choose New Answer File

Attached Image

Expand the Components node in the Windows image pane, scroll down until you see x86_Microsoft-Windows-International-Core_6.1.7600.16385_neutral right click on it and choose Add setting to Pass 7 oobeSystem.

Attached Image

Fill in the values on the Microsoft-Windows-International-Core Properties node so that it looks as follows:-

InputLocale it-IT
SystemLocale it-IT
UILanguage it-IT
UILanguageFallback it-IT
UserLocale it-IT

Attached Image

Now that we've made our changes, let's verify them so Click on Tools, Validate Answer File and verify that there are no errors reported in the Messages pane. Finally we want to save our Unattend.xml file so click on File, Save Answer File As and call the file IT_unattend.xml

you can now close Windows SIM.



Things to do on the ConfigMgr Server (SCCM)


On the ConfigMgr Server Create a folder called Unattend XMLs and place that folder in a network share.

Create a sub folder structure as follows:

Unattend XMLs

-X86

--regional and locale settings

-X64

--regional and locale settings


copy the IT_unattend.xml file into the Unattend XMLs\X86\regional and locale settings folder


In the ConfigMgr console, expand Software Distribution and create a New package, call it unattend_locale_and_regional


this package requires no program but we must point the data source to the share we created above eg:


\\SCCM\sources\Unattend XMLs\X86\regional and locale settings


Attached Image


Once done, Create distribution point(s) for the new package and update the package to the DP's.




Adding the unattend.xml settings to our Task Sequence.


Expand the Operating System Deployment node in ConfigMgr and select our Deploy Windows 7 task sequence. (you can import this one if you wish, but you'll have to edit the four references within it for boot sequence, configmgr client package and so on).

Attached File  deploy_windows_7_with_italian_locale.xml (14.02K)
Number of downloads: 321

Select the Apply Operating System step and place a checkmark in Use an unattended or sysprep answer file for a custom installation. Browse and select our newly created package above, for the filename type in IT_unattend.xml.

Attached Image

Save the Task sequence by applying your changes and advertise it to a collection, do a test deployment of Windows 7 and watch as the keyboard settings are changed to Italian.



If you look in the screenshot below you'll see the IT box in the top left corner, that means we have Italian keyboard support at the Login Screen !

Attached Image

and below is what you would see once logged into Windows.

Attached Image


Note: For a full list of supported language packs and settings see Locale Identifier Constants and Strings

have fun !

cheers

niall.
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#2 User is offline   johan.tingstedt Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-April 10

Posted 14 June 2010 - 01:24 PM

Great tutorial!
I've followed your guide successfully with several languages: swedish, danish, finish, uk english, swiss german and polish.
But "Location" and "Format" is stuck on United States...

Everything else works fine!
0

#3 User is offline   anyweb Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 2,706
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with SCCM

Posted 09 July 2010 - 04:20 AM

hi Johan

sorry for the delay in replying, have you checked your timezone settings ?
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#4 User is offline   johan.tingstedt Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-April 10

Posted 13 August 2010 - 07:49 AM

View Postanyweb, on 09 July 2010 - 04:20 AM, said:

hi Johan

sorry for the delay in replying, have you checked your timezone settings ?


Hi!
Sorry for the delay, has been on vacation
Do you mean in the answerfile or my cs.ini ?
As we are deploying Win7 / XP from several locations around the world, the cs.ini should by by location (gateway), and that way choosing the correct timezone etc... but as far as i know, it's correct.
Do you want me to post something?
0

#5 User is offline   anyweb Icon

  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 2,706
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with SCCM

Posted 24 August 2010 - 08:08 AM

hi Johan
i meant check what it is set to in your Task Sequence, Apply Windows Settings step, i'm not using cs.ini to configure it so cannot comment
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#6 User is offline   johan.tingstedt Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-April 10

Posted 24 August 2010 - 08:44 AM

View Postanyweb, on 24 August 2010 - 08:08 AM, said:

hi Johan
i meant check what it is set to in your Task Sequence, Apply Windows Settings step, i'm not using cs.ini to configure it so cannot comment


Well yes, the timezone is set to US & Canada.
But since we deploy in many countries: sweden, norway, denmark, uk, finland, poland and switzerland, the settings are set in cs.ini, depending on the GW the deployment is started.

I know that WinXP works in another way than Win7 when it comes to unattended xml's, but in our XP-Task Sequence, the timezone is also set to US & Canada, but that installation works fine!

Hope I make some sense here...
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Locations of visitors to this page