IIS usually works well in Windows. but sometimes, we have a tendency to customize it to serve a required setting for a specific web project. If we install Xampp in Windows, default Xampp configuration forces IIS to decline its normal beaver or any custom configuration could be the cause.

So let’s see however we are able to reset IIS to its default settings. i'm working with Windows 8 and IIS 8.

Reset IIS

Go to 'Control Panel\Programs’.
Click 'Turn Windows feature on or off'.

Now, uncheck these two check boxes.
Click OK
And then, reboot/restart machine.

Again Go to 'Control Panel\Programs'.
Click 'Turn Windows feature on or off'.
Check these two check boxes.
Click ok.
Reboot/Restart machine.

Go to 'C:\Windows\System32\Drivers\etc'.
Open the 'hosts' file with Notepad.

Remove the Custom IP configurations, if any.
Save the edited hosts file ‘Ctrl+s’.

If Windows doesn’t let you save the 'hosts' file, copy the hosts file to another location.
Do edit and save.

Replace the 'hosts' file at 'C:\Windows\System32\Drivers\etc' with your edited 'hosts' file and we are ready to go.
"turn windows features on" An error has occurred. Not all of the features were successful.

HostForLIFE.eu IIS 8.0 Hosting
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes. We have customers from around the globe, spread across every continent. We serve the hosting needs of the business and professional, government and nonprofit, entertainment and personal use market segments.