Set Time Zone via Group Policy

Setting the time zone on computers via a group policy object (GPO) is a common requirement and very easy to do. I recently found myself rolling out a new server and computers in the Mountain Standard Time Zone and realized I hadn’t created a GPO for this geographic area yet. Fun fact, did you know that Arizona is the only state that does not observe daylight saving time (DST)? I didn’t know. So I found myself whipping up a GPO as quick as I could so that we could start deploying brand new desktops to our associates. By the way, if you are looking for a GPO  good reference, check out Jeremy Moskowitz’s book at Amazon. You won’t be disappointed.

The time zone setting for each Windows 7 computer is stored in the following registry location:
\HKLM\System\CurrentControlSet\Control\TimeZoneInformation\

Here are the steps to use to push time zone settings via group policy in a Windows Server 2008 R2 environment.

1. Temporarily change your computer to the time zone you want to push out via group policy.
2. Open the group policy management console GPMC.msc and create a new GPO. Name the GPO something relevant like TimeZoneMtnStd.
3. This will be a Computer GPO so expand Computer Configuration, Preferences, Windows Settings, Registry.
4. Right-click Registry and select New, then Registry Wizard.
5. Select Local. You could obviously navigate to a computer which already has the appropriate time zone set. I like to set it on my local computer temporarily and grab the registry settings from there.
6. Navigate to \HKLM\System\CurrentControlSet\Control\TimeZoneInformation\
7. There are really three main registry items that you will need; Daylightname, Standardname and Timezonekeyname. However, I had some difficulty getting the Mountain Standard (Arizona) time zone to work using just these three settings. So I selected ALL of the registry items in the TimeZoneInformation registry key.

timezonereg2

timezonereg

8. Select Finish to end the wizard.

timezoneregistry3

You are done!

 

George Almeida

Welcome to my little corner of the blogosphere. I'm an Information Technology Director. I specialize in Windows operating systems, applications, servers, storage, networks and also have a technical background on the IBM iSeries platform. My only purpose for this blog is the hope that it helps someone, someday, somewhere. Any meager proceeds derived from our sponsors will be donated to charity.

You may also like...

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

13 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
floppy bird
10 years ago

It’s actually a nice handy piece of facts. I am grateful for you to contributed this handy information here. You need to remain people up to par similar to this. Appreciate your discussing.

charles ansong
9 years ago

perfect !

Mark
Mark
7 years ago

While this works, It will not adjust the time itself appropriately. For Example changing servers from EST to UTC in my tests kept EST time info but changed the zone to UTC.

real
real
7 years ago

how to get real Daylightname and it’s state on/off ?

Berks
Berks
7 years ago

Cheers bud!

Luis Souza
Luis Souza
4 years ago

George,
Thanks for your post! It saved my day!

Mikey
Mikey
4 years ago

Hi. Tried it with windows 10 machines that are domain members and it didn’t work. The registry keys were pushed but it simply didn’t reflect when I checked the time and timezone. The only way to do it was to make the change in GUI which is not practical.

What gives?

13
0
Would love your thoughts, please comment.x
()
x