On run of SQL developer edition setup file, it finished setting up an error message "Oops, there was an error while checking rules of SQL server setup."

R, Aravind 46 Reputation points


Can anyone please guide me for the successful installation ?.
Thank you,

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,653 questions
{count} vote

Accepted answer
  1. Seeya Xi-MSFT 16,436 Reputation points

    Hi @R, Aravind ,

    The reason for the error1: Repeated installation and failed to clean up the corresponding registry information.
    Are you sure you have thoroughly cleaned the registry according to the steps provided by Carrin earlier?

    Code 2 means "The system cannot find the file specified. Indicates that the file can not be found in specified location."
    Please download the SQL Server 2019 setup media again and run it as administrator.
    During the installation, please set the startup type to AUTOMATIC.
    Maybe you can try change the startup type first.

    It may also be that the WMI server is not started.
    Enter ‘Control Panel’→‘System and Security’→‘Administrative Tools’→‘Service’→‘WMI Performance Adapter’→‘Properties’→‘Startup Type: Automatic’→‘OK’

    And some anti-virus software may freeze SQL Server installation. Please disable the anti-virus software and re-enable it after SQL server 2019 installation.

    Best regards,

    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    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.

3 additional answers

Sort by: Most helpful
  1. Erland Sommarskog 100.8K Reputation points MVP

    Download the ISO and run the Setup wizard, so that you can see which Setup rule that fails.

  2. Erland Sommarskog 100.8K Reputation points MVP

    Looks like your computer is not in good shape.

    Did you try to access the registry keys it's complaining about through Regedit?

    What anti-malware software are you running?

  3. Erland Sommarskog 100.8K Reputation points MVP

    The antivirus question was the last straw....

    Something is absolutely wonky with your machine. Unfortunately, it requires knowledge of Windows and Setup programs in general that I don't possess as an SQL Server person. And the advice in the other thread may have made matters even worse than they were originally.

    So... I'm afraid that about the only advice I can give is to repair/reinstall Windows.