• Home
  • Consulting
  • Contact Us
    • About this site
    • Contact Wayne
    • Media Room
    • Wayne’s Bio

SBSFAQ.COM

Supporting IT Pro's & MSP's since 2000

  • Blog
  • FAQs
  • Reviews
  • Downloads

Configuring Time Zones from a command line

June 18, 2008 by Wayne Small 1 Comment

Last week I was working with a client and I needed to be able to configure the timezone on machines automatically by some form of automated process. The workstations we needed to configure were spread across 5 separate time zones in Australia and New Zealand. Digging into this some more, I found that I could easily set the time zone based on a command line script as below.

“control.exe timedate.cpl,,/Z (GMT+10:00) Canberra, Melbourne, Sydney”

You can easily change the section after the /Z to be the exact same text as what you see when you go to change the time zone manually.

I elected to create 5 individual batch files and then call those batch files from the existing site specific logon scripts. This way when we move a PC to a site, and the local user logs on, it will set the time zone correctly.

I also explored the option of setting this as a computer startup script via Group Policy. Doing it this way would have meant that I could apply a GPO to the specific site via Active Directory Sites and Services that would automatically affect all computers in that sites IP subnet. In the end though the reason I chose not to do this was that it would also affect travelling users who visit a remote office. When the travelling user connects their PC to the LAN, they are immediately in that local site, and therefore if they rebooted their computer while on that site, their time zone settings would have been modified. This would have had the side effect of ALSO changing their outlook calendar appointments which would have caused much confusion.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: Blog

About The Author

Wayne has been working with Microsoft Server products in the SMB market for over 20 years. He has a passion for technology and been a Microsoft MVP for over 15 years. Read More…

Comments

  1. nose job q and a says

    September 21, 2014 at 1:12 pm

    The tummy tuck will give you a sleek waist that every woman desires.
    They may be able to work with you to find an arrangement that you are happy with.
    In particular, changes were noted in the ways patients perceived
    their own voices, and their emotional responses to them.

    Here is my web-site – nose job q and a

    Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Connect Online With Us

  • Facebook
  • Twitter

Reviews

Splashtop – Cost Effective Remote Control Software

September 22, 2017 By Wayne Small 2 Comments

Western Digital DL4100 NAS

March 3, 2015 By Wayne Small Leave a Comment

SBS 2011 Configuring Certification Guide (70-169)

August 7, 2012 By Wayne Small 4 Comments

Site News

Exchange Bug Stops Mail Delivery in 2022

January 2, 2022

Huge bug found in Intel CPU that could permit hackers to steal your data

January 4, 2018

Recent Posts

  • MS Exchange Zero Day and RemotePowerShell Disabling on Admin accounts
  • Setup changes for Exchange 2016 and Exchange 2019
  • Bluetooth Mouse and Keyboard Randomly Stop Responding
  • Exchange Bug Stops Mail Delivery in 2022
  • How to open and search extremely large text log files

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration Patches Personal Rants SBS 4.5 SBS 2000 SBS 2000 SP1 SBS 2003 SBS 2003 Premium SBS 2003 R2 SBS 2003 R2 Premium SBS 2003 R2 Standard SBS 2003 SP1 Premium SBS 2003 SP1 Standard SBS 2003 Standard SBS 2008 SBS 2008 R2 SBS 2011 SBS 2011 Essentials SBS 2011 Standard Security Service Packs ShadowProtect SMB Community Software Software I use StorageCraft Training TrendMicro Troubleshooting Virtualisation Windows Server 2012 Essentials

Terms of Use

Privacy Policy

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in