Subscribe to Windows IT Pro
April 19, 1999 12:00 AM

How can I completely uninstall SQL Server?

Windows IT Pro
InstantDoc ID #14070
Rating: (22)

A. A. If the standard un-install utility doesn't do the trick for some reason :-

Remove the <sql> directory and everything under it
Remove the <sql> dir from the path (use control panel/system for this)
Remove the SQL registry entries using regedt32/regedit. These are :-

(All versions)

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer

(6.0 and above.)

  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLExecutive

(7.0 and above)

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLServerAgent
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server 7
  • HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServ65

If you have lost permission to any of the registry keys then log on as administrator and take ownership of them starting at the highest relevant level. Use regedt32 and check the box to take ownership of all subkeys as well.


Related Content:

ARTICLE TOOLS

Comments
  • mani kandan
    2 years ago
    Jul 14, 2010

    If you tried Installing SQL Server 2008 or SQL Server 2005 with System which have already installed SQL Server then It will be difficult to Install new Sql Server.This problem caused by you are Overriding Sql Instance,

    http://www.indiatodayonline.com/2010/07/uninstall-sql-server-completely-remove.html

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.