• Exchange 2003 / 2007 – Error | Event ID 9646 | MAPI Session “/o=CONTOSO/ou=First Admin Group/cn=Recipients/cn=UserAlias” exceeded the maximum of 500 objects of type “objtFolder”

     

     

    This issue may go out by itself. But if the user is still experiencing the issue, try to close the IP connections, and investigate what on his desktop (or on other desktops if he has multiple opened connections) can generate too much MAPI connections.

    Usually, it can be caused by VPN connections closing and users re-opening them. When a VPN connection closes, the MAPI session to an Exchange Server is not released. Then re-establighing the VPN then the MAPI connection just add more MAPI connections

    It can also be caused by an external MAPI based device such as Blackberry or application such as scripts or third-party mail applications.

     

    1- First, checkout the IP address of UserAlias listed in the Distinguished Name of the event :

    Get-LogonStatistics UserAlias | ft Name,ClientIPAddress

    Note: if the client is not more connected to the Exchange server or the MAPI sessions finally closed by themselves, the ClientIPAddress property will be blank

     

    2- Using a tool like TCPView (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx), close the connections from your Exchange server that refer to the ClientIPAddress you just get with the PowerShell command in Step-1

     

     

    Again, forcing TCP connections without knowing the cause of what caused them is not very clever. The MAPI connections exhaustion may come back.

    Check with the user’s devices and applications he is using to connect to the Exchange server as you may be able to solution the issue for a broader number of users.

  • Bookmark–Managing AD with Powershell : what do you need to install on your servers and workstations ?

     

    Mike Pfeiffer wrote  a good and concise article that shows step by step how to install the ADGWS on your AD servers, AND how to install the Active Directory Module on the Windows workstations (that need RSAT tools – Remote Server Administration Tools) :

    http://www.mikepfeiffer.net/2010/01/how-to-install-the-active-directory-module-for-windows-powershell/

  • PowerShell–Poster/Carte de référence rapide des commandes Active Directory

     

    Bonjour,

     

    Avec mes excuses pour le lien erroné dans le cours PowerShell, voici le lien vers le poster original de référence rapide des CmdLets Active Directory (pour rappel, pour pouvoir administrer des serveurs avec les outils PowerShell, ADMGS ou Active Directory Management Gateway Service est nécessaire sur les serveurs Windows 2003 SP2, Windows 2003 R2 SP2, Windows 2008 et Windows 2008 SP2 – ADMGS est installé par défaut sur Windows 2008 R2)

     

    image

    (http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/CommunityServer-Components-PostAttachments/00-09-45-35-90/ADPS_5F00_Overview.png)

  • Bookmark–Windows Powershell Quick Reference Guide

     

     

    Windows PowerShell Quick Reference

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=df8ed469-9007-401c-85e7-46649a32d0e0

  • Bookmark - Lien de téléchargement du manuel de référence WMI (aka WMISDK.CHM)

     

     

    Windows Management Instrumentation Tutorial

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=720F0CAE-64A7-457F-BB95-E4F33E0CBC55&displaylang=en