<?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>Personal website of Dave Hope &#187; WSUS</title>
	<atom:link href="http://davehope.co.uk/Blog/tag/wsus/feed/" rel="self" type="application/rss+xml" />
	<link>http://davehope.co.uk</link>
	<description>Open source projects, sysadmin stuff and general geekage</description>
	<lastBuildDate>Tue, 18 May 2010 11:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WSUS SP1 Upgrade fails</title>
		<link>http://davehope.co.uk/Blog/wsus-sp1-upgrade-fails/</link>
		<comments>http://davehope.co.uk/Blog/wsus-sp1-upgrade-fails/#comments</comments>
		<pubDate>Thu, 22 May 2008 11:26:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WSUS]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/?p=69</guid>
		<description><![CDATA[Came across a problem when upgrading to WSUS SP1 earlier today. If you&#8217;ve moved your WSUS database as per my post your upgrade will fail with the following: Success MWUSSetup Validating pre-requisites... Success MWUSSetup Creating database backup... Success MWUSSetup The SQL server instance is remote. No database backup will be created Success MWUSSetup Removing Wsus... [...]]]></description>
			<content:encoded><![CDATA[<p>Came across a problem when upgrading to WSUS SP1 earlier today. If you&#8217;ve<a href="http://davehope.co.uk/Blog/moving-a-wsus-database/"> moved your WSUS database as per my post</a> your upgrade will fail with the following:</p>
<pre>Success  MWUSSetup  Validating pre-requisites...
Success  MWUSSetup  Creating database backup...
Success  MWUSSetup  The SQL server instance is remote. No database backup will be created
Success  MWUSSetup  Removing Wsus...
Error  MWUSSetup  RemoveWsus: MWUS Uninstall Failed (Error 0x80070643: Fatal error during installation.)
Error  MWUSSetup  C UpgradeDriver::PerformSetup: Failed to remove earlier version of WSUS (Error 0x80070643: Fatal error during installation.)
Error  MWUSSetup  C SetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
</pre>
<p>The solution is to make sure the following registry keys are set:</p>
<pre>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup]
"SqlInstanceIsRemote"=dword:00000001
"wYukonInstalled"=dword:00000000</pre>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/wsus-sp1-upgrade-fails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Microsoft Deployment &amp; WSUS</title>
		<link>http://davehope.co.uk/Blog/microsoft-deployment-wsus/</link>
		<comments>http://davehope.co.uk/Blog/microsoft-deployment-wsus/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 07:22:25 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[Microsoft Deployment]]></category>
		<category><![CDATA[WSUS]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/Blog/microsoft-deployment-wsus/</guid>
		<description><![CDATA[Microsoft have recently launched the latest version of BDD, now called &#8220;Microsoft Deployment&#8221; If you ask me, BDD sounded better but oh well. If like me you don&#8217;t want to create packages for each and every windows update for your deployment image, here&#8217;s how you can point the build process at your WSUS server. Firstly, [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft have <a href="http://blogs.technet.com/msdeployment/default.aspx">recently launched</a> the latest version of BDD, now called &#8220;Microsoft Deployment&#8221; If you ask me, BDD sounded better but oh well.</p>
<p>If like me you don&#8217;t want to create packages for each and every windows update for your deployment image, here&#8217;s how you can point the build process at your WSUS server.</p>
<p>Firstly, create the following file and store it in your &#8216;Scripts&#8217; folder, for example &#8221; C:\Distribution\Scripts\CustWsusSettings.wsf&#8221;:</p>
<p><code><br />
' //***************************************************************************<br />
' // ***** Script Header *****<br />
' //<br />
' // File:      CustWsusSettings.wsf<br />
' //<br />
' // Purpose:   Deploy WSUS Settings<br />
' //<br />
' // Customer Build Version:      1.0.0<br />
' // Customer Script Version:     1.0.0<br />
' //<br />
' // Customer History:<br />
' //<br />
' // ***** End Header *****<br />
' //***************************************************************************<br />
&lt;job id="CustWsusSettings"&gt;<br />
&lt;script language="VBScript" src="ZTIUtility.vbs"/&gt;<br />
&lt;script language="VBScript" src="WizUtility.vbs"/&gt;<br />
&lt;script language="VBScript"&gt;<br />
sWSUSServer = "http://london.nwtraders.msft:8530"<br />
oShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer", sWSUSServer, "REG_SZ"<br />
oShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer",sWSUSServer, "REG_SZ"<br />
oShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer",1, "REG_DWORD"<br />
' Return success.<br />
wscript.quit 0<br />
&lt;/script&gt;<br />
&lt;/job&gt;<br />
</code><br />
Be sure to change the sWSUSServer to point to your Wsus server. Now open up your task list in the Deployment Console and create a new command line task of the following:</p>
<p><code>cscript.exe "%SCRIPTROOT%\CustWsusSettings.wsf"</code></p>
<p>And as if by magic your updates will now come from your WSUS box from install.</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/microsoft-deployment-wsus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moving a WSUS 3.0 Database</title>
		<link>http://davehope.co.uk/Blog/moving-a-wsus-database/</link>
		<comments>http://davehope.co.uk/Blog/moving-a-wsus-database/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 08:41:44 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[WSUS]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/Beta/wordpress/Blog/16/</guid>
		<description><![CDATA[Due to seemingly non-existant documentation on moving a WSUS 3.0 database to a new server, I figured i&#8217;d write up my experience. Database configuration is all stored in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UpdateServices\Server\Setup The keys you&#8217;re interested in are SqlServerName and SqlInstanceIsRemote. Microsoft only officially support Windows authentication, so that&#8217;s what i&#8217;ll cover here. You&#8217;ll be able to connect [...]]]></description>
			<content:encoded><![CDATA[<p>Due to seemingly non-existant documentation on moving a WSUS 3.0 database to a new server, I figured i&#8217;d write up my experience.</p>
<p>Database configuration is all stored in:<br />
<samp>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UpdateServices\Server\Setup</samp><br />
The keys you&#8217;re interested in are <strong>SqlServerName</strong> and <strong>SqlInstanceIsRemote</strong>. Microsoft only officially support Windows authentication, so that&#8217;s what i&#8217;ll cover here.</p>
<p>You&#8217;ll be able to connect the the Windows Internal Database using Microsoft SQL Server management studio Express (a free download), detach the database and re-attach on your new SQL server.</p>
<p>Once that&#8217;s done, add the computer account of the WSUS server as a database login (e.g. nwtraders\LONDON$) and give it the dbowner role on the SUSDB.</p>
<p>The last step is to set the <strong>SqlServerName</strong> and <strong>SqlIsRemote</strong> values as mentioned earlier. Once done, restart IIS and the UpdateServices service. Job done.</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/moving-a-wsus-database/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
