SQL Server 2019 Installation Fails due to 0x84BB0001 error code

Paul Rehbein 26 Reputation points
2022-02-21T12:22:21.033+00:00

Multiple feature installations (e.g., Python, R, Database Engine Service and others) fail during SQL Server 2019 express with advanced service installation.

The summary reports (see attached) states the same error code and error descriptions for all failed features:

Component error code: 0x84BB0001
Error description: One or more command-line switches were invalid.

Things I've already tried:

  • complete re-install of SQL server 2019 (incl. deleting all registry keys etc.)
  • turning on .NET Framework 3.5
  • installing SQL server as admin
  • turning off the Firewall during installation
  • installing latest .NET Framework 4.8

Can anyone please help with properly installing all required SQL server features?

Thanks in advance!

SQL Server | Other
{count} votes

Accepted answer
  1. PatriceSc 171 Reputation points
    2022-02-21T13:59:29.373+00:00

    Hi,

    Never had this myself. Try perhaps https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d2bcdc39-4a09-4120-8d1f-350b58380ea7/quotcomponent-error-code-0x84bb0001quot-while-installing-sql-express-2014-with-adv?forum=sqlexpress which discuss the same error code with an earlier version.

    Also I had once a problem (not sure if this one though ?) when installing from a long path such as C:\Users\MyUserName\Downloads\en_sql_server_2019_express_with_advanced_services_x64_e2d9f596\x64\setup\ (maybe the setup creates a command with this kind of path one or two times and uses a buffer that is not long enough or whatever ?
    Since then, I prefer to install from c:\install\sql or I mount the ISO and install from the driver letter...

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2022-02-22T02:22:52.97+00:00

    Hi @Paul Rehbein ,

    It seems that your computer has the residue of uninstallation. Have you ever had a failed installation before? If so, please uninstall it clearly and reinstall it.
    Please follow the below steps to remove all components of previous installed SQL Server completely:

    1. Remove all SQL Server components from '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. Reboot the machine

    Download the SQL Server again, and mount the ISO file as a virtual drive.
    In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).

    Of course, the installation process inside is for your reference.
    You also need change the SQL Server service account and SQL Server Browser account to Local System on the Server Configuration page of SQL Server setup.

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    1 person found this answer helpful.

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.