{"id":363,"date":"2019-05-15T13:48:34","date_gmt":"2019-05-15T13:48:34","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=363"},"modified":"2019-05-15T13:48:34","modified_gmt":"2019-05-15T20:48:34","slug":"hyper-v-domain-controller-time-problem","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=363","title":{"rendered":"Hyper-V Domain Controller Time Problem"},"content":{"rendered":"\n<p>With computers, usually the simplest answers are the hardest to find. For example, for the past several months, my home&#8217;s domain time has been off by a couple hours. The task of fixing it was put on the back burner because I&nbsp;didn&#8217;t know the simple answer to it and when I&nbsp;finally got around to trying, I simply couldn&#8217;t find the answer.&nbsp;<br>\n<br>\nAs with most things in a computer, it came down to a stupid checkbox being checked.&nbsp;<br>\n<br><br>\n<strong>Problem: <\/strong>A Hyper-V Domain Controller had the wrong time and kept resyncing to the wrong time<br>\n&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.tactical-tech.net\/img\/Hyper-V_DC_Time_problem\/time%20is%20not%20correct.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Solution:&nbsp;<\/strong>From Hyper-V manager, navigate to the domain controller VM, right mouse and choose &#8216;settings&#8217;.&nbsp;Got to &#8220;Integration Services&#8221; and&nbsp;&nbsp;<strong>uncheck<\/strong> &#8220;Time synchronization&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.tactical-tech.net\/img\/Hyper-V_DC_Time_problem\/uncheck%20time%20sync.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Log into the primary domain controller and sync it with an NTP server. I used a server out on the internet and here are the commands:<br><code>w32tm \/config \/manualpeerlist:\u201c0.pool.ntp.org,0x1\u201d \/syncfromflags:MANUAL \/reliable:yes&nbsp;<br>\nw32tm \/config \/update&nbsp;<br>\nw32tm \/resync&nbsp;<br>\nw32tm \/resync \/rediscover<\/code><\/p>\n\n\n\n<p>Your time should now be correct on the DC:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.tactical-tech.net\/img\/Hyper-V_DC_Time_problem\/Time%20is%20correct2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>If you get a message that says <strong>&#8220;The computer did not resync because no time data was available&#8221;<\/strong>, it&#8217;s either because the NTP server was unreachable OR your command prompt doesn&#8217;t know what to do with quotation marks. If the later, run&nbsp;REGEDIT and navigate to :<br>\n<br>\n<code>HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesW32TimeParametersNtpServer<\/code><\/p>\n\n\n\n<p>If the server has quotes around it, welp, there&#8217;s your problem. Double click it to edit and remove the quotes.<br>\n&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.tactical-tech.net\/img\/Hyper-V_DC_Time_problem\/quotes.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.tactical-tech.net\/img\/Hyper-V_DC_Time_problem\/Nonquotes.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Try to resync again, should work, and for your workstations, if you don&#8217;t want to wait for them to update automatically, you can force it by running CMD as an admin and do the resync command:<br><\/p>\n\n\n\n<p> I know the formatting on this page is horrible, but it&#8217;s nearly 2AM and I forgot how to HTML good \ud83d\ude1b Hope this helped!<\/p>\n\n\n\n<p><code>w32tm \/resync<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With computers, usually the simplest answers are the hardest to find. For example, for the past several months, my home&#8217;s domain time has been off by a couple hours. The task of fixing it was put on the back burner &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=363\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,6,7],"tags":[],"class_list":["post-363","post","type-post","status-publish","format-standard","hentry","category-core","category-my-windows","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=363"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":364,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions\/364"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}