windows server 2008 r2 configure NTP time server

windows server 2008 NTP server do the H3C network equipment network
first WINDOWS SERVER 2008 is off by default NTP services, you need to open by modifying the registry
as follows:
------------------ -------------------------------------------------- ----

Server:

    By default, stand-alone server WINDOWS SERVER 2008 as an NTP client work, you must modify the registry to make the system run as NTP server. Please back up the registry file before work.
     1. Modify the following keys HKEY_LOCAL_MACHINE \ to 1 \ \ \ \ \ within the SYSTEM CurrentControlSet Services W32Time TimeProviders NtpServer of [Enabled].
       Open the NTP server function (default is not open NTP Server service, unless the computer is upgraded to become field control station).
     2. Modify the following key HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ Config \ AnnounceFlags set to 5.
  The setting force will declare its own host as a reliable time source and uses the built-in complementary metal oxide semiconductor (CMOS) clock. If to be used outside of the time server with a default value.
    3. Modify the following key HKEY_LOCAL_MACHINE \ set to NTP \ CurrentControlSet \ Services \ W32Time \ Parameters \ SYSTEM Type within the [Type].
    4. Restart Win32Time services: Close windows time service, and then turn on the service. Can be done under "Administrative Tools" and "service" interface, you can also enter DOS mode "net stop w32time", "net start w32time".

    So far, it has completed the server settings.

Client:

    The client can change the registry setting

    HKEY_LOCAL_MACHINE \ the SYSTEM \ CurrentControlSet \ Services \ the W32Time \ TimeProviders \ NtpClient
                     SpecialPollInterval modified decimal value 43200 (in seconds 43 200 12 hours)
                     SpecialPollTimeRemaining modified value [Time Synchronization Server], such as 0: 192.168.1.1,0
 
    client settings carry out.

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

H3C network devices
to ensure and this NTP server network-wide interoperability in the H3C network equipment
all network devices select client / server mode of operation
only needs to do a command on the H3C network equipment
ntp-service unicast-server xxxx where ip address is the NTP ip address of the server
can then view the synchronization status by dis ntp-service status
after synchronization will find and nTP windows 2008 server time difference of eight hours
this is because windows 2008 are GMT East area 8
and the network equipment usually the default is 0 area
so with the command
clock timezone utc + 0800 add 8
to

Transfer from http://www.ma2ge.com/html/617.html

Guess you like

Origin www.cnblogs.com/khstudy/p/11224204.html