Configuration of Windows server R2 NTP time server

Source: Internet
Author: User

1. In the Start menu bar, click "Run" to enter regedit to open the Windows registry
2. Set as NTP server type.
Modify the Login file: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters"
The [Type] setting value is modified to "NTP".
3. Set the authorization time server
Modify the Login file: "Hkey_local_machine\system\currentcontrolset\services\w32time\config"
[AnnounceFlags] Modify the setting value to 5.
4. Enable NTP server
Modify the Login file: "Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserver"
The [Enabled] value is modified to 1.
5. Restart Windows Time Service
Open the Start menu, enter "CMD" in the command line mode to enter:
? Net?stop?w32time?&&?net?start?w32time??? Restart the Win32time service.

Attention:
1. Set the W32Time service startup mode to Automatic in system service.
2. Make sure the firewall allows UDP123 port access.
Open udp:123 Port
Open the Start menu, enter "CMD" in the command line mode to enter:
netsh firewall add portopening protocol = UDP Port =123 name = NTPSERVER

To configure an ESXi host as an NTP client
1. Log in to Vcenter server via Web client and configure it by

2. Enable the ESXi command line

Press ALT+F1 to toggle the command interface
3. Modify the ESXi configuration file
1.vi/etc/ntp.conf Add the following content
TOS Maxdist 30
2. Save and launch
3. Set Write permissions for/etc/likewise/lsassd.conf
chmod +w/etc/likewise/lsassd.conf
4.vi/etc/likewise/lsassd.conf find the following configuration items minus the comments and the preceding spaces,
Sync-system-time = No
5. Save and launch.
6. Execute the following command
/sbin/auto-backup.sh
7. Restart the following two services
/ETC/INIT.D/LSASSD restart
/ETC/INIT.D/NTPD restart

Configuration of Windows server R2 NTP time server

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.