Some times, you may be fed up with some sort of issues related to ‘owa’ , ‘ecp’ or any other virtual directories. Any repair or fine tuning mayn’t fix the issue and you will have to re-create the virtual directories from the scratch.

The difference in Exchange 2013 is that, it has got 2 websites hosted at IIS (Default Website and Exchange Back End).

I am presenting a simple scenario in which I describes how to remove the owa virtual Directories and how to re-create the owa virtual directories in Exchange 2013 for both Default Website and Exchange Back End

Remove the owa virtual Directories

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (Default Web Site)”

Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (Default Web Site)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (exchange back end)”

Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (exchange back end)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y

 Re-Create the owa virtual Directories

[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa”

[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa” -WebSiteName “Exchange Back End”

Hope you are now free from the owa virtual directories remove/recreate troubles 🙂

9 Comments


  1. Very good Info 🙂

    Reply
  2. Erkan

    if the management console can not connect to exchange you can not do this.
    also the uninstall of exchange doesn’t work. they told me that mailboxes are available and I must delete them. But I can not delete it because my management console doesn’t work.

    An idea microsoft. let the uninstall ask to delete all accounts. but the uninstall must be work each time. but not in microsoft products.

    also the ecp webinterface is bullshit.
    everything can be found in the server manager why I can not manage my exchange on server manager

    Reply

    • Hi,
      Thanks for the feedback !

      You can still try connecting Exchange Server, using Windows PowerShell (https://technet.microsoft.com/en-us/library/dd335083(v=exchg.160).aspx).

      Server manager can manage only Active directory related stuff and it doesn’t allow you to manage any Microsoft products like Exchange Server.

      If you are an expert in ADSIEDIT console, you may go for it too for some hard deletion etc.

      Reply
    • Samuel

      Absolutely correct, these microsoft servers are just shit. Way too much hand holding crap getting in the way. We try to use these products but they are every bit of a pain in the ass just to get the very basic functionality out of them. Fucking annoying.

      Reply

  3. How can I recreate the OWA on Exchange 2013 when in coexistence with 2010 mode?
    I removed the OWA via the remove-owa cmdlet beacuse of a toolbox crash, but now when i try to create the new OWA on Ex2013 the
    2010 server responds to me ?

    What can I do?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam