Windows 7 System admins will appreciate the new command line tzutil.exe utility, which will lets you set a PC’s time zone from scripts. If you wanted to set a PC to Pacific Standard Time, for example, just use the following command:
tzutil /s "Pacific Standard Time"
The command “tzutil /g” displays the current time zone, “tzutil /l” lists all possible time zones, and “tzutil /?” displays details on how the command works.
C:\Windows\system32>tzutil /? Windows Time Zone Utility Usage: 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" Remarks: An exit code of 0 indicates the command completed successfully. C:\Windows\system32>