Microsoft

System Center Configuration Manager Feedback

Suggestion box powered by UserVoice

How can we improve Configuration Manager?

Dynamically Set TimeZone During OSD From DP

Create a task sequence step which could be optionally added to dynamically set the time zone on a client during OSD based upon the time zone of the distribution point said client is retrieving content from.

14 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Mark Godfrey shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

4 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Tariq commented  ·   ·  Flag as inappropriate

    You can set a dynamic variables task and create a condition based on the default gateway.

  • Tariq commented  ·   ·  Flag as inappropriate

    Hi Wade,

    Can you please share your WMI query here, if possible.

    Thanks

  • Wade Atkinson commented  ·   ·  Flag as inappropriate

    We do something similar, but leverage AD Sites. We run WMI Queries after the machine has joined the domain to determine what site its in, if the site is say %MO% for Missouri then we would run the tzutil to change the timezone to CST.

  • Matthew Gailer commented  ·   ·  Flag as inappropriate

    I've actually achieved this using Dynamic Variables within the Task Sequence, where there were DP's all across the country that were capable of performing OSD builds. You can then use the "tzutil" command as "Run Command Line" with the variable e.g. tzutil /s %TZone%. Works like a charm.

Feedback and Knowledge Base