Network Administrator Knowledgebase

Oct 24 2008   1:26PM GMT

How to Set Time Zone from Command Line

Michael Khanin Michael Khanin Profile: Michael Khanin

If you need to change Time Zone for a lot XP computers, you can do this by simple :) command:

RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Central Standard Time

to change Time Zone to Jerusalem (GMT+02:00) run the following command:

RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z (GMT+02:00) Jerusalem

1  Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Balthazar5
    Awesome Michael, thanks so much! Used this with psexec, voila! Texas time!
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: