uninstalling fresh installation of SQL Server Developer edition 2019

Kdaevap132 21 Reputation points
2021-08-05T16:41:15.707+00:00

I am learning to work with SQL server 2019.

During the installation I got some errors.
120875-screenshot-2021-08-05-013547.jpg

TITLE: Microsoft SQL Server 2019 Setup  
------------------------------  
  
The following error has occurred:  
  
Cannot find the user 'DESKTOP-QGVGUB6\PdwComputeNodeAccess', because it does not exist or you do not have permission.  
Changed database context to 'DWConfiguration'.  
   
Script version: 107  
Version_History table created.  
Currently stored version: 0  
Need to run SP and insert value into the version_history table: 107  
Database name is: DWConfiguration  
Current Version:0  
Database name is: DWDiagnostics  
  
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.  
  
For help, click: https://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0x7590AFD6%25400x9A41B222  
  
------------------------------  
BUTTONS:  
  
&Retry  
Cancel  
------------------------------  
  

and then
120854-screenshot-2021-08-05-121953.jpg
120886-screenshot-2021-08-05-134357.jpg
so it happened with failures.
120855-screenshot-2021-08-05-141652.jpg
120876-screenshot-2021-08-05-141715.jpg
120887-screenshot-2021-08-05-141737.jpg
120912-screenshot-2021-08-05-175717.jpg

so I could not understand any thing. After a reboot I decided to uninstall every thing.
120868-screenshot-2021-08-05-175810.jpg
120888-screenshot-2021-08-05-205519.jpg
120913-screenshot-2021-08-05-210644.jpg
120931-screenshot-2021-08-05-210658.jpg

120889-screenshot-2021-08-05-211021.jpg
I want to do a clean uninstall and re install every thing.
I had previously installed with windows authentication I think I did that mistake.
It should have been a MySQL authentication. So I am trying to uninstall and re install again.
But during uninstall I am not able to remove the SQL Server 2019 completely

SQL Server Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2021-08-06T02:38:16.867+00:00

    Hi Kdaevap132-8291,

    Please try to manually uninstall SQL Server using the following procedure:

    1. Uninstall all SQL Server components you can using Control Panel -> Programs and Features
    2. Backup the registry.
    3. Delete the following keys in 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 like C:\Program Files\Microsoft SQL Server and subfolders.

    In addition, you can use this official troubleshooter to help you fix issues when you're blocked from installing or removing programs.
    And please make sure you right click on setup.exe file and select run as administrator when you want to start the SQL Server installation.

    Best Regards,
    Amelia


    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.


  2. Kdaevap132 21 Reputation points
    2021-08-07T18:50:49.377+00:00

    I used Revo Uninstaller to uninstall every thing.

    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.