Hi @Karina,
Do you have a particular reason why you need to use SQL Server 2016? If not, it is recommended that you install SQL Server 2019 or 2022. Windows Server 2016 is supported for both versions. For other prerequisites, you can check this document. The navigation bar on the left side allows you to quickly view the prerequisites for other versions.
https://learn.microsoft.com/en-us/sql/sql-server/install/hardware-and-software-requirements-for-installing-sql-server-2022?view=sql-server-ver16
Error code 1624 usually indicates that there is a problem with the installation package for SQL Server 2016.
You can follow the steps below to uninstall it and reinstall a new SQL Server.
What is more, you can disable antivirus software. Sometimes, antivirus software can interfere with the installation process.
Please follow the below steps to remove all components of previous installed SQL Server completely:
- Remove all SQL Server components from 'Programs and Features'
- Backup the registry
- Delete the following keys in regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
- Reboot the machine
In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).
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".