Hello, Jatin,
are you running it on a supported OS? If this does not work you can install a web server manually from Windows Option Feature or run the following command from powershell with elevated privileges (
Install-WindowsFeature -name
Web-Server -IncludeManagementTools) so that you can see what is the root cause for your issue or you can use the approach displayed on the image below.