How to Change the Time Zone in CMD Windows 10 and Windows 11

How to Change the Time Zone in CMD Windows 10 blog banner image

Command-line time zone adjustment in Windows 10 and 11 is useful for remote administration and setting the time zone from scripts. The following offers step-by-step instructions on how to change the time zone in CMD for Windows 10 and Windows 11, also using the system Settings app.

Displaying the current time zone from the command prompt

The tzutil command is used to manage the time zone on your Windows 10 or Windows 11 computer. To run this command, open the command prompt by right-clicking on the Start menu and selecting Command Prompt (if running Windows 10), or Terminal (if running Windows 11).

Then, to display the currently set time zone from the command prompt, enter the following command:

tzutil /g

The /g parameter tells tzutil to list only the currently set time zone.

Centrally manage endpoints with NinjaOne.

Learn more.

Edit time zone Windows 10 and Windows 11: Step-by-step instructions

By default, tzutil doesn’t require any administrative privileges to change the time zone. If you’re in an environment where permissions have been changed so that you do need to be an administrator, open the command prompt as an administrator by right-clicking on the Start menu and then clicking Command Prompt (admin) if you’re on Windows 10, or Terminal (Admin) if you’re running Windows 11.

To edit the time zone you’ll need to know the exact name of the time zone to enter (for example, “Pacific Standard Time”). Enter the following command to list all time zones:

tzutil /l

The /l parameter tells tzutil to list all time zones.

You can then locate the time zone you want to change to in the list and use tzutil to change to it by using its name exactly as it is formatted there:

tzutil /s “Pacific Standard Time”

You can then verify the change by running:

tzutil /g

Change time zone CMD examples

Here are a few examples of changing the time zone for different locations from the Windows 10 and Windows 11 CMD prompt:

tzutil /s “AUS Eastern Standard Time”

This will set the correct time zone for Eastern Australia (including Canberra, Melbourne, and Sydney).

tzutil /s “Singapore Standard Time”

This will set the time zone used in both Kuala Lumpur, Malaysia, and in Singapore.

tzutil /s “UTC”

And this will set the time to Coordinated Universal Time.

Changing time zone with PowerShell

The Get-TimeZone and Set-TimeZone cmdlets can be used in PowerShell to view, list, and change time zones on Windows.

To open PowerShell, right-click on the Start menu and click Windows PowerShell (Admin) in Windows 10 or Terminal (Admin) in Windows 11.

Then, enter the following command to view the currently set time zone:

Get-TimeZone 

To list all available time zones so that you can find the correct name to set, enter:

Get-TimeZone -ListAvailable 

Then change your currently set time zone using Set-TimeZone and the name from the list generated by Get-TimeZone:

Set-TimeZone -Name “Hawaiian Standard Time”

Change time zone PowerShell examples

Below are some more examples of changing the time zone using Set-TimeZone in PowerShell on Windows 10 and Windows 11:

To change the Windows time zone for Osaka, Sapporo, and Tokyo:

Set-TimeZone -Name “Tokyo Standard Time”

To change the system time zone to Greenwich Mean Time for Dublin, Edinburgh, Lisbon, and London:

Set-TimeZone -Name “GMT Standard Time”

To set the time zone for Central Time (US & Canada):

Set-TimeZone -Name “Central Standard Time”

Changing time zone from the Settings interface

While some find it more convenient to set the time zone using the command prompt or PowerShell, you can still fall back to the Settings app if you make a mistake:

  • Right-click on the start menu and open Settings.
  • Click on Time and Language in the menu to the left.
  • Click Date and time in the menu to the right.
  • Change the Time zone entry to the desired time zone.

You also have the option to enable Set time zone automatically, and your computer will use location services to determine the correct time zone for your current location.

Windows change time zone troubleshooting FAQs

If you cannot set the time zone, first check whether you need to be running CMD or PowerShell as an administrator. Then, make sure you’re spelling it exactly as it appears in the list from tzutil /l or Get-TimeZone -ListAvailable. You can automate changing the time zone by adding the commands above to your batch and PowerShell scripts, for example, to add shortcuts to your desktop to change time zones if you frequently travel between two locations.

Implications of an incorrectly set time zone

Setting the time zone (and system clock) incorrectly has two main implications: firstly, you’ll think it’s the wrong time. You may also switch to daylight savings times not appropriate for your region, further throwing you off when scheduling meetings or speaking with others.

Secondly, secure connections using SSL, including those websites using HTTPS, will fail if the time is not set correctly for the selected time zone.

NinjaOne gives you full visibility into the health and performance of your Active Directory Domain Controllers.

Click here to learn more.

Managing the time zone configuration for multiple devices

Managing the time zone for multiple Windows 10 or Windows 11 devices that are spread across regional offices can become difficult for work-from-home users or for traveling staff members. Policies can be set in Active Directory to allow users to manage their own time zones, which allows them to troubleshoot their own time zone issues without impacting others.

In Windows environments that don’t use a Domain, you can use remote monitoring and management (RMM) to configure and enforce time zone policies for devices.

Next Steps

Building an efficient and effective IT team requires a centralized solution that acts as your core service deliver tool. NinjaOne enables IT teams to monitor, manage, secure, and support all their devices, wherever they are, without the need for complex on-premises infrastructure.

Learn more about Ninja Endpoint Management, check out a live tour, or start your free trial of the NinjaOne platform.

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).