Modifying the NTP service settings for a system after Windows 2008

Source: Internet
Author: User

1 @echo off2 Echoautor OAK3 @echo off4 Echo--------------------------------5 @echo off6 EchoSetup TimeResync every one hour7 @echo off8REG ADD hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpclient/v specialpollinterval/t reg_dword/d3600/F9 @echo offTen Echo-------------------------------- One EchoSetup W32Time auto Startup A @echo off -REG ADD hkey_local_machine\system\currentcontrolset\services\w32time/v start/t reg_dword/d2/F - @echo off the Echo-------------------------------- - @echo off -set/p timeserver=10.31.24.50 -  +W32tm/config/manualpeerlist:"10.31.24.50"/syncfromflags:manual/reliable:yes/Update - net stop W32Time + net start W32Time AW32tm/resync
View Code

Modifying the NTP service settings for a system after Windows 2008

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.