Question

IIS 7 Corrupted and will not Remove from Windows Server 2008

Asked by: sparky2156

Hi,

OK i am totally stuck with this one - i have tried everything i know but still no luck. First off, a bit of background information. This server is an active Exchange 2007 server, and is currently in operation. However,  it would not accept OWA requests from the internet. After a lot of researching, it became apparent that that all i could try to do was remove the owa virtual directory. I ran the relevant command from Exchange Management Shell, and it said it removed successfully, although this was the start of all my troubles. I could then not recreate this directory either via IIS or the Exchange Management Shell.

I then tried to remove the default web site, via both IIS and EMS again, however it would not go anywhere, giving ,me an error about the applicationHost.config file being corrupt. I then tried removing IIS Role form the Server Manager, which said it was successful. After rebooting, it appeared that updates were being installed and after logging in, it said that IIS was uninstalled and that i had to reboot. After rebooting (which took much longer than the first time) it gave me the same message, and after rebooting (which took eveeeen longer) it says the same thing AGAIN!! It just will not remove.

After further inspection, i cannot find the IIS Admin Service under services, not can i find WOrld Wide Web Publishing Service. But it still thinks i need to reboot to remove IIS, and will not let me add it until i reboot. But i know if i reboot, i will get the same message again and will go round in this loop forever until it takes all week to reboot.

Has anybody ever had this issue? If not, could somebody pelase guide me through manually removing IIS 7?

It may also be worth noting that i can still open IIS manager, however my server does not appear there. And i cannot delete the Inetsvr folder either, i am assuming because it is protected via Windows File Protection.

Any ideas would be much appreciated!

Thanks.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-13 at 10:45:09ID24317899
Tags

IIS 7

,

IIS

,

corruption

,

Exchange 2007

,

OWA

Topics

Microsoft IIS Web Server

,

Exchange Email Server

Participating Experts
4
Points
0
Comments
12

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Reinstall back OWA in IIS
    Hi All, How to reinstall back OWA in IIS, i mistakenly deleted the whole default web site in IIS. do anybody know the steps to reinstall back? i tried went to microsoft seach for solutions but it doesn't work. my exchange server is install in one server. only one server run...
  2. owa 2007 on iis 7
    i renewed the iis certificate after 1 year from the installation and before this OWA on exchange 2007 worked showing me just red X icons when a user logged in. After this installation OWA 2007 on iis 7 stopped to work or, better, if i digit my https://domain name/owa is not p...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: flaphead_comPosted on 2009-04-14 at 00:33:24ID: 24135621

did the removal of IIS give you any errors in the application event log?

On the plus side your following the right line .. http://support.microsoft.com/kb/320202

Have you tried to add the Web Server (IIS) role and the required role services again? installing it again may fix your issue as it should reinstall the binaries.
You can do it by running the following and the follow the Exchange 2007 part of http://support.microsoft.com/kb/320202

ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression
                                              
1:
2:
3:
4:
5:
6:
7:
8:

Select allOpen in new window

 

by: flaphead_comPosted on 2009-04-14 at 00:34:34ID: 24135630

another thought .. you said the original problem was that you couldn't get OWA to work from the internet.

Did it work internally?

 

by: sparky2156Posted on 2009-04-14 at 09:04:47ID: 24139740

Hi,

I have managed to remove IIS by removing WPA and stopping al the services, however it will now not reinstall. None of the folders (inetsrv or inetpub) are there anymore, nor are the services, however it just will nto re-install.

As soon as i tried runing your first command, i got a whole load of error messages and prompted to reboot to undo the changes. The followeing is what was returned:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\administrator.CHERRYDENTAL>ServerManagerCmd -i Web-Server
..

Start Installation...
[Installation] Succeeded: [Web Server (IIS)] Management Tools.
[Installation] Succeeded: [Web Server (IIS)] Web Server.
[Installation] Succeeded: [Web Server (IIS)] Common HTTP Features.
[Installation] Succeeded: [Web Server (IIS)] Health and Diagnostics.
[Installation] Succeeded: [Web Server (IIS)] Security.
[Installation] Succeeded: [Web Server (IIS)] Performance.
Error: Installation of [Windows Process Activation Service] Configuration APIs f
ailed. The server needs to be restarted to undo the changes.

Error: Installation of [Windows Process Activation Service] Process Model failed
. The server needs to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] IIS Management Console failed. The ser
ver needs to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] HTTP Logging failed. The server needs
to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Static Content Compression failed. The
 server needs to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Request Filtering failed. The server n
