Windows Server does NTP time server and time setting Internet time synchronization method

Source: Internet
Author: User

Windows Server 2008
Windows ServerdoNTPServer andH3CNetwork Equipment Group Network
FirstWINDOWS SERVERdefault is OffNTPservice, which needs to be opened by modifying the registry
Here's how:
------------------------------------------------------------------------

Service side:

    by default, standalone serversWINDOWS SERVERis asNTPclient-side work, you must modify the registry so that the system acts as aNTPThe server is running. Back up your registry files before you work.
1.Modify the key values for the following optionsHkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserverwithin the[Enabled]set to1.
OpenNTPServer function (default is not turned onNTP Serverservice, unless the computer is upgraded to a domain control station).
2.Modify the following key valuesHkey_local_machine\system\currentcontrolset\services\w32time\config\announceflagsset to5.
This setting forces the host to announce itself as a reliable time source, thereby using the built-in complementary metal oxide semiconductor(CMOS)clocks. If you want to use an outside time server, use the defaultavalues.
3.Modify the following key valuesHkey_local_machine\system\currentcontrolset\services\w32time\parameters\typewithin the[Type]set toNTP.
4. RestartWin32timeService: Close FirstWindows Timeservice, and then start the service. Can be done under the services interface of the administrative tools, or you canDOSMode Input "net stop W32Time","net start W32Time".

At this point, the server-side settings have been completed.

------------------------------------------------------------------------

Client:

1. under " start " menu → " run " entry "Regedit" go to Registry Editor  

2.Expand[Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpclient]Branch, and double-clickSpecialPollIntervalkey value that will be in the dialog box."Cardinality Bar"Select to"decimal"on 

3.the number displayed in the dialog box is the interval between the automatic alignment(in units of seconds), such as the default604800is the7 (days) x24 (when) x60 (points) x60 (seconds)calculated. Set the time synchronization period (recommended to900=15minutes or3600=1hours, etc.), fill in the dialog box, click OK to save the Close dialog box.  

4. in the Parameters list, modify the NtpServer key value to the IP of the National Timing Center Server Address (210.72.145.44) , and then tap " Determine " button to save.


This article is from "learning." "Blog, be sure to keep this provenance http://aixer95.blog.51cto.com/943421/1717112

Windows Server does NTP time server and time setting Internet time synchronization method

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.