{"id":6727,"date":"2016-07-23T17:45:24","date_gmt":"2016-07-23T17:45:24","guid":{"rendered":"http:\/\/www.highclouder.ninja\/?p=6727"},"modified":"2024-05-21T14:49:55","modified_gmt":"2024-05-21T14:49:55","slug":"exchange-management-console-pointing-wrong-server-attempt-connect-httpserver-domain-compowershell-using-kerberos-authentication-failed","status":"publish","type":"post","link":"https:\/\/www.highclouder.com\/?p=6727","title":{"rendered":"Exchange Management Console pointing to a wrong server &#8220;The attempt to connect to http:\/\/srv.domain.com\/PowerShell using &#8216;Kerberos authentication failed'&#8221;"},"content":{"rendered":"<p>I came across this error during an Exchange deployment in one of the Universities of Canada :). The EMC would not connect:<\/p>\n<p>\u201cThe attempt to connect to http:\/\/server.domain.com\/PowerShell using \u201cKerberos\u201d authentication failed: connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. For more information, see the about_Remote_Troubleshooting Help topic.\u201d<\/p>\n<p>There are some blog posts on the internet around how to fix the connectivity problem to the server, but none of them were working in my case.<\/p>\n<p>In my situation, the server EMC was pointing to the server that didn\u2019t come back after reboot (but this is another story). EMC would connect fine to a different working server.<\/p>\n<p>As a workaround I\u2019ve added a \u201cnew\u201d Exchange forest and was managed to connect, but I wanted to actually fix the issue.<\/p>\n<p>So, the solution is simple :).<!--more--><\/p>\n<p>Close EMC<\/p>\n<p>Execute the following commands (in CMD):<\/p>\n<pre>DEL \"%USERPROFILE%\\AppData\\Roaming\\Microsoft\\MMCDEL \"%USERPROFILE%\\AppData\\Roaming\\Microsoft\\MMC\\Exchange Management Console.*\"\nREG DELETE HKEY_CURRENT_USER\\Software\\Microsoft\\ExchangeServer\\v14\\AdminTools \/v NodeStructureSettings \/f<\/pre>\n<p>Now, the EMC correctly rediscover an active Exchange server..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across this error during an Exchange deployment in one of the Universities of Canada :). The EMC would not connect: \u201cThe attempt to connect to http:\/\/server.domain.com\/PowerShell using \u201cKerberos\u201d authentication failed: connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6731,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6727","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/posts\/6727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6727"}],"version-history":[{"count":1,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/posts\/6727\/revisions"}],"predecessor-version":[{"id":7262,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/posts\/6727\/revisions\/7262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=\/wp\/v2\/media\/6731"}],"wp:attachment":[{"href":"https:\/\/www.highclouder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.highclouder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}