Post

If You Cannot Install/Uninstall IIS 7

This post is about how to resolve IIS 7 installation issue.

IIS 7 (7.0 on Windows Vista and Windows Server 2008, or 7.5 on Windows 7 and Windows Server 2008 R2) installation depends on Windows CBS. This is a bless but also a curse. If you find installing or uninstalling IIS 7 failed with an error message, please blame CBS in most of the cases.

Then why may CBS ever be corrupt without any hint? Possible causes are listed below,

  1. You have run a “so called” registry optimization software. I believe the vendors neither fully test such products nor have a close enough relationship with Microsoft to learn about every registry keys. So stay away from them.
  2. You have hardened the box. In some firms (financial firms especially), such hardening is mandatory for every server boxes. However, if the process is not Microsoft certified and indeed some registry or permission is changed wrongly, you will end up with lots of problems including this IIS one.
  3. Windows Update process ended abnormally and broke CBS (like turning off Windows protection when Windows Update is in progress).
  4. Many others…

About how to resolve the issue, you might go on to read part II.

© Lex Li. All rights reserved. The code included is licensed under CC BY 4.0 unless otherwise noted.
Advertisement