eeds to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Request Monitor failed. The server nee
ds to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] HTTP Errors failed. The server needs t
o be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Static Content failed. The server need
s to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Default Document failed. The server ne
eds to be restarted to undo the changes.

Error: Installation of [Web Server (IIS)] Directory Browsing failed. The server
needs to be restarted to undo the changes.

<100/100>

Error: Installation of one or more roles, role services, or features failed, and
 a restart is required. Check the Server Manager log for additional information
and try again.

I am guessing that the same thing which is causing this not to install from the command is also causing it not to install via server manager.

Do you have any idea how to get IIS to be completely removed, so that i can run a fresh install, or do you know of anything which could be stopping the installation?

To answer your question, yes the internal version of OWA was perfect, is was just external useres. All ports were open, and the external URL was also defined. Users could get to the screen prompting them about the certificate, and when you clicked continue anyway, that is when i got the 404 error and nothing would go any further.

Thanks.

 

by: flaphead_comPosted on 2009-04-14 at 09:29:04ID: 24139998

ah, IIS looks hosed ... to be honest, it would be a good idea to raise a call with Microsoft to sort it out

BTW, your gonna love this, there was nothing wrong with IIS, you just need to do a bit of configuration with Exchange to sort out External OWA :-(

 

by: sparky2156Posted on 2009-04-14 at 09:38:17ID: 24140083

Yea, i think you are right about it not being corrupted in the first place, but what appeared to be a simple fix destroyed IIS, and as always in IT, once you start down those roads, your committed and theres no way back!

Have you any ideas on how to remove my IIS? doesnt matter how many times i try to install it, it just keeps on failing. Its like there is just some bad configration hanging around somewhere, like the registry ot the file system, and it just keeps getting stuck. As far as Windows is concerned, its not on, but it wont let me install it.

I'm sure if i could jsut get it to re-install, i could remove the Client Access Role, re-install it (using the guide you provided via microsoft) and all the OWA virtual directorys will be recreated. But i just cant get it to install!!!

I will contact Microsoft Support first thing in the monring and raise a support call with them, but in the meantime, do you have any more suggestions?

Thanks for all of your help so far.

Cheers

 

by: flaphead_comPosted on 2009-04-14 at 10:03:55ID: 24140300

if removing it by servermanager or servermanagercmd doesn't work, then I dont have a clue.

Do the event logs say anything of any use?

Let me know what MS say (I am ExMicrosoft Exchange Support)

 

by: sparky2156Posted on 2009-05-07 at 13:39:55ID: 24330358

Hi,

Sorry for the late reply. Unfortunately, if you remove IIS 7 from Windows Server 2008, it is never going back on properly. . . . EVER!

You just have to re-install the OS, hopefully they will fix this in the next Service Pack release

Also, you are going to love this - the reason that OWA would not work was because the mailboxes had become dismounted on the reboot. Exchange 2007 does not remount the mailbox store after reboot automatically, however this is easily changeable via the Exchange Management Console.

Thanks.

 

by: flaphead_comPosted on 2009-05-08 at 02:17:59ID: 24334213

Assume you raised a call with MS? One comment really . Damm, let hope R2 fixes it

 

by: kenzacmPosted on 2009-07-01 at 22:34:10ID: 24760686

im currently in the middle of vigerously testing windows server 208 Enterprise and Datacenter Edition but unfortunately it behaves too much like Vista!!!!

In regards to IIS breaking easily i do believe MicroSoft have released a few updates to sort it out :D

 

by: sparky2156Posted on 2009-07-03 at 06:00:20ID: 24772041

Lets just hope its released soon.

Thanks.

 

by: VeonikPosted on 2009-10-26 at 23:40:46ID: 25669564

If you uninstall the Windows Process Activation feature you will then be able to install IIS7 again (and then WPA again) with no problem.

 

by: NetMattersPosted on 2010-08-03 at 14:52:33ID: 33353484

A Solution - without reinstalling the OS:

For anyone else who finds this i'd just like to add that i had the same issue - removed IIS and couldnt reinstall it..

Found some information stating that,
*  in server2008 i went in to Start --> Server Manager --> Features --> Remove Features
*  then un-tick the Windows Process Activation Service
*  Reboot the server

Once Rebooted -
*  Go in to Start --> Server Manager and then wait for it tom complete the removal process
*  In Server Manager, GoTo Roles --> Add Role
*  Add IIS and select the features you require.
(Adding IIS also reinstalls the windows process activation service)

Really Hope this helps someone else..

I got the information above from: http://social.technet.microsoft.com/Forums/en-US/winserverwsus/thread/096cd3c2-59c6-49ca-9d1a-a71c53839e85

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...