Bypass The Language And Timezone Selection Page In Microsoft Exchange Server 2010 Outlook Web Access

Leave a comment
Share

There was an interesting question in the Exchange Zone at experts-exchange recently. An admin wanted to bypass the Language and Time Zone selection page that pops up the first time you use OWA 2010, and have the server automatically choose the default values for you. Now, you can’t bypass the page completely, because the page configures some important mailbox properties when it has been submitted; but it is possible to get the the page to automatically submit itself as soon as it has appeared. If you want to try it, read on…

First, locate the languageselection.aspx file in C:\Program Files\Microsoft\Exchange Server\v14\ClientAccess\Owa . Make a backup copy, then open it in Notepad. Press F3 to search for the text <body. You should find a line like this:

  <body rtl" : ""%>">

To get the page to automatically submit itself, change that line to look like this:

  <body rtl" : ""%>" onload="frmSbmt();">

It’s also a good idea to disable the OK button, so that your users don’t get the chance to submit the form by themselves. Search for the text btnOK, and you should find a block like this (I’ve shortened some of the lines here):

  <input id=btnOk type=button value=...
          onmouseover="this.className='btnOnMseOvr'" onmouseout=...
  <% } %>
  <% else { %>
  <input id=btnOk type=button value=...

Insert the word disabled after the words input, like this to disable the button:

  <input disabled id=btnOk type=button value=...
          onmouseover="this.className='btnOnMseOvr'" onmouseout=...
  <% } %>
  <% else { %>
  <input disabled id=btnOk type=button value=...

As with most of these type of modifications, you will need to check that they still function after each product update. Sometimes your modified file will be replaced by a new one from the update.





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>