Hi alibalun-3260,
Folder C:\Program Files\Microsoft SQL Server has an unsupported attribute (Encrypted) set. Please resolve this issue by removing the unsupported attribute from the folder using folder properties dialog.
According to the error message, please right-click on C:\Program Files\Microsoft SQL Server folder -> Properties.
In the Properties dialog, click the Advanced button on the General tab. Then make sure the "Encrypt contents to secure data" option is not selected.
Then please remove previous failed installation clearly before reinstalling SQL server. Here is a link which might help.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
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.