CMD Simulator
Advanced System Toolstzutil

Tzutil Command: Set Windows Time Zone syntax and Examples

Master the Windows tzutil command. Learn how to display, set, and troubleshoot time zones from the command prompt across global deployments in this comprehensive guide.

Admin··Updated Mar 27, 2026
Share

The tzutil command (Time Zone Utility) is a Windows command-line tool dedicated entirely to querying, displaying, and setting the system's time zone. While adjusting the time zone via the Windows GUI graphical date and time settings is intuitive for a single user, automating this task across hundreds of virtual machines or bare-metal servers requires a faster, scriptable approach.

Whether you're deploying a fleet of servers spanning multiple continents, troubleshooting Daylight Saving Time (DST) synchronization issues, or configuring Windows PE images, mastering the tzutil command is essential for sysadmins. Network administrators and deployment engineers rely heavily on this command to guarantee consistent timekeeping, a prerequisite for secure Active Directory Kerberos authentication and precise log auditing.

This comprehensive guide covers tzutil syntax, parameter usage, listing the vast array of Microsoft Time Zone IDs, practical examples for configuring servers, diagnosing time sync drift, and a detailed frequently asked questions section. By the end, you'll orchestrate time configurations directly from the terminal.

What Is the Tzutil Command?

Tzutil is a native Windows utility introduced in Windows 7 and Windows Server 2008 R2. It specifically targets the registry keys responsible for mapping logical time zones to the physical machine clock. It interacts directly with the system's Regional Settings to fetch available string IDs (like "Pacific Standard Time") and applies them immediately without requiring a system reboot.

Syntax

The syntax for the tzutil command is remarkably straightforward, leveraging three simple switch parameters depending on the action you wish to perform.

tzutil [/?] [/g] [/s TimeZoneID[_dstoff]] [/l]
ParameterDescription
/?Displays the help documentation for the command.
/gGets (displays) the current time zone ID configured on the machine.
/s <TZID>Sets the current time zone using a valid Time Zone ID.
_dstoffAppended to the /s parameter ID to specifically disable Daylight Saving Time adjustments.
/lLists all valid Time Zone IDs and their UTC offsets recognized by the Windows OS.

Parameters / Options

Getting Time Zones (/g)

The /g option quickly prints out the exact string value of the active time zone. It returns the precise, localized string necessary to use with the /s command, acting as your verification tool.

Setting Time Zones (/s)

The /s option requires elevated administrator privileges. It modifies the system clock base. If an environment mandates static UTC time (common in database servers), you can append _dstoff to disable dynamic seasonal shifting, maintaining rigid consistency.

Listing Environments (/l)

The /l command prints out the entire directory of global time zones formatted in pairs: the UTC offset description followed by the strict Registry ID required for the /s parameter.

Examples

1. Displaying the Current Time Zone

This is the single fastest way to identify the machine's locale configuration.

tzutil /g

Output:

Pacific Standard Time

Explanation: Windows confirms the machine is synchronized to the Pacific timezone. No reboot is required to verify.

2. Listing All Time Zones

When you need to find the correct string for a script, dump the list.

tzutil /l

Output:

(UTC-08:00) Pacific Time (US & Canada)
Pacific Standard Time

(UTC-07:00) Mountain Time (US & Canada)
Mountain Standard Time
...

Explanation: The output displays the friendly display name alongside the exact TimeZoneID string (on the second line) that you must pass into the /s command.

3. Setting a Basic Time Zone

If a server was deployed in the wrong region, correct it instantly.

tzutil /s "Eastern Standard Time"

Explanation: The system clock shifts immediately to reflect the new time zone offset. You must run this command from an Administrator prompt.

4. Disabling Daylight Saving Time

Critical for specific financial and logging servers that must strictly adhere to UTC without seasonal drift.

tzutil /s "Pacific Standard Time_dstoff"

Explanation: By appending _dstoff immediately after the ID, Windows will honor the base UTC offset but will explicitly ignore the biannual daylight saving time adjustment.

5. Using Findstr to Filter Time Zones

Because /l dumps a massive list, piping it into findstr isolates what you need.

tzutil /l | findstr /i "London"

Output:

(UTC+00:00) Dublin, Edinburgh, Lisbon, London
GMT Standard Time

Explanation: By aggressively filtering the output, you can discover that "GMT Standard Time" is the required exact ID to configure a server located in the UK.

6. Changing Time in a Script

Using tzutil within a simple batch file or PowerShell script during VM provisioning.

@echo off
tzutil /s "Central Standard Time"
echo Time zone set successfully.
tzutil /g

Explanation: Automates configuration during unattended Windows Setup (often called from an Unattend.xml file).

Common Use Cases

  1. Unattended Windows Installations: Passing tzutil commands via deployment scripts so thousands of VMs boot up with correct localized time.
  2. Database Integrity: Configuring rigid UTC time zones (or using _dstoff) to ensure distributed SQL Server timestamps synchronize perfectly regardless of geography.
  3. Active Directory Kerberos Sync: If a Domain Controller drifts beyond 5 minutes of client clocks, authentication fails. Tzutil ensures the base offsets are architecturally sound before w32tm syncs the milliseconds.
  4. Log Aggregation Standardization: Security Information and Event Management (SIEM) teams configure all endpoints to UTC explicitly using tzutil to simplify timeline reconstruction during incident response.
  5. Traveling Users: Helpdesk operators construct single-click batch scripts for traveling executives to quickly flip their host computers between "Tokyo Standard Time" and "Eastern Standard Time".

