{"id":216366,"date":"2019-03-29T20:06:06","date_gmt":"2019-03-29T19:06:06","guid":{"rendered":"https:\/\/www.borncity.com\/blog\/?p=216366"},"modified":"2024-02-22T18:35:06","modified_gmt":"2024-02-22T17:35:06","slug":"wsus-synchronisierung-schlgt-fehl-mrz-2019","status":"publish","type":"post","link":"https:\/\/borncity.com\/blog\/2019\/03\/29\/wsus-synchronisierung-schlgt-fehl-mrz-2019\/","title":{"rendered":"WSUS-Synchronisierung schl&auml;gt fehl (M&auml;rz 2019)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"Update\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; float: left; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"Windows Update\" src=\"https:\/\/borncity.com\/blog\/wp-content\/uploads\/2015\/02\/Update.jpg\" width=\"54\" align=\"left\" height=\"54\"\/>Kurze Meldung f\u00fcr Administratoren, die einen WSUS unter Windows Server 2016 Windows Server 2012 R2 und Windows Server 2012 betreiben und pl\u00f6tzlich feststellen, dass die Synchronisation nicht mehr m\u00f6glich ist. Grund sind \u00c4nderungen von Microsoft. <\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg06.met.vgwort.de\/na\/c94d64f3028142dcbfc321d56c068e6a\" width=\"1\" height=\"1\"\/>Ich bin gerade <a href=\"https:\/\/administrator.de\/wissen\/wsus-sync-schl%C3%A4gt-pl%C3%B6tzlich-fehl-433695.html\" target=\"_blank\" rel=\"noopener noreferrer\">hier<\/a> \u00fcber das Thema gestolpert. Microsoft hat Supportbeitrag <a href=\"https:\/\/support.microsoft.com\/en-gb\/help\/4482416\/wsus-synchronization-fails-with-soapexception\" target=\"_blank\" rel=\"noopener noreferrer\">4482416<\/a> (WSUS synchronization fails with SoapException) zu diesem Thema ver\u00f6ffentlicht. Beim Betrieb kann der WSUS pl\u00f6tzlich nicht mehr synchronisieren und liefert folgende Fehlermeldung:<\/p>\n<pre>SoapException: Fault occurred\nat System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\n   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\n   at Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetUpdateData(Cookie cookie, UpdateIdentity[] updateIds)\n   at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.WebserviceGetUpdateData(UpdateIdentity[] updateIds, List`1 allMetadata, List`1 allFileUrls, Boolean isForConfig)\n   at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.GetUpdateDataInChunksAndImport(List`1 neededUpdates, List`1 allMetadata, List`1 allFileUrls, Boolean isConfigData)\n   at Microsoft.UpdateServices.ServerSync.Cat<\/pre>\n<p>Der Grund: Dieses Problem tritt auf, weil die WSUS-Server weiterhin den alten Synchronisations-Endpunkt . verwenden. Dieser Endpunkt wurde stillgelegt.<\/p>\n<h2>L\u00f6sung des Problems<\/h2>\n<p>Um das Problem zu beheben, \u00e4ndern Sie den Synchronisations-Endpunkt in der WSUS-Konfiguration auf <em><\/em>. F\u00fchren Sie dazu die folgenden Schritte auf dem obersten WSUS-Server aus, der sich direkt mit Microsoft Update verbindet: <\/p>\n<ol>\n<li>Schlie\u00dfen Sie alle WSUS-Konsolen.&nbsp; <\/li>\n<li>F\u00fchren Sie an einer erh\u00f6hten PowerShell-Eingabeaufforderung die folgenden PowerShell-Skripte aus.\n<p>Hinweis F\u00fchren Sie die Skripte nicht auf einem WSUS-Server aus, der nicht der oberste Server ist. Wenn der Server nicht mit dem Internet verbunden ist, kann die Synchronisierung fehlschlagen.<\/li>\n<\/ol>\n<p><strong>F\u00fcr WSUS Version 3.x verwenden Sie folgendes Script:<\/strong><\/p>\n<p><code>[void][reflection.assembly]::LoadWithPartialName(\"Microsoft.UpdateServices.Administration\")<br \/>$server = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer()<br \/>$config = $server.GetConfiguration()<br \/># Check current settings before you change them<br \/>$config.MUUrl<br \/>$config.RedirectorChangeNumber<br \/># Update the settings if MUUrl is <br \/>$config.MUUrl = \"https:\/\/sws.update.microsoft.com\"<br \/>$config.RedirectorChangeNumber = 4002<br \/>$config.Save();<br \/>iisreset<br \/>Restart-Service *Wsus* -v<\/code><\/p>\n<p>Beachten Sie, dass WSUS-Server, auf denen Windows Server 2008 (ohne das neueste Update) oder fr\u00fchere Versionen laufen, m\u00f6glicherweise die Synchronisationsendpunkte  oder  verwenden. Da diese Versionen von Windows die SHA256-Zertifikatsauthentifizierung nicht unterst\u00fctzen, verwenden Sie die folgenden Einstellungen in den PowerShell-Skripten:<\/p>\n<p><code>$config.MUUrl = \" \"<\/code><br \/><code>$config.RedirectorChangeNumber = 3011<\/code><\/p>\n<p><strong>F\u00fcr WSUS auf Windows Server 2012 und h\u00f6her:<\/strong>\n<\/p>\n<p><code>$server = Get-WsusServer<br \/>$config = $server.GetConfiguration()<br \/># Check current settings before you change them <br \/>$config.MUUrl<br \/>$config.RedirectorChangeNumber<br \/># Update the settings if MUUrl is <br \/>$config.MUUrl = \"https:\/\/sws.update.microsoft.com\"<br \/>$config.RedirectorChangeNumber = 4002<br \/>$config.Save()<br \/>iisreset<br \/>Restart-Service *Wsus* -v<\/code><\/p>\n<p>Verifizieren Sie, dass die WSUS-Synchronisation wieder erfolgreich durchl\u00e4uft. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kurze Meldung f\u00fcr Administratoren, die einen WSUS unter Windows Server 2016 Windows Server 2012 R2 und Windows Server 2012 betreiben und pl\u00f6tzlich feststellen, dass die Synchronisation nicht mehr m\u00f6glich ist. Grund sind \u00c4nderungen von Microsoft.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[881],"class_list":["post-216366","post","type-post","status-publish","format-standard","hentry","category-update","tag-wsus"],"_links":{"self":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts\/216366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/comments?post=216366"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts\/216366\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/media?parent=216366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/categories?post=216366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/tags?post=216366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}