JSI Tip 7525. How do I set the Time Zone from the command line?

To set the Time Zone from the command line, use:

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z <Display or Std Value>

where <Display or Std Value> is the data value of the Display Value Name, or the Std Value Name ,at HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Time Zones\<The Zone Key>.

You can also use:

Control.exe %SystemRoot%\system32\TIMEDATE.CPL,,/Z <Display or Std Value>.


RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z US Eastern Standard Time

NOTE: You do NOT encapsulate the time zone string in quote (") marks.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.