install SQL SERVER 2022 Express Edition A required file could not be downloaded

Yasmine LAKRIB 0 Reputation points
2024-03-24T19:15:25.8833333+00:00

I tried to install SQL SERVER 2022 Express Edition, and this is the message I get:

Oops...

A required file could not be downloaded.This could mean the version of the installer is no longer supported.Please download again from the download site.

I do have a windows 11

I tried all solutions i found on the internet:

I Checked Network Connectivity,

I turned off the firewall,

I updated my windows,

I tried to Download the Installer several times from different ressources,

I tried this solution :

Windows 11

  1. Click Close Button
  2. Click Search
  3. Search Windows PowerShell
  4. Right-Click on Windows PowerShell
  5. Click Run as administrator
  6. Copy 1st Code:- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
  7. Right-Click on Mouse To Paste the Code
  8. Now Press Enter on Keyboard
  9. Copy 2nd Code:- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
  10. Right-Click on Mouse To Paste the Code
  11. Now Press Enter on Keyboard
  12. Close Windows PowerShell
  13. Restart Your Computer
  14. Run SQL Server Setup File
  15. Done!

I tried this solution too:

Open PowerShell as administrator and run

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword

I tried restarting my computer several times,

I transfered the exectable from a computer in which it worked , but still always poping up with the same mistake

as I Check Installation Logs, its the same error occuring mentioning that the installation failed

what can i do about it please ?

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,915 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,457 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 33,781 Reputation points
    2024-03-25T05:51:13.6866667+00:00

    Hi @Yasmine LAKRIB,

    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
    
    1. Reboot the machine

    In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).

    And then download the SQL Server from official web and re-install for a try.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. AbdallaMon 0 Reputation points
    2024-05-15T13:48:07.1966667+00:00

    I encounterd the same problem and this worked for me

    Open PowerShell as administrator and run

    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
    
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
    
    

    Source https://techcommunity.microsoft.com/t5/sql-server/sql-server-installer-unable-to-download-the-required-files/m-p/2120065/highlight/true#M890

    0 comments No comments