Set up Windows Server 2012R2 timeserver

Source: Internet
Author: User

There has been a recent discovery of a domain environment that is out of sync, and when you patrol the Active Directory, you are prompted to "the primary domain controller (PDC) emulator operations master in the forest is not configured to correctly synchronize time from a valid time source"

Then let's specify the time source for the Active Directory below.

Read on the internet said with the China National Time Service Center IP address 210.72.145.44, but also found that this address has not been used, can not sync, OK! So find another address cn.pool.ntp.org, currently used in the line.

Setup is simple

Run cmd as Administrator

W32tm/config/manualpeerlist: "Cn.pool.ntp.org"/syncfromflags:manual/reliable:yes/update

net stop W32Time & net start W32Time

W32tm/resync

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/86/60/wkiom1e9ryqygxy4aaetidiwqd8522.png "height=" 313 "/>

When you are done, look under Settings w32tm/query/status

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/86/60/wkiom1e9ryvw25mwaab96ibxxrc964.png "height=" 184 "/>

Then take a look at the time difference between the local and the time source. The IP address of the cn.pool.ntp.org is changed, sometimes it is not linked

W32tm/stripchart/computer:cn.pool.ntp.org/samples:30/dataonly

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/86/60/wKiom1e9RYzRCAZrAACIUwOM0OA302.png "height=" 172 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/86/60/wKiom1e9RY2y-zInAAC0xilRADg450.png "height=" 266 "/>

When you are finished, modify the Group Policy to assign the event sources for the remaining servers in the domain to the primary domain control

View W32tm/query/status on the remaining servers

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/86/60/wkiom1e9ry7tx4hpaacuhwvbulw048.png "height=" 178 "/>

If you want to restore the original settings, re-register to restore the original default settings

net stop W32Time

W32tm/unregister

W32tm/register

net start W32Time




This article is from the "Li Fei _ignore" blog, be sure to keep this source http://ignore.blog.51cto.com/2247529/1841980

Set up Windows Server 2012R2 timeserver

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.