How to Delete the Default Autodiscover Service Virtual Directory
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
Topic Last Modified: 2007-08-30
This topic explains how to use the Exchange Management Shell to delete the default Autodiscover service virtual directory for Microsoft Exchange Server 2007.
|You cannot use the Exchange Management Console to delete the default Autodiscover service virtual directory.|
To perform the following procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Run the following command:
Remove-AutodiscoverVirtualDirectory -Identity "MyServer\autodiscover(autodiscover.contoso.com)"
For more information about syntax and parameters, see Remove-AutodiscoverVirtualDirectory.