Please attach the following files as much as possible.
1.sql_engine_core_inst_Cpu64_1.log
C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20240416_103426\sql_engine_core_inst_Cpu64_1.log
2.Detail.txt
C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20240416_103426*Detail.txt*
3.ERRORLOG
C:\Program Files\Microsoft SQL Server\MSSQL16.[Instancename]\MSSQL\Log*ERRORLOG*(first document in the top of folder)
After obtaining the above files, we can further locate the error for you.
Otherwise,While waiting for a reply, you can try the following solutions:
The most likely reason for this issue is that your device had SQL Server installed before and it was not completely uninstalled. Here are the suggested steps:
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
Mikey Qiao