Hi @Salka, Milan,
Feel free to attach the error log here so that we could do more analysis.
If you have installed multiple sql server instances and fail, please try to uninstall the related component first and re-do install.
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
- Reboot the machine
In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.