I need to cleanly uninstall Sql Server so I can perform a clean install

Patrick Cowden 20 Reputation points
2023-09-16T01:24:22.4833333+00:00

Summary_Main_20230915_175914.txt

Thank you for your time.

To be clear, this issue is with my personal home computer; my production computer's installation is fine. I used my home SQL Server installation for studying purposes only, and I'd very much like to use it for study purposes again.

I uninstalled SQL Server with the intent to re-install.

Unfortunately, I do not recall the error that I ran into when trying to re-install, but the error prompted me to follow some online advice and I deleted the following keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSSQLServer
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server

Now, on trying to install, I get several errors, many involving missing keys. My ultimate goal is to get back up and running at home for studying purposes. I am willing to add whatever keys I need to, one-by-one, if possible. Or if I could perform a true clean uninstall to the point where a new fresh installation would not be expecting any particular registry keys, all the better.

Attached is the log file that the failed installation referred me to.

Thank You,

Patrick

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 34,676 Reputation points MVP Volunteer Moderator
    2023-09-16T03:10:34.9033333+00:00

    Please follow the steps I provided here. After following the steps outlined on the Web page to manually uninstall SQL Server, please restart your computer and try to install SQL Server again.

    Hope this helps.


  2. Anonymous
    2023-09-18T06:38:59.85+00:00

    Hi @Patrick Cowden

    The database startup handle not found is a general error. Perhaps you can find more detailed information in the error log.

    Viewing the SQL Server Error Log

    Best regards,

    Aniya

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.