<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows 2012 | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/windows-2012/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>Windows 2012 | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Fixing Failed to Start and Configure the WSUS Service in Windows Server 2012 R2</title>
		<link>https://www.kjctech.net/fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2</link>
					<comments>https://www.kjctech.net/fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Thu, 22 Dec 2016 00:19:02 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 2012]]></category>
		<category><![CDATA[wsus]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=3432</guid>

					<description><![CDATA[<p>I upgraded one Windows Server 2008 R2 machine to Windows Server 2012 R2 the other day and had a bit hard time getting WSUS to work again. WSUS is now part of Windows Server 2012 family serving as a role, instead of a standalone software that needs to be installed separately in previous Windows. After I successfully added WSUS as [&#8230;]</p>
The post <a href="https://www.kjctech.net/fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2/">Fixing Failed to Start and Configure the WSUS Service in Windows Server 2012 R2</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I upgraded one Windows Server 2008 R2 machine to Windows Server 2012 R2 the other day and had a bit hard time getting WSUS to work again. WSUS is now part of Windows Server 2012 family serving as a role, instead of a standalone software that needs to be installed separately in previous Windows.</p>
<p>After I successfully added WSUS as a service role to the server, I need to run the Post-installation process to complete the whole installation. And that&#8217;s where the issue started.</p>
<pre class="">Fatal Error: Failed to start and configure the WSUS service</pre>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3434" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?resize=512%2C311" alt="" width="512" height="311" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?w=512&amp;ssl=1 512w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?resize=250%2C152&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?resize=450%2C273&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?resize=360%2C219&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/WSUS-on-Windows-2012-failed-in-post-installation-2.jpg?resize=100%2C61&amp;ssl=1 100w" sizes="(max-width: 512px) 100vw, 512px" /></p>
<p>After looking at the log file indicated in the Notification window, here is what I found:</p>
<pre class="lang:default decode:true ">2016-12-21 10:06:27  CreateDefaultSubscription failed. Exception: System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.&lt;/title&gt;
        &lt;style&gt;
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        &lt;/style&gt;
    &lt;/head&gt;
</pre>
<p>It took me at least one hour to finally figure it out. It&#8217;s basically the setup in Application Pools in IIS that messed things up. To fix it up, open <strong>IIS Manager</strong>, head over to <strong>Application Pool</strong>, and set <strong>WsusPool</strong> to use .Net v4.0 instead of v2.0 in my case.</p>
<p><img data-recalc-dims="1" decoding="async" class="alignnone size-large wp-image-3435" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40-600x297.png?resize=600%2C297" alt="" width="600" height="297" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=600%2C297&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=250%2C124&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=450%2C223&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=768%2C381&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=700%2C347&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=520%2C258&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=360%2C178&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?resize=100%2C50&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-Applicaiton-Pools-wsuspool-to-v40.png?w=884&amp;ssl=1 884w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Once done, I started the Post-installation again and it went all the way to the end successfully without any further issues.</p>
<p><img data-recalc-dims="1" decoding="async" class="alignnone size-full wp-image-3436" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=523%2C289" alt="" width="523" height="289" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?w=523&amp;ssl=1 523w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=250%2C138&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=450%2C249&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=520%2C287&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=360%2C199&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/Fix-WSUS-Postinstallation-Error_www.doitfixit.com-3.jpg?resize=100%2C55&amp;ssl=1 100w" sizes="(max-width: 523px) 100vw, 523px" /></p>
<p>On another note, there is another different error that also causes post-installation to fail.</p>
<pre class="">CreateDefaultSubscription failed. Exception: System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.</pre>
<p>If that&#8217;s the case for you, all you need to do is to remove <strong>WSUS Administration</strong> site in IIS and start the post-installation process again.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-3437" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?resize=452%2C504" alt="" width="452" height="504" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?w=452&amp;ssl=1 452w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?resize=250%2C279&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?resize=450%2C502&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?resize=360%2C401&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/IIS-to-remove-WSUS-Administration.png?resize=100%2C112&amp;ssl=1 100w" sizes="auto, (max-width: 452px) 100vw, 452px" /></p>
<p>That&#8217;s about it. Hopefully, it helps.</p>The post <a href="https://www.kjctech.net/fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2/">Fixing Failed to Start and Configure the WSUS Service in Windows Server 2012 R2</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/fixing-failed-to-start-and-configure-the-wsus-service-in-windows-server-2012-r2/feed/</wfw:commentRss>
			<slash:comments>32</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3432</post-id>	</item>
	</channel>
</rss>
