How force mailbox disconnection by powershell on Exchange 2010

Posted on 2011-04-26
Last Modified: 2012-05-11

I've some users that connects and disconnects they laptops from our network and sometimes they get stuck to reconnect to the Exchange server as they still have a lot of process open in the exchange server (they didn't disconnect properly). After this, they can't reconnect to the Exchange server, even if I reset the password and put a higher value for the Throttling policy.

So I was wondering if there exists a command in powershell to force the disconnection of a specific user mailbox???

Question by:David_Pazos
    LVL 11

    Accepted Solution

    I think it's possible you have a client issue instead of a server issue.

    What do you do to make the access work again?

    I saw some cases where some users can't access the server. Those cases were related to the TCP Offload Engine. First, make sure your network card driver is updated. If it is and the problem persists, try disabling the TOE:

    Information about the TCP Chimney Offload, Receive Side Scaling, and Network Direct Memory Access features in Windows Server 2008

    To see if it's turned on:

    netsh int tcp show global

    To disable it:

    netsh int tcp set global chimney=disabled

    To enable it:

    netsh int tcp set global chimney=enabled

    There's no need to restart the server.

    Author Comment

    Hi thanks for your message

    In fact, it happens randomly to different users... They can't have access anymore to outlook and the only way to connect them back again is to wait 1h approx... and then, they can have access again.

    All users are in a different domain than the exchange (we're merging progressivelly) and they're all in Outlook 2003 SP3. I was wondering if they could be a simple command to close the connectiosn to the server.

    if I do a Get-Mailboxstatistics -Identity "username" | fl applicationid

    I got a lot of MSExchange RPC connections and the user is not connected anymore... and as soon as they aren't anymore, we can connect it again...

    About your suggestion regarding the Chimney, what are the implications by deactivating that??? What is it used for?

    LVL 11

    Expert Comment

    by:Renato Montenegro Rustice
    The TOE (or Chimney) is used to delegate some workload to the network card. If disabled, you can have some increase in the processor load, for example. I never noted anything when it's disabled. The good thing is that you can quickly enable it if you think it didn't solve your problem.

    Author Comment

    Hi, I didn't had time yet to check that but I'll do it asap and I'll let you know.
    thx for the infos.

    Author Comment

    I just did the modification, I keep you posted soon if I see any changes.

    Kind Regards,
    PS I added extra memory in the meantime to the server and it seems to be stabilized since then... but we will see if there is any improvement anyway or not.

    Author Closing Comment


    seems that your solution did the trick for my problem.

    Have a good week end.

    Kind Regards

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Use email signature images to promote corporate certifications and industry awards.
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
    To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now