Link to home
Start Free TrialLog in
Avatar of thoree
thoree

asked on

How to disable ActiveSync for users

Hi,

2 questions about Activesync in Exchange 2010:

1: I have a number of users using ActiveSync to sync email between Exchange 2010 and the mobile. Now I want to disable activesync for all users EXCEPT for the users who are already using it. In other words,I want to disable Activesync for users who do not already have an activesync partnership.

2: How can I change the default so that new users are created with ActiveSync=Disabled?
Avatar of GusGallows
GusGallows
Flag of United States of America image

A user template is the best way to accomplish this. See the following article:
http://blogs.technet.com/b/vik/archive/2007/02/02/how-to-enable-and-disable-exchange-activesync-features-in-exchange.aspx
Avatar of thoree
thoree

ASKER

So it is not possible to configure Exchange 2010 to set activesync=disabled for new user-accounts without having to copy the template?

what you are trying to accomplish is not easy

to do your first question you need a script i can help you with this

for point 2 no it is not possible unless you create your own scritps to provision your new users
Avatar of thoree

ASKER

Thanks for your answers. And it would be great if you could give an example of a script doing what I want in question 1.
ok

Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePartnership  -eq $true}

will give you a list of all users that are already using active sync

$NotASMbx = Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePartnership  -eq $false}

$NotASMbx | Set-CASMailbox -ActiveSyncEnabled $false

this will disable activesync for all users that are not using it already
Avatar of thoree

ASKER

Thank you very much for your quick response, I will try this solution.
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial