Lync Server 2013 materials on Microsoft Download Center

Exchange 2010 list activesync Apple devices


Few days ago, we wrote about problems with Apple mobile devices updated to iOS6, and also we wrote how to check mobile devices connected to mailboxes in Exchange 2010.
Below you can find link to last post:

Exchange 2010 ActiveSync Devices list


Now because lot of people have problems with mobile devices with iOS6 connected to mailboxes on Exchange 2010, we want to show you how you can get check how many mobile devices are connected to mailboxes in your Exchange 2010 environment.

To get list of all mobile devices connected to mailbox JSmith use below command:

Get-ActiveSyncDeviceStatistics -Mailbox JSmith | ft DeviceType, DeviceUserAgent, LastSuccessSync


Now we need to get all mailboxes from MB01 server and get list of all mobile devices which were used to connect to those mailboxes.
To do this we need to use both command:  Get-Mailbox and Get-ActiveSyncDeviceStatistics

If we want to get all mailboxes from MB01 server:

$MBXs = Get-Mailbox -server MB01 -RecipientTypeDetails UserMailbox –ResultSize Unlimited -Filter {HiddenFromAddressListsEnabled -eq $false}


Now we need to check mobile devices:

Continue reading

Exchange 2010 SP2 Rollup 4 errors after update: MSFTESQL and MapiExceptionUnexpectedMailboxState


MSFTESQL error after applying Rollup 4 for Exchange 2010 SP2:

After updating yours Exchange 2010 SP2 environment to Rollup 4 or Rollup 4-v2 you can find errors in EventLog like below:

Event 4999:

Watson report about to be sent for process id: 14116, with parameters: E12, c-RTL-AMD64, 14.02.0297.000, ExMSFTE, M.E.Search.ExSearch, M.E.S.Crash.CrashNow, M.E.Common.FailFastException, 678e, 14.02.0318.001.
ErrorReportingEnabled: False

Event 64772:

The filter daemon process MSFTEFD exited unexpectedly. Here is the stack trace:

Event 1053:

The system exception c000010a was raised at 000007FEF9B60F16. Stack:

Also you can expirence problems with CPU utilization is reaching 100% during mailbox moves. All utilization is consumed by msftefd.exe

Those symptoms looks very similar to symptoms described for Exchange Server 2007:

The Msftefd.exe process constantly consumes up to 100 percent of CPU resources

Error message occurs on a server that is running Exchange Server 2007 and that has the mailbox server role installed


Sometimes helps applying the following hotfix to Microsoft Filter Pack 2.0:


If you uninstall Rollup 4 for Exchange 2010 SP2 the errors won’t appear anymore.

Continue reading

IOS6 and Exchange meeting hijacking – calendar issues


Few days ago, when Apple released iOS6 we informed you about IOS6 and Exchange problems:
Exchange ActiveSync problems after upgrading IPhone or IPad to iOS6

After recent release of iOS6 Microsoft noticed increased support calls due to meetings having the owner of the meeting changed – meeting “hijacking”.
Most instances reported to Microsoft to date involve users with delegates who first open a meeting request in Outlook and then act on that same meeting in iOS.

iOS6 take ownership of meetings

Microsoft discussed this issue with Apple and will let as know when problem will be resolved.

Right now Microsoft has soem recommendations to offer a few migitation options:

  • Tell users not to take action on calendars on iOS We’re not seeing this particular issue if users don’t take action on their calendar items (for example, accept, delete or change meetings).
  • Switch iOS users to POP3/IMAP4 Another option is to switch users over to POP/IMAP connections. This will remove calendar and contacts functionality while allowing users to still use email (though the email may shift to pull from push while using these protocols) Continue reading

Microsoft Lync Server 2013 RTM available now, Visio stencils, Help Files, documentation


Yesterday on October 24th 2012 Microsoft released Lync 2013, Exchange 2013, SharePoint 2013, and Office 2013 to TechNet and MSDN Subscribers.

Also you can download Help Files for Microsoft Lync Server 2013, available here:

Microsoft Lync 2013 Documentantion Help File


Microsoft also released a Visio stencil (LyncServer2013_Stencils.vss) containing 285 shapes to design Lync architectures.

Lync 2013 Visio stencils are available here:

Lync Server 2013 Visio Stencil


To view the Microsoft Lync Server 2013 library go to:

Microsoft Lync Server 2013 documentation


Exchange 2013 RTM Help Files


If you are boring and you want to get know about new and exciting features in Microsoft Exchange 2013 now you can download Microsoft Exchange 2013 Help Files

Exchange 2013 Help Files (.chm) are available on Microsoft Download Center.

