How to Configure System Time Zones Using TZUTIL [Syntax Examples]

Written by

in

A Guide to Windows Time Zone Utility (TZUTIL.exe) Commands Managing time zones across multiple computers or virtual machines can be tedious through the graphical user interface (GUI). Windows provides a powerful command-line tool, TZUTIL.exe (Windows Time Zone Utility), which allows system administrators and power users to get, set, and list time zones efficiently.

This guide covers the essential TZUTIL commands to streamline time zone management in Windows 10, 11, and Server editions. What is TZUTIL.exe?

tzutil.exe is a built-in Windows command-line utility used to manage time zone settings. It is especially useful for automation, scripting, and remote management, providing a quick way to change time zones or disable Daylight Saving Time (DST) adjustments. Prerequisites

Command Prompt/PowerShell: Open with Administrator privileges to ensure changes are applied.

Time Zone Names: You must use the exact time zone ID recognized by Windows (e.g., “Pacific Standard Time”). Essential TZUTIL Commands 1. View Current Time Zone (/g)

To check the currently active time zone on your system, use the /g (Get) switch. tzutil /g Use code with caution. Output example: Pacific Standard Time 2. List All Available Time Zones (/l)

If you are unsure of the exact name of a time zone, use the /l (List) switch to display all valid time zones supported by your Windows installation. tzutil /l Use code with caution.

Tip: Pipe this command to more if the list is too long: tzutil /l | more. 3. Set a New Time Zone (/s)

To change the time zone, use the /s (Set) switch followed by the exact time zone ID in quotes. Syntax: tzutil /s “TimeZoneID” Example (Setting to Eastern Standard Time): tzutil /s “Eastern Standard Time” Use code with caution. 4. Set Time Zone and Disable DST (_dstoff)

If you need to set a time zone while specifically disabling Daylight Saving Time adjustments, append _dstoff to the end of the time zone ID. Example: tzutil /s “Pacific Standard Time_dstoff” Use code with caution. Summary of Switches Description /g Displays the current time zone ID. /l Lists all valid time zones and their IDs. /s Sets the current time zone. ? Displays help information.

System Deployment: Including tzutil /s “Your Zone” in initialization scripts.

Remote Administration: Quickly fixing incorrect time settings via PSRemoting.

Virtual Machines: Setting accurate time zones on cloned VMs. tzutil | Microsoft Learn

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *