how to fix there was an error while checking the rules of sql server setup

Folakemi Victoria Sowunmi 30 Reputation points
2023-06-24T10:56:33.53+00:00

I have been attempting to install SQL Server on Windows 10, 256GB with 8GB of RAM, but I am getting an error.

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Nidhi S 5 Reputation points
    2023-11-27T13:47:29.3366667+00:00

    Hi ,

    I had the same issue.

    1. Just try uninstalling every SQL related things from your system. I had Oracle and MySQL Workbench. I deleted all of the connector files, and the SQL and Oracle application.
    2. Also remove its folder from Program Files.
    3. Additionally delete the registry (WIN+R and search regedit)
      Delete the files connected with Microsoft SQL Server under HKEY_CURRENT_USER—Software—-Microsoft. Delete the files connected with SQL under HKEY_LOCAL_MACHINE—SOFTWARE—Microsoft .
    4. Then reinstall MS server 2022.

    This worked for me.

    Good luck !

    1 person found this answer helpful.

  2. Mujtaba Rehman 0 Reputation points
    2025-09-24T14:18:43.6033333+00:00

    Run Command Prompt as Administrator
    and execute the following command, Cheers.

    mofcomp C:\Windows\System32\WBEM\cimwin32.mof
    
    
    0 comments No comments

Your answer

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