Sql – Rename the wsus database susdb before install (SQL Database)

sqlwsus

is it possible to rename the wsus database, on a SQL Server, before install the role?

In our company we have two wsus server, one for the client laptops and pc's and the other for our datacenter server. The problem is that i cannot have two databases named 'SUSDB'. Is there a way that i can rename the Database before deploying the Database onto the SQL Server. I know that i can rename the database in the registry after the installation but this is a dirty way and can cause problems.

Thanks and kind regards

Thommy

Best Answer

I don't know of any way to change the default name during install. You're probably stuck with renaming the database later.

I'd install the second server onto WID and move the new database onto SQL with a new name to avoid any downtime for the existing WSUS server.

(You'd need to edit the registry on the new server to change HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerName to be your SQL Server and HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlDatabaseName to be the second database, but it sounds like you know that.)