locked
Accidentally Removed IIS Role with Exchange installed RRS feed

  • Question

  • I had installed exchange 2010 on my 2k8 R2 server for testing purposes but forgot to un-install it. 

    I forgot this was still running on the server when I had to remove and re-install the IIS role on the server.

    I've since tried to get Exchange working again but just wont start up and comes back saying the WinRM client cannot process the request.

    It wont uninstall now either so any suggestions on how to rectify would be greatly appreciated!

    Saturday, May 10, 2014 12:48 PM

Answers

  • Hi,

    You can try to remove and reinstall exchange cas role, and then recreate the IIS virtual directories to restore links with the Exchange Mailbox role.

    The following article for you reference:

    How to remove and to reinstall IIS on a computer that is running Exchange Server

    Hope this helps!

    Thanks.


    Niko Cheng
    TechNet Community Support

    • Marked as answer by 1st Stanmore Thursday, May 15, 2014 5:54 PM
    Monday, May 12, 2014 8:19 AM
  • Copy&paste C:\Windows\System32\inetsrv\config\applicationHost.config from working Exchange 2010

    But make sure you take back up of existing files

    • Marked as answer by 1st Stanmore Thursday, May 15, 2014 5:54 PM
    Monday, May 12, 2014 11:57 PM

All replies

  • Hi Stam,

    Please go through these links.

    These can going to help you..

    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx

    http://support.microsoft.com/kb/2028305/en-us

    Regards,

    • Proposed as answer by Nothing 123 Sunday, May 11, 2014 11:04 PM
    Saturday, May 10, 2014 1:04 PM
  • I've never accidentally removed IIS from Exchange before, but worst case scenario, you can blow away that server, re-install windows and run setup /recoverserver.  Then uninstall it.


    Mike Crowley | MVP
    My Blog -- Planet Technologies

    Saturday, May 10, 2014 3:41 PM
  • Don't fancy doing all that as many different users on the server and have no redundancy as is for a charity. Do you reckon recovering the system state from before removing IIS might sort out?
    Saturday, May 10, 2014 6:07 PM
  • Hi,

    Thanks for quick response. I've tried doing the above but on no success.

    Saturday, May 10, 2014 6:08 PM
  • Hi Stan,

    Did you try this blog.

    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx

    We had faced this error in the past in my test enviornment and i followed few of the steps given in the KB which i shared earlier and issue was resolved. But try the steps given in the above blog and check.

    Regards,

    Monday, May 12, 2014 3:29 AM
  • Hi,

    You can try to remove and reinstall exchange cas role, and then recreate the IIS virtual directories to restore links with the Exchange Mailbox role.

    The following article for you reference:

    How to remove and to reinstall IIS on a computer that is running Exchange Server

    Hope this helps!

    Thanks.


    Niko Cheng
    TechNet Community Support

    • Marked as answer by 1st Stanmore Thursday, May 15, 2014 5:54 PM
    Monday, May 12, 2014 8:19 AM
  • Hi,

    Just tried running through this but keeps failing. Any ideas as to why? 

    [05/12/2014 18:44:28.0113] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID ClientAccessOwaComponent___5effe7121e1740c083904cc189687464.
    [05/12/2014 18:44:28.0116] [1] 68 tasks were found to execute.
    [05/12/2014 18:44:28.0116] [1] Processing component 'OWA Configuration' (Installing/Removing Outlook Web App Component.).
    [05/12/2014 18:44:28.0116] [1] Executing: 
              $CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
              Start-SetupProcess -Name "$CommandAppCmd" -args "uninstall module exppw";
            
    [05/12/2014 18:44:28.0217] [2] Active Directory session settings for 'Start-SetupProcess' are: View Entire Forest: 'True', Configuration Domain Controller: '1S-Server.1ststanmore.dyndns.org', Preferred Global Catalog: '1S-Server.1ststanmore.dyndns.org', Preferred Domain Controllers: '{ 1S-Server.1ststanmore.dyndns.org }'
    [05/12/2014 18:44:28.0217] [2] Beginning processing Start-SetupProcess -Name:'C:\Windows\System32\inetsrv\appcmd.exe' -Args:'uninstall module exppw'
    [05/12/2014 18:44:28.0233] [2] Starting: C:\Windows\System32\inetsrv\appcmd.exe with arguments: uninstall module exppw
    [05/12/2014 18:44:28.0409] [2] Process standard output: ERROR ( message:Cannot find GLOBAL MODULE object with identifier "exppw". )

    [05/12/2014 18:44:28.0414] [2] Process standard error: 
    [05/12/2014 18:44:28.0507] [2] [ERROR] Unexpected Error
    [05/12/2014 18:44:28.0507] [2] [ERROR] Process execution failed with exit code 1168.
    [05/12/2014 18:44:28.0593] [2] Ending processing Start-SetupProcess
    [05/12/2014 18:44:28.0594] [1] The following 1 error(s) occurred during task execution:
    [05/12/2014 18:44:28.0610] [1] 0.  ErrorRecord: Process execution failed with exit code 1168.
    [05/12/2014 18:44:28.0610] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 1168.
    [05/12/2014 18:44:28.0618] [1] [ERROR] The following error was generated when "$error.Clear(); 
              $CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
              Start-SetupProcess -Name "$CommandAppCmd" -args "uninstall module exppw";
            " was run: "Process execution failed with exit code 1168.".
    [05/12/2014 18:44:28.0618] [1] [ERROR] Process execution failed with exit code 1168.
    [05/12/2014 18:44:28.0618] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___5effe7121e1740c083904cc189687464 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [05/12/2014 18:44:28.0618] [1] Setup is stopping now because of one or more critical errors.
    [05/12/2014 18:44:28.0618] [1] Finished executing component tasks.
    [05/12/2014 18:44:28.0626] [1] Ending processing Uninstall-ClientAccessRole
    [05/12/2014 18:44:28.0629] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
    [05/12/2014 18:44:28.0631] [0] End of Setup

    Monday, May 12, 2014 6:43 PM
  • Copy&paste C:\Windows\System32\inetsrv\config\applicationHost.config from working Exchange 2010

    But make sure you take back up of existing files

    • Marked as answer by 1st Stanmore Thursday, May 15, 2014 5:54 PM
    Monday, May 12, 2014 11:57 PM