<?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>Reshard Sharp's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/reshard_sharps_blog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/reshard_sharps_blog/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 06:22:10 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>WSUS Post Deployment Configuration Fails on Windows Server 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/reshard_sharps_blog/wsus-post-deployment-configuration-fails-on-windows-server-2012</link>
      <pubDate>Sun, 18 Aug 2013 16:50:00 GMT</pubDate>
      <dc:creator><![CDATA[rsharp2124]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/reshard_sharps_blog/2013/08/18/wsus-post-deployment-configuration-fails-on-windows-server-2012/</guid>
      <description><![CDATA[I ran into a problem a few weeks ago at a customer&rsquo;s site.&nbsp; We were trying to install...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">I ran into a problem a few weeks ago at a customer&rsquo;s site.&nbsp; We were trying to install Configuration Manager 2012 SP1 on Server 2012.&nbsp; A requirement to use software updates with Configuration Manager is the need to install WSUS.&nbsp; I Installed WSUS via Server Manager with no problem, however when I tried to run the Post Deployment Configuration the task failed.&nbsp; The error pointed to a 1KB file in the %TEMP% directory.&nbsp; Upon investigation there was nothing in the file.&nbsp; I noticed the Tools folder was missing from the Update Services folders.&nbsp; I believe the post install task uses WSUSUtil to complete post installation configuration.&nbsp; If there is no WSUSUtil.exe in the Tools folder then the post install task will fail.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/4667.WSUS1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/4667.WSUS1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/4667.WSUS1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/4667.WSUS1.png" alt="" border="0" /></a></span>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">I found WSUSUtil by searching for it on my 2012 server.&nbsp; I copied WSUSUtil into my newly created Tools folder in the Update Services folder.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/0552.WSUS2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/0552.WSUS2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/0552.WSUS2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/0552.WSUS2.png" alt="" width="287" height="259" border="0" /></a></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">I tried running the Post Deployment Configuration after creating the tools folder, but it continued to fail.&nbsp; I opened PowerShell with administrative privileges and ran the below command. </span></span></p>
<p><strong><span style="font-size: small;"><span style="font-family: Calibri;">wsusUtil.exe postinstall content_dir=c:\wsus sql_instance_name=%computername%</span></span></strong></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/7848.WSUS3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/7848.WSUS3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/7848.WSUS3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/7848.WSUS3.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">After a few minutes the command completes and WSUS should be installed.&nbsp; You will not be able to run the Post-Deployment Configuration, however WSUS will be installed.&nbsp; My setup consisted of SQL and the content directory being stored locally.&nbsp; Slight modifications to the command line should accommodate your specific setup.&nbsp; </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">For WID<br /> <strong>%programfiles%\update services\tools\wsusutil.exe postinstall CONTENT_DIR=C:\Wsus</strong></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">SQL Server databases<br /> <strong>%programfiles%\update services\tools\wsusutil.exe postinstall CONTENT_DIR=C:\Wsus SQL_INSTANCE_NAME=&lt;database server name&gt;</strong></span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">These steps should only be used to address the issue described above.&nbsp; Special thanks to the WSUS Team for providing insight into this problem.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">**UPDATED***</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">After further troubleshooting with Alex of the WSUS team, we discovered an unintended result during the installation of WSUS.&nbsp; When using SQL for your database instance you must specify the name of your SQL server.&nbsp; One would assume if the database is local the wizard would find the instance without specifying the SQL server name.&nbsp; If you select&nbsp;Check Connection without specifying a server name it will return Successfully Connected to server.&nbsp; Despite this misleading result, it was not successful.&nbsp; The server name value it expects when running the Post Deployment step will be empty and will cause Post Deployment to fail.&nbsp; If you specify the SQL server name, then there is no need to run the PowerShell command above.&nbsp; You can simply run the Post Deployment step thru the GUI.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/5684.WSUS4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/5684.WSUS4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/99/95/5684.WSUS4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-99-95/5684.WSUS4.png" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The absence of the Tools folder may still cause a failure, however there is a workaround above.&nbsp; The WSUS team is still working on why this is happening and will provide an update on their findings. </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>