SQL 2019 Setup Error Message

Vaishali 21 Reputation points
2021-03-03T07:23:55.53+00:00

I am trying to install SQL Server 2019 Express. I have rebooted multiple times and tried to install. I have also tried to un-install and re-install however I keep getting the same error.
Can someone please help me figure this out. I am trying to learn SQL and am unable to move forward. I have also attached the log file.

73654-summary-desktop-iiig6tq-20210302-225451.txt

The following error has occurred:

A previous installation required a reboot of the machine for changes to take effect. To proceed, restart your computer and then run Setup again.


SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,808 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarrinWu-MSFT 6,856 Reputation points
    2021-03-04T04:04:49.833+00:00

    Hi @Vaishali ,

    Because you have been uninstall and reinstall SQL server, it will often get some errors when you reinstall SQL Server, so you need to uninstall SQL Server completely. Maybe there have some components have been left. And we recommend that you stop all SQL Server services before you uninstall SQL Server components. Active connections can prevent successful uninstallation.

    Please follow below steps to delete the left components:

    1. Uninstall the existing SQL Server and all the components from the add remove program.
    2. Backup the registry.
    3. Delete the following keys using regedit:
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
    5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
    6. Rename all the SQL Server folders in the computer.
    7. Reboot the machine.

    Note: before you delete regedit, remeber to backup them.

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.