How to Remove an Exchange ActiveSync 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
This topic explains how to use the Exchange Management Shell to remove an Exchange ActiveSync virtual directory in Microsoft Exchange Server 2007.
By default, when Exchange 2007 is installed, a new virtual directory is created in the default Web site in Internet Information Services (IIS). This virtual directory is named Microsoft-Server-ActiveSync. You can create additional Exchange ActiveSync virtual directories under Web sites other than the default Web site. All Exchange ActiveSync virtual directories that you create will have the name Microsoft-Server-ActiveSync. You can remove the default Exchange ActiveSync virtual directory or any additional Exchange ActiveSync virtual directories that you create.
You can also use this procedure to remove an Exchange ActiveSync virtual directory if the virtual directory settings have become corrupted.
Before You Begin
To perform this procedure, the account you use must be delegated the following:
- Exchange Organization Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
To use the Exchange Management Shell to remove an Exchange ActiveSync virtual directory
In this example, the Exchange ActiveSync virtual directory under the contoso.com Web site is removed. Run the following command:
Remove-ActiveSyncVirtualDirectory -Identity "Contoso.com\Microsoft-Server-ActiveSync"
For more information about syntax and parameters, see Remove-ActiveSyncVirtualDirectory.
For More Information
For more information about how to manage Exchange ActiveSync virtual directories, see Managing the Exchange ActiveSync Virtual Directory.