{"id":1147,"date":"2020-03-02T16:03:01","date_gmt":"2020-03-02T15:03:01","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=1147"},"modified":"2020-03-02T16:03:01","modified_gmt":"2020-03-02T15:03:01","slug":"configure-windows-server-to-query-an-external-ntp-server","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=1147","title":{"rendered":"Configure Windows Server to query an external NTP Server"},"content":{"rendered":"\n<p>This is generally performed on DCs in an Active Directory domain. Then all workstations use AD to get time from the DCs. This could also be used on a non-DC windows machine to be your NTP server for your network that you point to for all of your switches\/routers and various other devices.<\/p>\n\n\n\n<p>First, open PowerShell and stop the Windows Time Service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">> net stop w32time<\/pre>\n\n\n\n<p>then set the used NTP servers using<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">> w32tm \/config \/syncfromflags:manual \/manualpeerlist:\"0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org,3.us.pool.ntp.org\"<\/pre>\n\n\n\n<p>(get the best servers for your region from <a href=\"https:\/\/www.ntppool.org\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.ntppool.org (opens in a new tab)\">https:\/\/www.ntppool.org<\/a>)<\/p>\n\n\n\n<p>mark the servers as reliable with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">> w32tm \/config \/reliable:yes<\/pre>\n\n\n\n<p>and last, start the service again.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">> net start w32time<\/pre>\n\n\n\n<p>You can check the configuration by using following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">> w32tm \/query \/configuration\n> w32tm \/query \/status<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is generally performed on DCs in an Active Directory domain. Then all workstations use AD to get time from the DCs. This could also be used on a non-DC windows machine to be your NTP server for your network that you point to for all of your switches\/routers and various other devices. First, open [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[],"class_list":["post-1147","post","type-post","status-publish","format-standard","hentry","category-servers","category-windows"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1147"}],"version-history":[{"count":1,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1147\/revisions"}],"predecessor-version":[{"id":1148,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1147\/revisions\/1148"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}