Compartilhar via


How to: Rebuild the Registry for SQL Server 2005

To rebuild the registry, from the command prompt run the Setup command with the REINSTALL=ALL,REINSTALDATABASE=1, and REINSTALLMODE=omus properties. This will rebuild, verify, and repair a Microsoft SQL Server instance. This procedure is most often used to rebuild the registry for a damaged installation of SQL Server.

Note

To rebuild the registry, you must use the same package file and options that you specified during the initial installation. If you do not know this information, uninstall and then reinstall SQL Server, rather than rebuilding the registry.

Important

When possible, use Windows Authentication. Do not leave the sa password blank; always use strong passwords.

For more information and sample command prompt syntax, see How to: Install SQL Server 2005 from the Command Prompt.

See Also

Tasks

How to: Read a SQL Server 2005 Setup Log File

Concepts

How to: View SQL Server 2005 Setup Log Files

Help and Information

Getting SQL Server 2005 Assistance