Thursday, January 28, 2010

Forcing the regional settings via Group Policy using custom templates

Forcing the settings via Group Policy using custom templates
---------------------
You may want to read up on Group Policy if you're not familiar with it first.
Download and a regional setting .adm file (settings below) into C:\WINDOWS\INF on the domain controller. From Active Directory Users and Computers create a new container and place the users to wish to be affected into that container. Create a new group policy, attach it to the container and edit the settings. Note: This is a user configured policy and not a computer policy and will affect all users that are listed in the container that you attach it too.
Click on Administrative Templates underneath User Configuration and select Add/Remove Templates. Browse for the File->Open, and select C:\WINDOWS\INF\RegionalSettings.adm. Close the Add/Remove Templates window. From the group policy window select View->Filtering and untick Only show configured policy settings and Only show policy settings that can be fully managed, select OK. Under User Configuration->Administrative Templates->Control Panel->International Settings you should see 4 policies to set regional settings. Enable UK International Settings.
RegionalSettings.adm contents....
CLASS USER
; created by chriske911 on behalf of..

CATEGORY "Control Panel"
CATEGORY "International Settings"
KEYNAME "Control Panel"
POLICY "USA International Settings"
KEYNAME "Control Panel\International"
EXPLAIN !!USA_regopt
VALUENAME "sCountry"
VALUEON "USA"
ACTIONLISTON
KEYNAME "Control Panel\International"
VALUENAME "iCountry"
VALUE "1"
VALUENAME "iCurrDigits"
VALUE "2"
VALUENAME "iCurrency"
VALUE "2"
VALUENAME "iDate"
VALUE "0"
VALUENAME "iDigits"
VALUE "2"
VALUENAME "iLZero"
VALUE "0"
VALUENAME "iMeasure"
VALUE "0"
VALUENAME "iNegCurr"
VALUE "12"
VALUENAME "iTime"
VALUE "1"
VALUENAME "iTLZero"
VALUE "1"
VALUENAME "Locale"
VALUE "00000409"
VALUENAME "s1159"
VALUE ""
VALUENAME "s2359"
VALUE ""
VALUENAME "sCurrency"
VALUE "$"
VALUENAME "sDate"
VALUE "/"
VALUENAME "sDecimal"
VALUE "."
VALUENAME "sLanguage"
VALUE "ENU"
VALUENAME "sList"
VALUE ","
VALUENAME "sLongDate"
VALUE "dddd, MMMM dd, yyyy"
VALUENAME "sShortDate"
VALUE "M/d/yyyy"
VALUENAME "sThousand"

0 comments:

Post a Comment