{"id":223,"date":"2019-01-11T10:45:26","date_gmt":"2019-01-11T17:45:26","guid":{"rendered":"https:\/\/angrysysadmins.tech\/?p=223"},"modified":"2019-01-19T03:56:45","modified_gmt":"2019-01-19T10:56:45","slug":"reeeee-authenticate-domain-machine","status":"publish","type":"post","link":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/","title":{"rendered":"Windows: Re(eeee)-Authenticate Domain Machine"},"content":{"rendered":"<p>Has your machine gone &#8220;out of sync&#8221; with the domain? Mine did at work, and it was very annoying. I got the following error when I tried to login today:<\/p>\n<pre>The trust relationship between this workstation and the domain failed<\/pre>\n<p>Luckily, the fix is pretty easy, it just requires little bit of Powershell magic to get it working again.<\/p>\n<p>Open up a local admin Powershell. If you are unable to login to the machine, use the .\\ prefix to specify a local account.<\/p>\n<pre>$credential = Get-Credential;<\/pre>\n<p>In the box, enter valid credentials for a domain admin account (or an account with AD edit\/add permissions), then run the following commands in the same Powershell window but replace YourDomainController.TLD with your domain controller&#8217;s FQDN.<\/p>\n<pre>Reset-ComputerMachinePassword -Server YourDomainController.TLD -Credential $credential<\/pre>\n<p>That should fix it. Reboot and you should be able to log in again. If it did not work, the next thing to try is double checking that your DNS is set correctly. It should be set the same as your Domain Controller.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Has your machine gone &#8220;out of sync&#8221; with the domain? Mine did at work, and it was very annoying. I got the following error when I tried to login today: The trust relationship between this workstation and the domain failed Luckily, the fix is pretty easy, it just requires little bit of Powershell magic to <br \/><a class=\"read-more-button\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,3],"tags":[],"coauthors":[39],"class_list":["post-223","post","type-post","status-publish","format-standard","hentry","category-active-directory","category-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins\" \/>\n<meta property=\"og:description\" content=\"Has your machine gone &#8220;out of sync&#8221; with the domain? Mine did at work, and it was very annoying. I got the following error when I tried to login today: The trust relationship between this workstation and the domain failed Luckily, the fix is pretty easy, it just requires little bit of Powershell magic to Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/\" \/>\n<meta property=\"og:site_name\" content=\"Angry Sysadmins\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-11T17:45:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-19T10:56:45+00:00\" \/>\n<meta name=\"author\" content=\"Ryan Parker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan Parker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/\"},\"author\":{\"name\":\"Ryan Parker\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\"},\"headline\":\"Windows: Re(eeee)-Authenticate Domain Machine\",\"datePublished\":\"2019-01-11T17:45:26+00:00\",\"dateModified\":\"2019-01-19T10:56:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/\"},\"wordCount\":160,\"commentCount\":0,\"articleSection\":[\"Active Directory\",\"Windows\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/\",\"name\":\"Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\"},\"datePublished\":\"2019-01-11T17:45:26+00:00\",\"dateModified\":\"2019-01-19T10:56:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/grassyloki\\\/reeeee-authenticate-domain-machine\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/angrysysadmins.tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows: Re(eeee)-Authenticate Domain Machine\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/\",\"name\":\"Angry Sysadmins\",\"description\":\"A site full of angry sysadmins here to vent and help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/angrysysadmins.tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\",\"name\":\"Ryan Parker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g664d0e05248e51cb1d71b3f66c6f929d\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g\",\"caption\":\"Ryan Parker\"},\"description\":\"Professionally im a Infrastructure Security Specialist. I current maintain a homelab with about 3TB of RAM, 240+ TB of storage, tons of CPU cores, and 100gbit networking backbone in the garage running up my electricity bill.\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/author\\\/grassyloki\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/","og_locale":"en_US","og_type":"article","og_title":"Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins","og_description":"Has your machine gone &#8220;out of sync&#8221; with the domain? Mine did at work, and it was very annoying. I got the following error when I tried to login today: The trust relationship between this workstation and the domain failed Luckily, the fix is pretty easy, it just requires little bit of Powershell magic to Read More &raquo;","og_url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/","og_site_name":"Angry Sysadmins","article_published_time":"2019-01-11T17:45:26+00:00","article_modified_time":"2019-01-19T10:56:45+00:00","author":"Ryan Parker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ryan Parker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/#article","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/"},"author":{"name":"Ryan Parker","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199"},"headline":"Windows: Re(eeee)-Authenticate Domain Machine","datePublished":"2019-01-11T17:45:26+00:00","dateModified":"2019-01-19T10:56:45+00:00","mainEntityOfPage":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/"},"wordCount":160,"commentCount":0,"articleSection":["Active Directory","Windows"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/","url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/","name":"Windows: Re(eeee)-Authenticate Domain Machine - Angry Sysadmins","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/#website"},"datePublished":"2019-01-11T17:45:26+00:00","dateModified":"2019-01-19T10:56:45+00:00","author":{"@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199"},"breadcrumb":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/grassyloki\/reeeee-authenticate-domain-machine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/angrysysadmins.tech\/"},{"@type":"ListItem","position":2,"name":"Windows: Re(eeee)-Authenticate Domain Machine"}]},{"@type":"WebSite","@id":"https:\/\/angrysysadmins.tech\/#website","url":"https:\/\/angrysysadmins.tech\/","name":"Angry Sysadmins","description":"A site full of angry sysadmins here to vent and help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/angrysysadmins.tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199","name":"Ryan Parker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g664d0e05248e51cb1d71b3f66c6f929d","url":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g","caption":"Ryan Parker"},"description":"Professionally im a Infrastructure Security Specialist. I current maintain a homelab with about 3TB of RAM, 240+ TB of storage, tons of CPU cores, and 100gbit networking backbone in the garage running up my electricity bill.","url":"https:\/\/angrysysadmins.tech\/index.php\/author\/grassyloki\/"}]}},"_links":{"self":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":8,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":256,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions\/256"}],"wp:attachment":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/tags?post=223"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/coauthors?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}