Remove-OWAVirtualDirectory failure
To troubleshoot and try to fix another problem I am having on my Exchange 2007box I am trying to delete the /exchange virtual directory. When I enter the following: Remove-OwaVirtualDirectory -identity "exchange (default web site)" This is what follows:ConfirmAre you sure you want to perform this action?The Remove-OwaVirtualDirectory cmdlet is removing Outlook Web Access virtualdirectory "\exchange (default web site)".[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help(default is "Y"):yRemove-OwaVirtualDirectory : Deleting virtual directory 'IIS://' on 'SERVERNAME' failed.At line:1 char:27+ Remove-OwaVirtualDirectory <<<< -identity "exchange (default web site)"Any help would be greatly appreciated.Zack
February 12th, 2009 11:52pm

Dear Zack, Based on your conversation, I understand that you want to delete /exchange virtual directory, however it failed. Based on my research, you can do that by performing the following steps: 1. Install Window 2000 or 2003 Support Tools on your domain controller, this tool is located in the Support\Tools folder on the Windows 2000 or 2003 CD-ROM for the operating systems, For more information about adsiedit.msc, please refer to the following article: Folder Listing of the Support Tools Included in Windows 2000 2. Launch adsiedit.msc on your domain controller, navigate to the following location: CN=HTTP,CN=Protocols,CN=servername,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=ORG,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DC,DC=com Note: Replace the servername, ORG and DC with your exact names. 3. Right click exchange (default web site), select delete. If you need any further assistance pertaining to this case; please feel free to let me know and Ill be happy to assist you further. Regards, Rock Wang - MSFT
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2009 5:47am

Will this let me recreate the folder afterwards?Will I also need to manually remove the virtual directory from IIS?
February 13th, 2009 7:21pm

Hi Zack, If you want to recreate the /Exchange virtual directory, you can run the following command: New-OwaVirtualDirectory "exchange" -OwaVersion Exchange2003or2000 -VirtualDirectoryType Mailboxes -WebSiteName "Default Web Site" Also, you should manually remove /Exchange virtual directory from IIS if it appears at there. If anything is unclear, feel free to let me know. Regards, Rock Wang - MSFT
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2009 11:58am

This worked.
February 20th, 2009 10:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics