<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SUS Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sus/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sus/feed.xml</link>
    <description>This is the Windows Server Update Services support team blog. We cover all things relating to WSUS and Windows Update.</description>
    <lastBuildDate>Wed, 11 Jan 2017 15:59:37 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>The Microsoft security update for January 2017 has been released</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/the-microsoft-security-update-for-january-2017-has-been-released</link>
      <pubDate>Wed, 11 Jan 2017 15:59:37 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12965</guid>
      <description><![CDATA[Yesterday we released security updates to provide additional protections against malicious...]]></description>
      <content:encoded><![CDATA[<p>Yesterday we released security updates to provide additional protections against malicious attackers. As a best practice, we encourage customers to apply security updates as soon as they are released.<p>More information about this month’s <a href="https://technet.microsoft.com/en-us/library/security/mt637780.aspx">security updates</a> and <a href="https://technet.microsoft.com/en-us/library/security/mt631688.aspx">advisories</a> can be found in the Security TechNet Library.</p>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting Microsoft WSUS software update synchronization issues</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/troubleshooting-configuration-manager-and-wsus-software-update-synchronization-issues</link>
      <pubDate>Mon, 09 Jan 2017 16:19:27 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12955</guid>
      <description><![CDATA[If you’re having synchronization problems with either WSUS or System Center Configuration Manager,...]]></description>
      <content:encoded><![CDATA[<p>If you’re having synchronization problems with either WSUS or System Center Configuration Manager, here’s a friendly reminder that we have a great troubleshooter that will walk you through diagnosing and fixing some of the more common issues that may be encountered when sync fails. If you ever have these kinds of issues, there’s a good chance that this guide will show you how to fix them, and even if you don’t find the resolution to you exact problem, it offers some great resources and tips that will help get you pointed in the right direction. You can find this troubleshooter <a href="https://support.microsoft.com/en-us/help/10059/troubleshooting-configmgr-2012-software-update-synchronization-issues">here</a>.</p><p><strong>J.C. Hornbeck</strong>, Solution Asset PM<br>Microsoft Enterprise Cloud Group<p><font color="#ffffff"><em>Microsoft ConfigMgr 2012 R2 ConfigMgr current branch Windows Server software update point software update synchronization Microsoft update windows update</em></font></p>]]></content:encoded>
    </item>
    <item>
      <title>Support Tip: WSUS Server Cleanup Wizard task “Delete computers that have not contacted the server in 30 days or more” fails with connection error</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/support-tip-wsus-server-cleanup-wizard-task-delete-computers-that-have-not-contacted-the-server-in-30-days-or-more-fails-with-connection-error</link>
      <pubDate>Wed, 14 Dec 2016 15:09:08 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12945</guid>
      <description><![CDATA[~ Author: Moni R S

Hello Everyone, my name is Moni and I am a Support Engineer in the Windows...]]></description>
      <content:encoded><![CDATA[<em>~ Author: Moni R S</em>

Hello Everyone, my name is Moni and I am a Support Engineer in the Windows Devices and Deployment team here at Microsoft. In this post, I’ll be discussing an issue where the Server Cleanup Wizard for WSUS 3.0 Service Pack 2 times out when attempting to delete computers that have not contacted the server in 30 days or more.
<h4>Background</h4>
The following screenshot shows what the WSUS Server Cleanup Wizard looks like in WSUS 3.0 SP2:

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image0029.jpg"><img width="444" height="389" title="clip_image002" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image002_thumb7.jpg" border="0" /></a>

We could execute all the tasks except the second one: <strong><em>Delete computers that have not contacted the server in 30 days or more</em></strong>. This task was timing out, resulting in a loss of WSUS console connectivity.

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image0049.jpg"><img width="666" height="86" title="clip_image004" style="border: 0px currentcolor" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image004_thumb5.jpg" border="0" /></a>
<p align="center"><strong><em><span style="font-size: xx-small">&lt;An Error occurred trying to connect the WSUS server. This error can happen for a number of reasons. Check connectivity with the server. Please contact your network administrator if the problem persists&gt;</span></em></strong></p>
Details of the error are as follows:

<span style="color: #0000ff"><em>The WSUS administration console was unable to connect to the WSUS Server Database.
Verify that SQL server is running on the WSUS Server. If the problem persists, try restarting SQL.
System.Data.SqlClient.SqlException -- Access to table dbo.tbDownstreamServerClientSummaryRollup is blocked because the signature is not valid.
Source
.Net SqlClient Data Provider
Stack Trace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Microsoft.UpdateServices.UI.SnapIn.Wizards.ServerCleanup.ServerCleanupWizard.OnCleanupComplete(Object sender, PerformCleanupCompletedEventArgs e)</em></span>

It appears that access to the table <em><b>dbo</b>.<b>tbDownstreamServerClientSummaryRollup</b></em> is blocked because the signature is not valid, thereby resulting in a timeout while attempting to delete obsolete computers.

Attempting to access this table by executing the following query against the SUSDB:

<span style="color: #9b00d3">select * from tbDownstreamServerClientSummaryRollup</span>

It failed with the message below:

<em><span style="color: #0000ff">Msg 33002, Level 16, State 1, Line 1
Access to table dbo.tbDownstreamServerClientSummaryRollup is blocked because the signature is not valid.</span></em>

<b>What we can infer:</b>
<ul>
 	<li>Windows Internal Database (WID) was being used to host the SUSDB. WID basically is SQL Server Embedded Edition.</li>
 	<li>The table named <em>tbDownstreamServerClientSummaryRollup</em> has an invalid signature and this is because this is not allowed in SQL Server Embedded Edition.</li>
 	<li>The trust is broken between WSUS and SQL Embedded edition.</li>
 	<li>When a query is executed which tries to access such a table or module with invalid signature it fails.</li>
</ul>
Fixing this is a laborious task as we must sign the concerned table with a valid signature and re-establish the trust between WSUS and SQL Server Embedded Edition.

This led me to perform the below testing:
<h4>Testing / Repro</h4>
I built a new WSUS 3.0 SP2 lab test machine and verified the certificate by executing this SQL query against the SUSDB:

<span style="color: #9b00d3">select * from sys.certificates</span>

This returned <strong>MS_SchemaSigningCertificateD7A4348D8F461363128D655AE4589B8206B74257</strong>

There was only one certificate, which comes built in.

I removed the signature for <b>tbDownstreamServerClientSummaryRollup</b> by executing the SQL query below against SUSDB:

<span style="color: #9b00d3">DROP SIGNATURE FROM [dbo]. [tbDownstreamServerClientSummaryRollup] BY CERTIFICATE [MS_SchemaSigningCertificateD7A4348D8F461363128D655AE4589B8206B74257]</span>

Next I tried to verify whether we could access the concerned table by executing the following SQL query against the SUSDB:

<span style="color: #9b00d3">select * from tbDownstreamServerClientSummaryRollup</span>

We got the following message:

<em><span style="color: #0000ff">Msg 33002, Level 16, State 1, Line 1
Access to table dbo.tbDownstreamServerClientSummaryRollup is blocked because the signature is not valid.</span></em>

So this means that we were able to break the signature of this table and thereby reproduce the issue that the customer was facing.

The latest hardening update for WSUS (<a target="_blank" href="https://support.microsoft.com/en-us/kb/2938066">2938066</a>) includes a new certificate which is [MS_SchemaSigningCertificate77F29F0BD53B7D715AB7B4671A559131C9F9EAF6].

We verified this by downloading the update and extracting its contents: Extract the .exe file -&gt; extract the .MSP -&gt; extract the PCW_CAB_SUS –&gt; open the <b>DbCertSql</b> file in a text editor such as Notepad ++.

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image0067.jpg"><img width="393" height="90" title="clip_image006" style="border: 0px currentcolor" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image006_thumb2.jpg" border="0" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image0089.jpg"><img width="695" height="397" title="clip_image008" style="border: 0px currentcolor" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image008_thumb4.jpg" border="0" /></a><b></b>

The first section in this file will give us details about the certificate that comes with the update. Scrolling down below will give you information about the objects that will be re-signed using this certificate.

If this update is installed, then all the tables should be re-signed and the new certificate should be added.

I installed this update on the test machine and it needed a system restart, but before restarting the machine we verified the certificate by executing the following query:

<span style="color: #9b00d3">select * from sys.certificates</span>

The two certificates below were present now.

<strong><em>[MS_SchemaSigningCertificateD7A4348D8F461363128D655AE4589B8206B74257]
[MS_SchemaSigningCertificate77F29F0BD53B7D715AB7B4671A559131C9F9EAF6]</em></strong>

The second one above is the one that comes with the hardening update.

We also ran the query below to check which certificate signed the table [tbDownstreamServerClientSummaryRollup].

<span style="color: #9b00d3">SELECT object_name(major_id), cer.name,cp.crypt_property,*
FROM sys.crypt_properties AS cp
JOIN sys.certificates AS cer
ON cp.thumbprint = cer.thumbprint</span>

<span style="color: #9b00d3">                where object_name(major_id) = 'tbDownstreamServerClientSummaryRollup'</span>

It returned stating that this table is signed by the new certificate which is [MS_SchemaSigningCertificate77F29F0BD53B7D715AB7B4671A559131C9F9EAF6].

Now we executed the query below to see if we could access the table <b>tbDownstreamServerClientSummaryRollup</b>, which we couldn't previously due to an invalid signature.

<span style="color: #9b00d3">select * from tbDownstreamServerClientSummaryRollup</span>

It was accessible, and since there weren't any client computers contacting this new WSUS server, it returned stating that there wasn’t any data in it.

In-house testing confirmed that installing the latest hardening update for WSUS will re-sign all of the objects with the new certificate that it brings with it.
<h4>Resolution</h4>
The issue can be resolved with the following steps:

1. Make a backup of the SUSDB.
<ul>
 	<li>Right click the SUSDB –&gt; Tasks -&gt; Back Up…</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image01010.jpg"><img width="400" height="227" title="clip_image010" style="border: 0px currentcolor" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image010_thumb6.jpg" border="0" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image0111.jpg"><img width="539" height="368" title="clip_image011" style="border: 0px currentcolor" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/2016/12/clip_image011_thumb1.jpg" border="0" /></a>

2. Install the latest WSUS hardening update <a href="https://support.microsoft.com/en-us/kb/2938066">KB2938066</a>.

3. Restart the machine when prompted for a restart.

4. Execute the following SQL query to see if table <b>tbDownstreamServerClientSummaryRollup</b> is accessible:

<span style="color: #9b00d3">select * from tbDownstreamServerClientSummaryRollup</span>

5. Verify the certificate that signed the table <b>tbDownstreamServerClientSummaryRollup</b> by executing the following SQL query:

<span style="color: #9b00d3">SELECT object_name(major_id), cer.name,cp.crypt_property,*
FROM sys.crypt_properties AS cp
JOIN sys.certificates AS cer
ON cp.thumbprint = cer.thumbprint</span>

<span style="color: #9b00d3">                where object_name(major_id) = 'tbDownstreamServerClientSummaryRollup'</span>

If the table <b>tbDownstreamServerClientSummaryRollup</b> is accessible, try to execute the Server Cleanup Wizard to delete obsolete computers again, and verify whether that operation is executed successfully.
<h4>Conclusion</h4>
This approach can be used in any case where WSUS related tables in the SUSDB become inaccessible due to an invalid signature. This assumes that we have the option to install a newer WSUS hardening update of course. The key is that each WSUS hardening update comes in with a unique certificate which will re-sign the tables using it.

I hope this helps, and thanks for taking the time to read this post!

<strong>Moni R S</strong> | Support Engineer | Microsoft Windows Devices and Deployment

<em>Disclaimer: This information is provided ‘as-is’ with no warranties</em>]]></content:encoded>
    </item>
    <item>
      <title>The Microsoft security update for November 2016 has been released</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/the-microsoft-security-update-for-november-2016-has-been-released</link>
      <pubDate>Tue, 08 Nov 2016 19:02:48 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12826</guid>
      <description><![CDATA[Today we released security updates to provide additional protections against malicious attackers. As...]]></description>
      <content:encoded><![CDATA[<p>Today we released security updates to provide additional protections against malicious attackers. As a best practice, we encourage customers to apply security updates as soon as they are released.<p>More information about this month’s <a href="https://technet.microsoft.com/en-us/library/security/mt637780.aspx">security updates</a> and <a href="https://technet.microsoft.com/en-us/library/security/mt631688.aspx">advisories</a> can be found in the Security TechNet Library.]]></content:encoded>
    </item>
    <item>
      <title>Recreating the SUSDB and WSUS Content folder for a Windows Server 2012 based WSUS computer</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/recreating-the-susdb-and-wsus-content-folder-for-a-windows-server-2012-based-wsus-computer</link>
      <pubDate>Tue, 18 Oct 2016 16:44:21 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12825</guid>
      <description><![CDATA[Author: Meghan Stewart | Support Escalation Engineer

Occasionally you may find that you want to...]]></description>
      <content:encoded><![CDATA[<em>Author: <strong>Meghan Stewart | </strong>Support Escalation Engineer</em>

Occasionally you may find that you want to start over in WSUS with a fresh database (SUSDB). There can be any number of reasons for this, but typically I see people doing this if their SUSDB is rather old, has a ton of unneeded updates in it, and maintenance has not been done on the SUSDB in years. In those cases you can find that a rebuild may be faster and easier than fixing the problematic SUSDB. Typically speaking, I see people wanting to recreate the just the content dir if they accidentally unchecked the “download update files to this server only when updates are approved” and ended up with a hard drive full of unneeded files. Whatever the reason, here are the steps for recreating the SUSDB and the WSUS Content folder for a Windows Server 2012 based WSUS computer:

1. Open PowerShell as admin.

2. Stop the WSUS service and IIS Service with the following command:

<i><strong>stop-service WSUSService, W3SVC</strong></i>

Verify that both are stopped by running <i><strong>get-service WSUSService, W3SVC</strong></i>

It should look something like this:

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image00114.png"><em><img width="572" height="153" title="clip_image001" style="margin-right: auto;margin-left: auto;float: none" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image001_thumb8.png" border="0" /></em></a><b></b>

3. Open SQL Server Management Studio and connect to the instance for SUSDB.

How you connect via SQL Server Management Studio is different depending on whether you installed SUSDB on Windows Internal Database (WID) or SQL Server. This was specified when you installed SUSDB. If you are not sure which you used, you can check a registry key on the WSUS server located at <strong><strong>HKLM\Software\Microsoft\Update Services\Server\Setup</strong></strong> to verify. Take a screenshot/registry export of this and look for the <em>SQLServerName</em> value. If you see just a server name or server\instance, you are using SQL server. If you see something that has the string ##SSEE or ##WID in it, you installed on Windows Internal Database, as demonstrated below:

Note that if you see ##SSEE, this blog post is not applicable to you.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/69/06/metablogapi/clip_image008_1DDC62BC.png"><img width="386" height="23" title="clip_image003[1]" style="border: 0px currentcolor" alt="clip_image003[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image00311.jpg" border="0" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/69/06/metablogapi/clip_image009_63D1F597.png"><img width="344" height="26" title="clip_image005[1]" style="border: 0px currentcolor" alt="clip_image005[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image00511.jpg" border="0" /></a>

<u>If you installed SUSDB on Windows Internal Database</u>

If you installed SUSDB on Windows Internal Database (WID), you will need SQL Management Studio Express installed in order to remove the database. If you’re not sure which version of SQL Server Management Studio Express to install, here’s an easy way to figure that out:

For Windows Server 2012 and Windows Server 2012 R2, go to C:\Windows\WID\Log and find the error log that has the version number you’re using. Lookup the version number here:

321185 – <i>How to determine the version, edition and update level of SQL Server and its components</i> (<a href="https://support.microsoft.com/en-us/kb/321185">https://support.microsoft.com/en-us/kb/321185</a>)

This will tell you what Service Pack level it is running. Include the SP level when searching the <a target="_blank" href="https://www.microsoft.com/en-us/download">Microsoft Download Center</a> for SQL Management Studio Express as sometimes it does matter.

Once SQL Management Studio Express is installed, launch it and it will prompt you to enter the server name to connect to. If your OS is Windows Server 2012, use \\.\pipe\MICROSOFT##WID\tsql\query. Note that if you are <u>not</u> running Windows Server 2012 or 2012 R2, this blog post is not appropriate to use.

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image00611.png"><img width="406" height="120" title="clip_image006[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image006[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0061_thumb.png" border="0" /></a>

Also note that for WID, you may want to run SQL Server Management Studio Express as administrator if you were not the person who installed WSUS.

<u>If you did <strong>not</strong> install SUSDB on WID </u>

If you did <strong>not</strong> install SUSDB on WID, simply type in the server name (\instance if needed):

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image00811.jpg"><img width="361" height="100" title="clip_image008[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image008[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0081_thumb.jpg" border="0" /></a>

4. Backup the existing SUSB, just in case you need it later. Better safe than sorry :)

Open SQL –&gt; expand databases –&gt; right-click SUSDB, then select “New Query”.

Paste in the following, changing the directories to the directory of your choosing.

<strong><em>backup database [susdb] to disk ='D:\SQL\Backup\susdb.bak' with copy_only</em></strong>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image01011.jpg"><img width="624" height="86" title="clip_image010[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image010[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0101_thumb.jpg" border="0" /></a><b></b>

5. Open SQL –&gt; expand databases-&gt; right-click SUSDB –&gt; Delete. Be sure that you select “Close existing connections” at the bottom of the wizard.

Optionally, you can also delete the backups (delete is the default).

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0111.png"><img width="515" height="131" title="clip_image011[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image011[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0111_thumb.png" border="0" /></a>

6. Delete or rename the content directory, then recreate it. Please note that this will not delete/rename if the two services mentioned above are still running.

You can find the directory directory for the content folder by looking in <strong>HKLM\Software\Microsoft\Update Services\Server\Setup<i>\ContentDIr *</i></strong>

Rename the directory by running <b><strong><strong>REN WSUS WSUS_old</strong></strong>, </b>or delete it by running <strong>DEL WSUS</strong><b>, </b>then confirm All with “A”:

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0131.jpg"><img width="624" height="101" title="clip_image013" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image013" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image013_thumb1.jpg" border="0" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0141.png"><img width="532" height="106" title="clip_image014" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image014" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image014_thumb1.png" border="0" /></a>

Recreate the directory by running <strong>MKDIR WSUS</strong><b>. </b>Note that the default permissions will be reapplied when you run the post install.

<b> </b><a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0151.png"><img width="421" height="143" title="clip_image015[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image015[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0151_thumb.png" border="0" /></a><b></b>

If you are not removing the SUSDB, but are removing the content and need to re-download files for updates you have already approved, do the following to initiate the download:

a. <b>CD “C:\Program Files\Update Services\Tools”</b>

<b> </b>b. Run <strong>.\WsusUtil.exe reset</strong>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0161.png"><img width="505" height="46" title="clip_image016[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image016[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0161_thumb.png" border="0" /></a><b></b>

7. Start the services:

<b><i>Start-service WSUSService, W3SVC</i></b>

Verify that both are started by running <i><strong>get-service WSUSService, W3SVC</strong></i>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0171.png"><img width="499" height="154" title="clip_image017" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image017" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image017_thumb1.png" border="0" /></a><b><i></i></b>

8. Reinstall the SUSDB by running the post install. The command varies depending on if you run WIDs or not.

First, CD to Program Files\Update Services\Tools.

For Full SQL (or non WIDS), run the following:

<strong>.\Wsusutil.exe postinstall SQL_INSTANCE_NAME=”Server\Instance” CONTENT_DIR=”&lt;drive&gt;:\WSUS”</strong>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0192.jpg"><img width="624" height="69" title="clip_image019" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image019" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image019_thumb2.jpg" border="0" /></a><b></b>

For WIDS, run this:

<strong>.\Wsusutil.exe postinstall CONTENT_DIR=”&lt;drive&gt;:\WSUS”</strong>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0212.jpg"><img width="624" height="90" title="clip_image021" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image021" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image021_thumb2.jpg" border="0" /></a><b></b>

<u>General Post install notes</u>

You need the “.\ “ in front of wsusutil.exe or it will not execute in PowerShell. For the default SQL instance, just type in the server name. You <u>do</u> need the quotes in the above command. This will launch the post install which installs the SUSDB, recreates the website on port 8530 (default) and repoints everything to the ContentDir. The post install command will create a log in the &lt;user&gt;\AppData\Local\Temp directory which will be in the form of tmp*<b>.</b>tmp. This log may be 0kb for a little while. It will also spawn another log called WsusUtilUseCustomWebSite.log. The website log will disappear if all goes well with the website install, then the tmp*<b>.</b>log will be written to at that point. The tmp log will show you the tables, stored procedures, views, et cetera being created/verified in the SUSDB.

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0221.png"><img width="628" height="51" title="clip_image022[1]" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image022[1]" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image0221_thumb.png" border="0" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image023.png"><img width="642" height="118" title="clip_image023" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" alt="clip_image023" src="https://msdnshared.blob.core.windows.net/media/2016/10/clip_image023_thumb.png" border="0" /></a>

After doing this, when you first launch the WSUS console, it will bring up the WSUS Configuration Wizard. You can run through this wizard if you would like and select your options such as products, upstream server and proxy. If you are using SSL, please note that <a href="https://technet.microsoft.com/en-us/library/bb633246.aspx">additional configuration is required</a>.

Hopefully you’ll never be faced with having to recreate your SUSDB. If you do, hopefully this will help make that process go as smoothly as possible.

<strong>Meghan Stewart</strong>, Support Escalation Engineer
Microsoft Enterprise Cloud Group]]></content:encoded>
    </item>
    <item>
      <title>The Microsoft security update for October 2016 has been released</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/the-microsoft-security-update-for-october-2016-has-been-released</link>
      <pubDate>Tue, 11 Oct 2016 17:41:42 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12565</guid>
      <description><![CDATA[The October 2016 Microsoft security updates have been released to provide additional protections...]]></description>
      <content:encoded><![CDATA[<p>The October 2016 Microsoft security updates have been released to provide additional protections against malicious attackers. As a best practice, Microsoft encourages all customers to apply security updates as soon as they are released. More information about this month’s <a href="https://technet.microsoft.com/en-us/library/security/mt637780.aspx">security updates</a> and <a href="https://technet.microsoft.com/en-us/library/security/mt631688.aspx">advisories</a> can be found in the Security TechNet Library.</p><p><strong>J.C. Hornbeck</strong>, Solution Asset PM<br> Microsoft Enterprise Cloud Group</p>]]></content:encoded>
    </item>
    <item>
      <title>Support Tip: Avoiding sync problems when WSUS computers share SUSDB</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/support-tip-avoiding-sync-problems-when-wsus-computers-share-susdb</link>
      <pubDate>Tue, 27 Sep 2016 15:45:02 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12555</guid>
      <description><![CDATA[Hi everyone, my name is Bindusar Kushwaha and I’m a Support Escalation Engineer on the Configuration...]]></description>
      <content:encoded><![CDATA[Hi everyone, my name is Bindusar Kushwaha and I’m a Support Escalation Engineer on the Configuration Manager team. I ran into an interesting case the other day so I thought I’d take a minute to share it with you in case you happen to see it in your environment.
<h4>The Problem</h4>
Let’s say you’re running multiple WSUS computers, maybe integrated with Configuration Manager Software Update Points (SUPs), maybe not, and they share the same SUSDB as the master front end server, which is the only server allowed to go online and sync. Everything works fine for a while, then all of the sudden you find that your security compliance is changed and the sync with Microsoft Update is NOT working. You receive the following timeout error when trying to contact the update server:

<em><span style="color: #004080">WebException: Unable to connect to the remote server ---&gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 134.170.53.30:443</span></em>

<em><span style="color: #004080">at System.Net.HttpWebRequest.GetRequestStream(TransportContext&amp; context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetAuthConfig()
at Microsoft.UpdateServices.ServerSync.ServerSyncLib.InternetGetServerAuthConfig(ServerSyncProxy proxy, WebServiceCommunicationHelper webServiceHelper)
at Microsoft.UpdateServices.ServerSync.ServerSyncLib.Authenticate(AuthorizationManager authorizationManager, Boolean checkExpiration, ServerSyncProxy proxy, Cookie cookie, WebServiceCommunicationHelper webServiceHelper)
at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.SyncConfigUpdatesFromUSS()
at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)</span></em>

Note that you are able to go to manually connect to the IP address listed in the error just fine using the System context.
<h4>Why This Happens</h4>
As per the blog post below, the first installed WSUS computer should go online and sync, and the rest should accept the changes since they use the same SUSDB:

<a href="https://blogs.msdn.microsoft.com/steverac/2013/02/06/configuring-multiple-software-update-points-in-a-configmgr-2012-primary-site-what-to-expect/">https://blogs.msdn.microsoft.com/steverac/2013/02/06/configuring-multiple-software-update-points-in-a-configmgr-2012-primary-site-what-to-expect/</a>

Normally that all works fine. Now as you may know, the first WSUS computer installed gets ownership of SUSDB (called MasterFrontEndServer), and when a sync is triggered, the computer with ownership of SUSDB must be allowed to go online to sync. However, let’s say that the MasterFrontEndComputer that has ownership of SUSDB is turned off, or that the WSUS service is stopped. When this happens, spUpdateServerHealthStatus checks the next WSUS computer with <i>componentName=WSUSService</i> and <i>isRunning=1</i> and fires a stored procedure to update this computer as the new owner of SUSDB (New MasterFrontEndServer) in the <strong>tbReference</strong> table. This is as expected, however if this new MasterFrontEndServer is not allowed to go online then you will get the error mentioned above. This happens even after the previous owner comes back online because it’s no longer listed as the owner of SUSDB or MasterFrontEndServer.
<h4>The Solution</h4>
In order to keep this from happening you have a couple options:

Option 1: Do not share the SUSDB used by the MasterFrontEndServer with any other WSUS computers. Let all WSUS computers that are sharing the same SUSDB sync with another local server instead.

Option 2: If you do share a master front end server's SUSDB, allow all WSUS computers that share that SUSDB to go online and sync so that a change of MasterFrontEndServer should not impact connectivity.

If you are unable to implement option 1 or 2 above you can complete the following steps to get things working again:

1. Stop the WSUS service on all other WSUS computers that don't have Internet access and that share the same SUSDB.

2. Trigger a WSUS sync on the computer you want to be the SUSDB owner\MasterFrontEndServer.

3. Once the sync starts, start the WSUS service on all other WSUS computers sharing same SUSDB.

That should get things straightened out for the moment, but if you choose not to change your configuration, be sure to always keep an eye on things and make sure the MasterFrontEndServer’s WSUS service is not stopped during a scheduled sync time.

Note: If WSUS is integrated with Configuration Manager, this setting can be pushed by ConfigMgr as well. This setting is configured in Site Control File. We recommend that customers open a support case with Microsoft product support before making any changes to the database.

Hopefully this will help you avoid this potential issue in your environment.

<strong>Bindusar Kushwaha</strong> | Support Escalation Engineer]]></content:encoded>
    </item>
    <item>
      <title>The Microsoft security update for September 2016 has been released</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/the-microsoft-security-update-for-september-2016-has-been-released</link>
      <pubDate>Wed, 14 Sep 2016 16:55:33 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12545</guid>
      <description><![CDATA[The September 2016 Microsoft security updates have been released to provide additional protections...]]></description>
      <content:encoded><![CDATA[<p>The September 2016 Microsoft security updates have been released to provide additional protections against malicious attackers. As a best practice, Microsoft encourages all customers to apply security updates as soon as they are released. More information about this month’s <a href="https://technet.microsoft.com/en-us/library/security/mt637780.aspx">security updates</a> and <a href="https://technet.microsoft.com/en-us/library/security/mt631688.aspx">advisories</a> can be found in the Security TechNet Library.<p><strong>J.C. Hornbeck</strong>, Solution Asset PM<br>Microsoft Enterprise Cloud Group]]></content:encoded>
    </item>
    <item>
      <title>.NET Core and ASP.NET Core added to Microsoft’s suite of ongoing bounty programs</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/net-core-and-asp-net-core-added-to-microsofts-suite-of-ongoing-bounty-programs</link>
      <pubDate>Fri, 02 Sep 2016 15:51:32 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12535</guid>
      <description><![CDATA[Today Microsoft announced the addition of .NET Core and ASP.NET Core to their suite of ongoing...]]></description>
      <content:encoded><![CDATA[<p>Today Microsoft announced the addition of .NET Core and ASP.NET Core to their suite of ongoing bounty programs. They are offering a bounty on the Windows and Linux versions of <a href="https://www.microsoft.com/net/core#windows">.NET Core</a> and <a href="https://docs.asp.net/en/latest/intro.html">ASP.NET Core</a> starting on September 1, 2016. For complete details please see the following:<h5><a href="https://blogs.technet.microsoft.com/msrc/2016/09/01/announcing-an-ongoing-microsoft-net-core-and-asp-net-core-bug-bounty/"><em>Announcing a Microsoft .NET Core and ASP.NET Core Bug Bounty</em></a></h5><p><br></p><p><strong>J.C. Hornbeck</strong>, Solution Asset PM<br>Microsoft Enterprise Cloud Group]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Security Bulletin Summary for August 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/sus/microsoft-security-bulletin-summary-for-august-2016</link>
      <pubDate>Tue, 09 Aug 2016 20:11:21 GMT</pubDate>
      <dc:creator><![CDATA[J.C. Hornbeck [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sus/?p=12525</guid>
      <description><![CDATA[Just a quick note to let you know that the Microsoft Security Bulletin Summary for August 2016 has...]]></description>
      <content:encoded><![CDATA[<p>Just a quick note to let you know that the Microsoft Security Bulletin Summary for August 2016 has been released. These security updates provide additional protections against malicious attackers. As a best practice, Microsoft encourages all customers to apply these security updates as soon as they are released. More information about this month’s <a href="https://technet.microsoft.com/en-us/library/security/mt637780.aspx">security updates</a> and <a href="https://technet.microsoft.com/en-us/library/security/mt631688.aspx">advisories</a> can be found in the Security TechNet Library.<p><strong>J.C. Hornbeck</strong>, Solution Asset PM<br>Microsoft Enterprise Cloud Group]]></content:encoded>
    </item>
  </channel>
</rss>