Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way I can set the time zone for all machines on my domain (perhaps using a group policy?). All the Windows machines are Server 2008 R2.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

The command tzutil.exe is available on Windows 7 / 2008

TZUTIL </? | /g | /s TimeZoneID[_dstoff] | /l>

Parameters:
    /? Displays usage information.

    /g Displays the current time zone ID.

    /s TimeZoneID[_dstoff]
       Sets the current time zone using the specified time zone ID.
       The _dstoff suffix disables Daylight Saving Time adjustments
       for the time zone (where applicable).

    /l Lists all valid time zone IDs and display names. The output will
       be:
           <display name>
           <time zone ID>

Examples:
    TZUTIL /g
    TZUTIL /s "Pacific Standard Time"
    TZUTIL /s "Pacific Standard Time_dstoff"

To set to UTC use a command like TZUTIL /s "UTC".

share|improve this answer
2  
A real improvement over the old way of doing things, and if you set it as a startup-script in a GPO it'll go everywhere. –  sysadmin1138 Aug 18 '10 at 21:39
    
+1 - It's nice not to have to hack the registry anymore. –  Evan Anderson Aug 18 '10 at 21:44

There's a couple of approaches that might work, export a "correct" registry fragment and import it via a script, which is a bit hacky but doable. Or there's an article here that discusses doing it with a powershell script, with some examples.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.