how can I fix broken IIS on Windows 7 ?

Deinstalling it via "Windows Features" doesn't help. Apparently it doesn't uninstall IIS completely so on my subsequent attempts to install it installer hangs and I can see in Process Explorer that it keeps trying to launch svchost.exe -iis for 10 mins and then gives me error message.

Reinstalling whole Windows with all apps would take me another 3 days :/

Please help.

  • 1
    What is the error message? – shufler Feb 16 '12 at 1:10
  • The message is very informative as it's often the case in MS products :) "An error has occurred. Not all of the features were successfully changed!" – expert Feb 16 '12 at 1:11
  • Are there events in the application or system logs that occur around the same time you try to add the IIS feature? – shufler Feb 16 '12 at 1:16
  • If installing it in OptionalFeatures.exe fails, then maybe it is because of missing/corrupt files. Even though it is a clichéd and lazy cop-out that I despise, it really does apply here: try running sfc /scannow to verify your installation files, and then check %windir%\Logs\CBS\CBS.log (you may want to delete or empty the file first). – Synetech Feb 16 '12 at 3:39

Old post!!. But sometimes this will help someone to save his time. This seems to be a framework error.Reinstalling framework will solve this issue. Reinstall framework by going to control panel > Turn windows features on/off > Microsoft .NET Framework xxx


I found this on the internet some time ago.
1. Unistall IIS
2. Uninstall (Windows Process Activation Service)
3. Reboot
4. Install IIS again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.