Okay â€“ to keep up with the number GP related postings here (Iâ€™ve been busy writing and learning AD internals â€“ you may have noticed), Iâ€™m gonna quote my fellow Group Policy MVP Mark Heitbrink (http://www.gruppenrichtlinien.de â€“ German Group Policy â€œPortalâ€) on an answer to a newsgroup question (http://groups.google.com/group/microsoft.public.windows.group_policy/browse_thread/thread/12a9b243066c6e0a).
The main question was: Can I change the date format with Group Policy? Markâ€™s answer was a custom ADM template from his site:
---- dateformat.adm ---- CLASS USER CATEGORY "Control Panel" POLICY "Change Date format" KEYNAME "Control Panel\International" PART "Select format" DROPDOWNLIST REQUIRED VALUENAME sShortdate ITEMLIST ; This is German local, so change the next 2 lines to your settings ! NAME "TT.MM.JJJJ" VALUE "dd.MM.yyyy" DEFAULT NAME "TT.MM.JJ" VALUE "dd.MM.yy" ; NAME = Display, VALUE = Setting in the Registry ! END ITEMLIST END PART END POLICY END CATEGORY ---- dateformat.adm ----
Thatâ€™s it. Cool, isnâ€™t it? Note the remark between the â€œITEMLISTâ€ keywords. The example shows the German format, dd.MM.yyyy which stands for dayday.Month.Year; June the 2nd this year would be 02.06.2009. You may change that to whatever youâ€™re favorite format is. US folks would prefer MM/dd/yyyy, I suppose, so youâ€™d change one of the lines to
NAME “MM/dd/yyyy” VALUE “MM/dd/yyyy”
Donâ€™t forget to switch the filtering so that you can see the preference in GPE: right-click the â€œControl Panelâ€ folder and choose â€œView->Filteringâ€. Then un-check the â€œOnly showâ€¦â€ boxes.
Another way of doing all this would be using GP Preferences. It has a native UI for Regional Settings:
It lets you choose from a bunch of items. Donâ€™t forget to switch the red/green underlining so that your settings get actually applied. Pressing F6 with the selected item helps us change the red dottet line (ignore setting on client) to green (apply setting on client):
More on the red/green underlining feature can be read here: