{"id":281,"date":"2005-09-21T20:18:21","date_gmt":"2005-09-21T13:18:21","guid":{"rendered":"http:\/\/adhi.widjajanto.net\/weblog\/index.php\/2005\/09\/21\/ntp_di_w2003ee\/"},"modified":"2015-06-05T14:29:38","modified_gmt":"2015-06-05T07:29:38","slug":"ntp_di_w2003ee","status":"publish","type":"post","link":"https:\/\/adhi.widjajanto.net\/blog\/2005\/09\/21\/ntp_di_w2003ee\/","title":{"rendered":"NTP di W2003EE"},"content":{"rendered":"<p>Ugh, akhirnya setelah beberapa kali dicoba akhirnya jalan juga. Sekarang jam PDC ku sinkron dengan asia.pool.ntp.org. Dulu kayaknya susah banget karena dibelakang NAT dan segala tetek bengek yang dipasang di jaringan Internet Lt. 25. Sekarang, hanya dibalik SW2E, konfigurasinya gampang banget.<\/p>\n<p><!--more--><\/p>\n<h3>Configuring the Windows Time service to use an external time source<\/h3>\n<p> To configure an internal time server to synchronize with an external time source, follow these steps:<\/p>\n<table class=\"list ol\">\n<tr>\n<td class=\"number\">1.<\/td>\n<td class=\"text\">Change the server type to NTP. To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Click <strong class=\"uiterm\">Start<\/strong>, click <strong class=\"uiterm\">Run<\/strong>, type <span class=\"userInput\">regedit<\/span>, and then click <strong class=\"uiterm\">OK<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Parameters\\Type<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">Type<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">d. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit Value<\/strong>, type <span class=\"userInput\">NTP<\/span> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">2.<\/td>\n<td class=\"text\">Set AnnounceFlags to 5. To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config\\AnnounceFlags<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">AnnounceFlags<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit DWORD Value<\/strong>, type <span class=\"userInput\">5<\/span> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">3.<\/td>\n<td class=\"text\">Enable NTPServer. To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\TimeProviders\\NtpServer<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">Enabled<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit DWORD Value<\/strong>, type <span class=\"userInput\">1<\/span> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">4.<\/td>\n<td class=\"text\">Specify the time sources. To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Parameters\\NtpServer<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">NtpServer<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit Value<\/strong>, type <var>Peers<\/var> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.<\/p>\n<p><b>Note <\/b><var>Peers<\/var> is a placeholder for  a space-delimited list of peers from which your computer obtains time stamps. Each DNS name that is listed must be unique.     You must append <span class=\"userInput\">,0x1<\/span> to the end of each DNS name.   If you do not append <span class=\"userInput\">,0x1<\/span> to the end of each DNS name, the changes made in step 5 will not take effect.<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">5.<\/td>\n<td class=\"text\">Select the poll interval. To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\TimeProviders\\NtpClient\\SpecialPollInterval<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">SpecialPollInterval<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit DWORD Value<\/strong>, type <var>TimeInSeconds<\/var> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.    <\/p>\n<p><b>Note <\/b><var>TimeInSeconds<\/var> is a placeholder for the number of seconds that you want between each poll.  A recommended value is 900 Decimal.  This value configures the Time Server to poll every 15 minutes.<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">6.<\/td>\n<td class=\"text\">Configure the time correction settings.    To do this, follow these steps:<\/p>\n<table class=\"list al\">\n<tr>\n<td class=\"number\">a. <\/td>\n<td class=\"text\">Locate and then click  the following registry subkey:<\/p>\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config\\MaxPosPhaseCorrection<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">b. <\/td>\n<td class=\"text\">\tIn the right pane, right-click <strong class=\"uiterm\">MaxPosPhaseCorrection<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">c. <\/td>\n<td class=\"text\">In <strong class=\"uiterm\">Edit DWORD Value<\/strong>, click to select <strong class=\"uiterm\">Decimal<\/strong> in the <strong class=\"uiterm\">Base<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">d. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit DWORD Value<\/strong>, type <var>TimeInSeconds<\/var> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.  <\/p>\n<p><b>Note <\/b><var>TimeInSeconds<\/var> is a placeholder for a reasonable value, such as 1 hour (3600) or 30 minutes (1800).  The value that you select will depend upon the poll interval, network condition, and external time source.\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">e. <\/td>\n<td class=\"text\">Locate and then click the following registry subkey: <strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config\\MaxNegPhaseCorrection<br \/>\n<\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"number\">f. <\/td>\n<td class=\"text\">In the right pane, right-click <strong class=\"uiterm\">MaxNegPhaseCorrection<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">g. <\/td>\n<td class=\"text\">In <strong class=\"uiterm\">Edit DWORD Value<\/strong>, click to select <strong class=\"uiterm\">Decimal<\/strong> in the <strong class=\"uiterm\">Base<\/strong> box. <\/td>\n<\/tr>\n<tr>\n<td class=\"number\">h. <\/td>\n<td class=\"text\">\tIn <strong class=\"uiterm\">Edit DWORD Value<\/strong>, type <var>TimeInSeconds<\/var> in the <strong class=\"uiterm\">Value data<\/strong> box, and then click <strong class=\"uiterm\">OK<\/strong>.  <\/p>\n<p><b>Note <\/b><var>TimeInSeconds<\/var> is a placeholder for a reasonable value, such as 1 hour (3600) or 30 minutes (1800).  The value that you select will depend upon the poll interval, network condition, and external time source.\n<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">7.<\/td>\n<td class=\"text\">Quit Registry Editor.<\/td>\n<\/tr>\n<tr>\n<td class=\"number\">8.<\/td>\n<td class=\"text\">At the command prompt, type the following command to restart the Windows Time service, and then press ENTER:<\/p>\n<div class=\"indent\"><span class=\"userInput\">net stop w32time &amp;&amp; net start w32time<\/span><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p><span><a id=\"5\"><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ugh, akhirnya setelah beberapa kali dicoba akhirnya jalan juga. Sekarang jam PDC ku sinkron dengan asia.pool.ntp.org. Dulu kayaknya susah banget karena dibelakang NAT dan segala tetek bengek yang dipasang di jaringan Internet Lt. 25. Sekarang, hanya dibalik SW2E, konfigurasinya gampang banget.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-job-loads"],"_links":{"self":[{"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":1,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":1874,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions\/1874"}],"wp:attachment":[{"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adhi.widjajanto.net\/blog\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}