Applies To: Windows Server 2003 with SP2,Windows Server Update Services
This topic explains how to migrate the Windows Server Update Services (WSUS) database from a Windows Internal Database instance (installed by default during WSUS setup) to a full version of Microsoft SQL Server 2005.
If you chose to use Windows Internal Database as the WSUS database when you set up your WSUS server, you may want to upgrade the database engine to a full installation of SQL Server 2005. SQL Server 2005 lets you administer the WSUS database through the SQL Server Management Studio.
The topic presents the following scenarios:
Use the following steps to migrate the WSUS database from a Windows Internal Database instance to an instance of SQL Server 2005.
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query use master alter database SUSDB set single_user with rollback immediate go sp_detach_db SUSDB go
The goal of this scenario is to take the WSUS database running in a Windows Internal Database instance on the WSUS server and move and upgrade it to an instance of SQL Server 2005 that is running on a remote server. Only a full SQL Server 2005 database may be used in a remote SQL installation. Each step, where appropriate, indicates the server on which you perform the procedure.
Front end server starting configuration:
Back end server starting configuration:
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query use master alter database SUSDB set single_user with rollback immediate go sp_detach_db ‘SUSDB’ go
In order to get future WSUS updates to correctly install (such as KB954960 http://support.microsoft.com/kb/954960) you need to modify the registry settings according to the DataBase migration
Open Regedit
Go to HKLM\Software\Microsoft\Update Services\Server\Setup
Change value wYukonInstalled from 1 to 0
This now means that the Windows Internal Database is not used
The updates for WSUS should install
According to this site : http://www.wyckedone.net/2008-09-21/moving-the-wsus-database/#comment-81311
You have another key to change : HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlInstanceIsRemote key to 1
And start the world wide web publishing service also
Moreover, followed this article in all ways : That's really not working for me, and i found other admins who have the same problem.. You should revise your article.
I have just moved my internal database to a SQL back-end as per the above procedure and it worked 100%. The only addtional thing I had to do was to change the "Update Services" service to use a domain account and make sure that account had access to the databaseThanks