Recreating Active Sync Virtual Directories
So I have spent time fixing ActiveSync on a 2007 sever (and 2003) several times. I thought that it might be useful to show you the steps necessary to recreate the ActiveSync virtual directories as this is the most common fix.
So the first step in recreating the virtual directories is to remove them. Here is the method that is quickest and works every time for me in 2007.
- Open the “Exchange Management Shell” (not console)
- Type “Get-ActiveSyncVirtualDirectory” and press enter. (You can type “Get-Act” and press the tab key and it will scroll through the available commands so you don’t have to type it).
- After the command gives you back the virtual directory name, it should look like the example below, you need to copy the name to the clipboard. You know “edit” and “mark” ;)
- Example:
- Name
- ----
- Microsoft-Server-ActiveSync (Default Web Site)
- Now type “Remove-ActiveSyncVirtualDirectory”. You will be prompted for the “Identity” paste the “name” that you copied from step 2 here. Or type it. Press enter.
- Now on to recreating it the new directory. In the same console window type “New-ActiveSyncVirtualDirectory”. When you prompted for a name paste that same name you captured earlier in step 2 here.
That’s it you have recreated the ActiveSync virtual directory. Now test and make sure its functioning. You may want to scan through the security settings to make sure they are right; but I have done this numerous time and pretty much this fixes it every time.
If you need to do this in Exchange 2003 there are quite a few more steps and they are outlined here; http://support.microsoft.com/kb/883380.





