How To Make Outlook Web App 2010 Go Back To The Logon Page When You Log Out

[ 2 ] Comments

If you are using Outlook Web Access with several accounts, it can be quite annoying to have to log out, close the browser window, restart your browser, and log in again. Sometimes, you’d just prefer it if the Sign Out link just took you to the Forms-Based Authentication logon page again.

There is a way to do this, but it requires you to edit one of the server-side .aspx files. Also, note that it will affect all your users. It is also, of course, not supported by Microsoft.

If you want to try it, locate the logoff.aspx file in
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth
Make a backup copy (in case something goes wrong), and open it in Notepad. Press F3 to search for the text window.onload. You should find it on a line like this:

window.onload = chkAuth;

Immediately after that line, insert another line:

window.location.href = "/owa/";

and save the file back to disk. You should now find that clicking the Sign Out link takes you back to the logon page, instead of displaying the Close Browser popup.

As with all of these modifications, you will need to make sure that they are still in place after each Service Pack and Rollup. Sometimes the existing files get replaced with new ones.

2 Responses to How To Make Outlook Web App 2010 Go Back To The Logon Page When You Log Out

  1. leemutpo says:

    Hi there, i followed the info to add window.location.href = “/owa/”; in exchange2013′s logoff.aspx file, unfortunately somehow it didn’t work on my exchange 2013 with cu6.

    Wondering if this tricks can work on excahgne2013 or not? Many thx!

    • admin says:

      I don’t often have access to E2013, so I can’t say right now, but it ought to work. If you look at the page source in your browser once the logoff.aspx page has loaded, do you see the code you added?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>