How to set up a Time Server in Windows Server 2012 R2

Windows Server 2012 R2 doesn't seem to have any ability to set up a time server.
w32tm doesn't seem to have an option to do this.
Hopefully without editing the registry?
Dwight BaerStudentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rodney BarnhardtServer AdministratorCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Toni UranjekConsultant/TrainerCommented:
/config option?
Rodney BarnhardtServer AdministratorCommented:
I am not sure I understand your comment. Are you saying that if you type a ? after "/config" you do not get any results, that is true. You get an error. However, if you type the ? after the "/", then you are able to see the arguments.
Screen shot of 2012 R2
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Toni UranjekConsultant/TrainerCommented:
/config is the switch you should use.

w32tm /config [/computer:<target>] [/update]
    [/manualpeerlist:<peers>] [/syncfromflags:<source>]
  computer:<target> - adjusts the configuration of <target>. If not
    specified, the default is the local computer.
  update - notifies the time service that the configuration has
    changed, causing the changes to take effect.
  manualpeerlist:<peers> - sets the manual peer list to <peers>,
    which is a space-delimited list of DNS and/or IP addresses.
    When specifying multiple peers, this switch must be enclosed in
  syncfromflags:<source> - sets what sources the NTP client should
    sync from. <source> should be a comma separated list of
    these keywords (not case sensitive):
      MANUAL - sync from peers in the manual peer list
      DOMHIER - sync from an AD DC in the domain hierarchy
      NO - sync from none
      ALL - sync from both manual and domain peers
  LocalClockDispersion:<seconds> - configures the accuracy of the
    internal clock that w32time will assume when it can't acquire
    time from its configured sources.
  reliable:(YES|NO) - set whether this machine is a reliable time source.
    This setting is only meaningful on domain controllers.
      YES - this machine is a reliable time service
      NO - this machine is not a reliable time service
  largephaseoffset:<milliseconds> - sets the time difference between
    local and network time which w32time will consider a spike.

Open in new window

Rodney BarnhardtServer AdministratorCommented:
Sorry Toni, I did misread my alert. I thought it was an author comment, not an expert comment. It came in a few minutes after I posted the instructions, so I thought it was in response to my post.
Toni UranjekConsultant/TrainerCommented:
Casey WeaverManaged Services Windows Engineer IIICommented:
I asked this not too long ago, and was given the perfect solution here:
Dwight BaerStudentAuthor Commented:
Awesome.  The video tutorial was just what I needed as well.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.