D(one) IT

IT Tips, Tricks & Such

Monthly Archives: February 2011

Customize Outlook Web App themes in Exchange 2010 sp1

Customizing themes for OWA requires understanding the changes Exchange 2010 sp1 has done with theme management and the addition of new themes.

OWA Theme selection (about 28 themes to choose from):

Customizing all these themes would be painful. Thankfully you can disable users from being able to change OWA themes.

  • Using EMC GUI: Disable the Theme Selection option in the segmentation tab of OWA (Default Web Site) in Client Access under Server Configuration.
  • Using PowerShell:
    set-owavirtualdirectory -identity "<servername>\owa (default web site)" -themeselectionenabled $false 

OWA Theme selection removed:

I’ll be going over modifying an existing theme. Detailed information for creating a new theme can be found: Create a Theme for Outlook Web App

The OWA themes are stored:
\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\<version>\themes\

*Theme location changes as Exchange service packs or rollups are installed. Customizations will need to be copied to the new path after major updates.*

To set the default theme from powershell if not modifying the base theme:

set-owavirtualdirectory -identity "<servername>\owa (default web site)" -defaulttheme NewCustomtheme

Replacing the favicon.ico and the logo used for the signon and signoff screens can be done by replacing the favicon.ico and lgntopl.gif contained in the resources folder:
\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\<version>\themes\resources\

  • favicon.ico (16 x 16)
  • lgntopl.gif (456 x 115)

lgntop1.gif before and after:

Updating the Logo used in OWA is a little harder as it’s contained in a sprite map in the csssprites.png file located:
\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\<version>\themes\<base>

looking at the csssprites.css file located in the same directory as the png shows the logo is 144 x 42:

  • .sprites-logoowa-png{background-image:url(‘csssprites.png’);background-position:-62px 0px;width: 144px;height: 42px;}

When modifying the csssprites.png file remember to keep images the same size and location as the original, otherwise major changes to the csssprites.css will be required.

csssprites.png before and after:

OWA main before and after (Including favicon.ico changes):


Exchange 2010 sp1 Mailbox export to PST

In Exchange 2010, Outlook was required to be installed on the server in order to export a mailbox to PST. This is no longer the case and the MailboxExportRequest commandlet runs without any additional requirements after the install of Exchange 2010 sp1, except the user must have the “Mailbox Import Export” role.


# Export request command
New-MailboxExportRequest -Mailbox "name" -FilePath "\\uncpath\name.pst"

# Check on request status
Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

# Remove request after completion
Get-MailboxExportRequest |Remove-MailboxExportRequest

Exchange 2010 sp1 OWA password reset

Exchange 2010 sp1 contains the reset user password feature in Outlook Web App, but it’s disabled by default. (http://technet.microsoft.com/en-us/library/bb684904.aspx)

To enable this feature, make the following changes on all CAS servers in your environment:

  • In registry editor, navigate to: HLKM\SYSTEM\CurrentControlSet\Services\MSExchange OWA
  • Create or modify the following DWORD entry: ChangeExpiredPasswordEnabled and set the value to 1.

Changes to OWA