Hi @Fahim Sarker,
Thanks for the information you provided. According to your logs, I noticed that you’ve installed the SQL Server before. The errors in your logs are because you didn’t uninstall the SQL Server completely. Please follow the steps below to uninstall your SQL Server manually and then reinstall SQL Server.
- Run services. MSc to view all services, stop all services related to SQL Server.
- Uninstall all SQL Server components from ‘Programs and Features’.
- Delete the SQL Server related registry. (1) HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager, delete the ‘PendingFileRenameOperations’ . (2) All the keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft about Microsoft SQL Server. (3) HEKY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer .
- Delete the relevant folders. (1) Remove the physical path where the Microsoft SQL Server database is installed. (2) Delete the default installation folder of the system (If it is 64-bit, don’t forget to check the Program Files (x86) folder).
- Restart your computer.
Best regards,
Lucy Chen
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".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/support/email-notifications