Solved

How to disable ActiveSync for users

Posted on 2010-11-08
7
1,631 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:thoree
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 12

Expert Comment

by:GusGallows
ID: 34084454
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
0
 

Author Comment

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

0
 
LVL 49

Expert Comment

by:Akhater
ID: 34084517
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
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:thoree
ID: 34084541
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.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34084552
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
0
 

Author Comment

by:thoree
ID: 34084581
Thank you very much for your quick response, I will try this solution.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 34084598
just to avoid any confusion this is the part you need


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

$NotASMbx | Set-CASMailbox -ActiveSyncEnabled $false

Open in new window

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question