Automating regional settings configuration

For Windows XP, regional settings can be applied by using the following method:

  1. Create an answer file that contains the [RegionalSettings] section items you want to modify, and then save it (for example, as c:\regopts.txt).
  2. Create a batch file by using the following command line to apply the answer file settings:rundll32.exe shell32,Control_RunDLL intl.cpl,,/f:”c:\regopts.txt”

The layout of the RegionalSettings file is as following:

[RegionalSettings]
Language = locale ID
LanguageGroup = language group ID, language group ID
SystemLocale = locale ID
UserLocale = locale ID
InputLocale = locale ID:keyboard layout ID, locale ID:keyboard layout ID
UserLocale_DefaultUser = locale ID
InputLocale_DefaultUser = locale ID:keyboard layout ID

More usefull information for those dealing with Global deployments can be found here:
http://www.microsoft.com/globaldev/default.mspx
NLS Information Page for Windows XP, Windows Vista and Server 2003
http://www.microsoft.com/globaldev/nlsweb/default.mspx

Leave a Reply