Hi @Ali sharify,
Please try the following steps to solve your problem:
1, Please make sure you are connected to the network and that your network is in good condition, then reinstall. Sometimes this problem is caused by the network not being connected.
2,If the above method does not work, please try to use PowerShell command Install-WindowsFeature to install required features.
Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Windows-Identity-Foundation,Xps-Viewer -IncludeManagementTools -verbose - Source D:\sources\sxs
Please attention: The value used by the last Source parameter is the location of the Windows Server Media disk, the letter to the drive might be different on your server.
The command execution should return a success message like the one below:
![A picture containing text, screenshot, software, web page
Description automatically generated](/api/attachments/2dd0b089-c39b-4e24-a8f1-f06fb645eaa5?platform=QnA)
Here is the relevant link on solving this problem, please click to see:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If the answer is helpful, 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.