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
Solved

Activesync for Exchange 2007

Posted on 2011-09-09
9
288 Views
Last Modified: 2012-05-12
I also need to do the same with 2007 on server 2008, is there a way with out 3rd party apps?
0
Comment
Question by:AA095927
  • 5
  • 4
9 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 36514227
To disable Activesync for ALL users, please use the following in the Exchange Management Shell:

get-Mailbox | set-CASMailbox -ActiveSyncEnabled:$False

To then enable it on a mailbox by mailbox basis, use the following command:

Set-CASMailbox -Identity user@domain.com -ActiveSyncEnabled:$true
0
 

Author Comment

by:AA095927
ID: 36514244
Do those commands work in both Standard and Enterprise, including 2010?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514265
Yes - the commands are not version specific.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:AA095927
ID: 36514281
So if I run the first command, then the second within a few seconds, will the iPhone/Droid user need to reconnect/reactive there phone?  Or should it be pretty seemless?
Also, does disabling it for everyone first effect any of the pre-configured Password or Sync settings?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514329
If you disable Activesync globally for all mailboxes (1st command), then existing users will not be able to use Activesync until their account is enabled again.

Once it is enabled again (2nd command), they won't need to re-connect or re-authenticate etc.  It is just like turning on / off a light switch.  You are allowing or denying access via Activesync - not forcing a re-configuration.

There won't be any problems with existing users if you disable then re-enable Activesync for them.  They probably won't even notice.

You can also copy/paste the command into a text file and then configure the users you want to allow, then copy paste the entire list into the EMC and batch enable the users you want e.g.,

Set-CASMailbox -Identity userA@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userB@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userC@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userD@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userE@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userF@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userG@domain.com -ActiveSyncEnabled:$true
0
 

Author Comment

by:AA095927
ID: 36514353
So the password and sync settings stay the same?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514357
Yes - no changes to them at all.
0
 

Author Closing Comment

by:AA095927
ID: 36514365
Thanks again Alan!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514377
You are most welcome.

Thanks for the points.

Alan
0

Featured Post

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.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

829 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