How to disconnect active OWA sessions?

Posted on 2010-11-11
Last Modified: 2012-05-10
Is there a way to immediately disable a users OWA session with Exchange 2007?
For example, if a remote user is terminated from the company but
has an active OWA session, how can you prevent them from being able to
continue working with this open OWA session? Can I cut off the session from
IIS?  IISRESET?  Has Anyone dealt with this before?

Scenario -  User gets terminated, I reset his PW, disable his AD account and move it into a disabled OU.  I then go into exchange and turn off OWA and other features of the users mailbox.  The user at this point is connected through RWW and logged into OWA.  1 hour after being terminated he's still sending emails to the company.

Question by:LifeFlight-IT
  • 3
  • 3
LVL 49

Accepted Solution

Akhater earned 500 total points
ID: 34112430
iisreset will surely do it however I never had this requirement before

but I doubt that the change password will be immediate so he might be able to still log for some time (maybe a min or 2 if you have a small network)

how are you making owa accessible ? if you are using ISA or TMG then you can deny the users on the rule


Author Comment

ID: 34112551
I have never run into this either.  I've never had an IISRESET as part of an employee departure process.
The user was connected over Remote Web Workplace which basically gives him a link to webmail and intranet.
LVL 51

Expert Comment

by:Keith Alabaster
ID: 34113953
The user still has to get through your firewall - that would be the point to terminate the session connection rather than an iisReset which has a much bigger impact to all users rather than just this one.
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.

LVL 49

Expert Comment

ID: 34118249
Do you have ISA or TMG or any other kind of firewall/reverse proxy that authenticates the user ?

Author Comment

ID: 34120889
I use Sonicwall TZ190.  The users come through RWW and authenticate through that, and not the FW.
LVL 49

Expert Comment

ID: 34120921
then I think there is no "smooth" way to do it


Author Comment

ID: 34120958
Since this termination was the exception and not the rule I think if it happens a again a quick IISRESET will do the trick.  I ran a test yesterday where I was logged into OWA, I disabled the users account, I then started to send email as this test user and all was working fine, I ran the IISRESET and then tried to send another email as the disabled user and "NO GO".  Once the web services came back online, the test user was forced to log in again and no go.  


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a mailbox database 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 Servers >> Data…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

910 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

21 Experts available now in Live!

Get 1:1 Help Now