Tips and Best Practices

  • Use Exact Strings: tzutil /s requires the exact string identifier returned by /l. "PST" will fail; you must use "Pacific Standard Time".
  • Quotes Are Mandatory: Because most Time Zone IDs contain spaces, always encapsulate the ID in double-quotes when scripting.
  • Run as Administrator: Changing the system time zone is a secure OS operation. A standard user executing /s will receive an Access Denied error. /g and /l can be run by anyone.
  • Combine with W32tm: Tzutil defines the regional offset, but w32tm /resync commands the Windows Time Service to actually query an NTP server and adjust the local tick-count immediately.
  • Beware of the Registry: Tzutil writes to HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation. Group Policy (GPO) can override local tzutil settings upon the next refresh interval.

Troubleshooting Common Issues

"TZUTIL: The specified time zone ID is invalid"

Problem: The command prompt rejects your input string. Solution: You likely used an abbreviation (like EST) or a friendly label. Run tzutil /l and ensure you copy the exact second line of the desired pair (e.g., "Eastern Standard Time").

"Access is Denied" Error using /s

Problem: The command executes but fails to apply the change. Solution: Setting the time zone modifies the core system configuration. Right-click the Command Prompt and select "Run as Administrator", then try the /s command again.

Clocks Are Still Incorrect After Setting Time Zone

Problem: Tzutil worked, but the clock time is wildly off the actual wall time. Solution: Tzutil only sets the offset rule. If the machine's hardware BIOS clock is incorrect, or if the Windows Time Service hasn't synced with an NTP server, the resulting calculated time remains wrong. Run w32tm /resync to force an internet time update.

The Time Zone Keeps Reverting After Reboot

Problem: You set the zone with tzutil, but it changes back automatically. Solution: This happens in enterprise domains. A Group Policy Object (GPO) or an Intune Mobile Device Management configuration profile is forcing the region back to a standard.

Related Commands

date and time – Checking Current Setup

The classic date and time commands check the actual output result of your tzutil configurations.

w32tm – Windows Time Service

While tzutil sets the region, w32tm manages the Windows Time service, handling NTP server synchronization, query drift, and domain controller time hierarchy.

powershell Set-TimeZone

PowerShell's Set-TimeZone -Id "Pacific Standard Time" provides an object-oriented alternative to tzutil, offering similar but slightly more expansive scripting structures.

Frequently Asked Questions

What does the tzutil command do?

The tzutil command configures, queries, and displays the logical Time Zone Identifier for the Windows operating system directly from the command prompt.

How do I use tzutil to see my current time zone?

Simply type tzutil /g in a command prompt. It will instantly return the name of the currently configured zone.

Does tzutil require a restart?

No. Any changes made with tzutil /s are applied instantly to the Windows subsystem. All running applications using native APIs will immediately reflect the new time offset.

How do I list every possible time zone?

Run the command tzutil /l. It will print every UTC pair along with the exact Registry string identifier required for scripting.

Can tzutil disable daylight saving time adjustments?

Yes. Append _dstoff directly to the end of your time zone ID inside the quotes. For example: tzutil /s "Eastern Standard Time_dstoff".

Is tzutil available on Server Core?

Yes. Administrative tools like Server Core (which lacks a graphical user interface) rely exclusively on commands like tzutil and sconfig to manage regional settings.

Do I need admin rights to use tzutil?

You can use /g and /l as a standard user. However, you must be in an elevated Administrator command prompt to use the /s switch.

Why use tzutil instead of the GUI clock?

When configuring 500 servers simultaneously across a wide area network, clicking through 500 GUI menus is impossible. Tzutil enables single-line configuration management tools (like Ansible, Chef, or SCCM) to handle the workload.

Will tzutil override my BIOS clock?

No. Tzutil instructs Windows how to mathematically offset the Real Time Clock (RTC) found on the motherboard. It changes the OS interpretation, not the hardware layer.

How do I find the correct string for Paris?

You can pipe the list command into a text filter. Run tzutil /l | findstr /i "Paris". The output will show "Romance Standard Time", which is the correct string to use.

Quick Reference Card

CommandPurposeExample
tzutil //?Display HelpLearn syntax
tzutil /gView Current ZoneVerify setup
tzutil /s <Zone>Change Time ZoneFix locale
tzutil /s <Zone>_dstoffDisable DSTLock to UTC offset
tzutil /lList All ZonesFind a string

Summary

The tzutil command provides an elegant, minimal interface strictly for managing the temporal configuration of a Windows environment. Rather than navigating convoluted Control Panel applets or modern Settings pages, systems administrators can instantly query and mutate a machine's perception of time globally using a single, robust string.

In this guide, we explored using /l to list available zones, pairing it with findstr to locate specific cities, and executing /s to rigidly define a server's timezone. We also reviewed how to explicitly disable Daylight Saving Time shifts and troubleshoot common administrator permission issues.

By integrating tzutil into your automated provisioning workflows alongside NTP orchestration tools like w32tm, you ensure flawless time synchronization primitives across your entire infrastructure fleet, an absolute bedrock for secure networking and reliable auditing.