Issue with failed installation of Security Update for SQL Server 2022 RTM GDR (KB5029379) on Windows 11

MelvynShepherd-9518 266 Reputation points
2023-10-28T15:08:18.48+00:00

I am encountering an error 0x80070643 while trying to install the Security Update for SQL Server 2022 RTM GDR (KB5029379) on my Windows 11 PC running SQL Express 2022. I have also attempted to manually download the patch, but it results in the same error. Can someone please assist me with this issue?

Kind regards, Melvyn

Windows for business | Windows Client for IT Pros | User experience | Other
SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Ritik Raj 230 Reputation points
    2023-10-28T16:33:27.7+00:00

    Error code 0x80070643 is a common Windows Update error, and it often indicates that there is a problem with the installation of the update. Here are steps you can take to troubleshoot and resolve the issue with the failed installation of the Security Update for SQL Server 2022 RTM GDR (KB5029379):

    Check Prerequisites:

    • Ensure that your system meets all the prerequisites for the update. Review the system requirements and other prerequisites for SQL Server 2022, such as available disk space and permissions.

    Check Windows Update Troubleshooter:

    • Run the built-in Windows Update Troubleshooter, which can automatically detect and fix common update-related issues. To do this:
    • Press Win + I to open Windows Settings.
    • Go to "Update & Security" > "Troubleshoot."
    • Click on "Windows Update" and run the troubleshooter.
    1. Clear Windows Update Cache:
      • Sometimes, clearing the Windows Update cache can help resolve update issues. To do this, follow these steps:
        • Open Command Prompt as an administrator.
           - Type the following commands one by one and press Enter after each:
          
                            net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
                            
                            ```
    
                - Now, navigate to the C:\Windows\SoftwareDistribution folder and delete all the files and folders within it.
    
                      - After that, restart the stopped services by running the following commands:
    
                                        
    ```yaml
                                        net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
                                        
                                        ```
    
                      - Try installing the update again.
    
    **Check for Pending Updates**:
    
    - Ensure that there are no pending updates that need to be installed before the SQL Server update. Sometimes, installing other updates can resolve issues with subsequent updates.
    
    1. **Check Antivirus and Firewall**:
    
       - Your antivirus or firewall settings may interfere with the update process. Temporarily disable or configure them to allow the update.
    
    
    1 person found this answer helpful.
    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.