You can find them here:

Exchange 2013 Help Files

You can find two help files:

  • for Exchange 2013 Hybrid Deployments
  • for Exchange 2013 RTM version



Exchange 2010 list mailboxes with forward to address or inbox rule


Exchange 2010 mailboxes list with forward to address enabled:

Many times in our Exchange 2010 environment we need to forward messages from one mailbox to another.
Users always have a lot of reasons to enable Forward To option.

After a while we mostly forget which mailbox has enabled Forward To option, and we forget to disable it.

Every now and then we should check, which mailbox has Exchange 2010 Forward To option enabled and if we don’t need it anymore, disable it.

We will spend a lot of time If we would like to use Exchange Mangement Console to verify mailbox Forward To.

Much better option is to use Exchange Management Shell with Get-Mailbox CMDlet.

To get list of all mailboxes in Exchange 2010 with enabled option Forward To we need to run below command:

Get-Mailbox -server MX01 -Filter {ForwardingAddress -like '*'} | Select-Object Name, ForwardingAddress


As a result we will get list of all mailboxes on MX01 Exchange 2010 server with Forward To option enabled.
When we have many mailboxes we can write this list to file like below:

Get-Mailbox -server MX01 -Filter {ForwardingAddress -like '*'} | select-object Name,ForwardingAddress | Export-Csv "D:\Scripts\Forwarding.csv"



Exchange 2010 list of mailboxes with enabled InboxRule:

Normal user can’t enable Forwad To option for mailbox, but he can create in Outlook or OWA InboxRule which will forward or redirect emails to other mailbox.

All mailbox rules created by users are stored in Exchange 2010 mailboxes. So again from Exchange Management Shell we can check all mailboxes do they have any mailbox rules and if they have are they using to forward or redirect messages.

To check mailbox for user created Inbox Rules with option Redirect To or Forward To we need to use Get-InboxRule CMDlet like below:

Continue reading

Exchange 2010 mailbox move history


Before we explain how to get mailbox move history, first we will explain how to move mailbox between mailbox databases in Microsoft Exchange 2010.


Exchange 2010 move mailbox:

To move mailbox between two mailbox databases in Exchange 2010 we can use:

  • EMC – Exchange Management Console
  • EMS – Exchange Management Shell

EMC Exchange Management Console

To move mailbox from one database to another one, we need to open EMC, find mailbox which we want to move and then right click on it and select New Local Move Request

Next we have to select target mailbox database and choose how many bad items can be skipped during this move.

I think this move is quite simple in EMC.

EMS Exchange Management Shell

We prefer to use EMS to move any mailbox, a specially when you need to move few mailboxes. CMDlets which can be used to move mailbox you can easly use in Powershell script.

You need to have RBAC permission to move mailboxes.

Below you can find CMDlets which you can use to move mailbox, monitor mailbox move, suspend, resume, and also needed RBAC permissions:

CMDlet Required RBAC permission
  Management role Role group membership
New-MoveRequest Move Mailboxes Recipient Management
Get-MoveRequest Move Mailboxes, View-Only Recipients  
Get-MoveRequestStatistics Move Mailboxes, View-Only Recipients Recipient Mangement
Set-MoveRequest Move Mailboxes Recipient Management
Suspend-MoveRequest Move Mailboxes Recipient Management
Resume-MoveRequest Move Mailboxes Recipient Management
Remove-MoveRequest Move Mailboxes Recipient Management
Get-MailboxStatistics Mail Recipients, Users Options, View-Only Recipients Recipient Management

To move mailbox you need to create move request like below:

New-MoveRequest -identity "John Smith" -TargetDatabase "MXDB03"

Above command will create move request to move John Smith to mailbox database MXDB03

Continue reading

Exchange 2010 ActiveSync Devices list


Exchange 2010 Get list of mobile devices with activesync for user:

Sometimes we want to know what kind of mobile devices uses ours users.

If we want to check only one user it’s not a problem. We can use Powershell cmdlet:


If we want to know what activesync devices uses John Smith we need to run:

Get-ActiveSyncDeviceStatistics -Mailbox "John Smith" | fl

or if we want to specify the output:

Get-ActiveSyncDeviceStatistics -Mailbox "John Smith" | Select-Object @{n="Mailbox";e={$mailbox}}, LastSuccessSync, Status, DeviceID, DeviceType, DeviceUserAgent, DeviceModel, DeviceIMEI, DeviceOS



Exchange 2010 get list of all users activesync devices

Unfortunatelly mostly we want to get list of all mobile devices used by users.

This is not so easy because every user can use more than one mobile device: cell phones, tablets and other devices.

Continue reading