TZUtil: Hidden Secret Command Line Utility to Change Time Zone in Windows 7

Recently we told you about a secret hidden command “powercfg -ENERGY” in Windows 7 which can be used to generate a detailed report about power management.

Here is another hidden secret command line utility which is only available for Windows 7 users.

tzutil.exe” is a command line utility introduced in Windows 7 which can be used to change Time Zone or to get the current time zone information. To use this command:

Advertisement

1. Click on “Start button -> All Programs -> Accessories” and open “Command Prompt“.

2. Now provide any of following commands:

tzutil /g (To know current time zone)
tzutil /l (To get a list of all available time zones)
tzutil /s time_zone_ID (To change time zone)

Here in 3rd command, time_zone_ID is the new time zone which you want to set. Fox example, if you want to set the time zone to “Pacific Standard Time”, then the command would be:

tzutil /s “Pacific Standard Time”

TZUtil.png

This command line utility might become very useful for system administrators. You can create scripts to automate the task.

Advertisement

Published in: Windows 7

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. Very useful, thanks. Make sure you include the quotation marks in the timezone. Timezone names are the same as WIN XP so if modifying a script (like I am) you just need to change control timedate.cpl,,/z to tzutil /s

Leave a Comment

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

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.