IIS7 may fail to be uninstalled when it’s Shared Configuration corrupted


In Enterprise environment, when multiple IIS 7/7.5 web servers share the same configuration on a file server, if shared configuration corrupted, access denied, or the shared file server down, the IIS7/7.5 may fail to be uninstalled.

Open c:\windows\II7.log, the error can be:


[04/06/2010 16:46:00] "C:\Windows\WinSxS\amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.1.7600.16385_none_6cde646bce835df3\iissetup.exe" /uninstall ISAPIExtensions

[04/06/2010 16:46:00] < WARNING! > Shared configuration detected. Install/Uninstall of optional component may fail.

[04/06/2010 16:46:00] < !!FAIL!! > Uninstall of component ISAPIExtensions result=0x80070490


One KB article has mentioned one scenario about Access Denied on the shared configuration, in this article the result is 0x80070005:

 954856  BUG: You cannot install or uninstall a component in IIS 7.0


To resolve this type issue more generally (Uninstall/Install IIS even when Shared Configuration store down), we can follow:

Locate this file and open it as Administrator:


Modify this line:

<configurationRedirection enabled="true" path="…" … />


<configurationRedirection />

Save this file.

This method just informs the IIS setup application that the IIS doesn’t depend on Shared Configuration, it can go ahead to remove or reinstall the IIS.

Another way is to move the three .config files out of C:\Windows\System32\inetsrv\config\. In this situation, IIS setup cannot determine it is a shared configuration or not, will also proceed installation process directly.


Freist Li

Comments (2)

  1. Tanmay says:

    Same problem solved by just restoring applicationHost.config file from C:inetpubhistory

  2. Technicali says:

    Hi All,

    I ran into a similar issue and cannot find an easy answer, after lot of search and at last I found this KB update (KB2957390) and that helped.

    I already on my build image had the KB2919355 because of which the IIS was not uninstalling.

    Here are the steps below if you have issue uninstalling IIS 7 or 8 from Server 2012 R2

    -Ensure Shared Configuration on IIS is disable (follow this to disable technet.microsoft.com/…/cc755255%28v=ws.10%29.aspx)

    -Ensure all the Services related to IIS and WWW Publishing is stopped and set to Manual

    -Check you have KB2919355 installed on your Server

    -Download the KB2957390 from here: http://www.microsoft.com/…/details.aspx

    Find more info here – support.microsoft.com/…/en-us

    Hope it helps and saves time for everyone.



Skip to main content