locked
Changing default theme...... RRS feed

  • Question

  • Hi,

    I want to change the default theme of the owa installed with esxhange 2007 sp1. I want to change it to zeus or xbox. But can anybody share the power shell command to do so. And pls tell me how to get the identity for the default website as when i run the power shell command i get the error message saying identity not found.

    Thanks.
    Monday, July 13, 2009 4:48 PM

Answers

  • Ok, I dug bit more to findout how to do this....

    Name of the themes are defined in themeinfo.xml file but which contain extra characters, like TM and ® at the end of XBox and Zune so it doesn't work with Powershell. Another option is choose the folder name in which the theme designs (files) are saved. Like for Xbox theme stored into directory '2' and Zune stored into directory name '3'.

    So use below cmdlet to set default theme to Zune, where DefaultTheme paramater is 3 because theme is stored into folder name 3 and pass ThemeSelectionEnableed parameter value to false so it will force the theme to Zune for all users (if it is true then it doesn't show Zune theme by default for users who are logged in to OWA anytime before, but for new users it will take Zune default...)

    Set-OwaVirtualDirectory "owa (default web site)" -DefaultTheme 3 -ThemeSelectionEnabled $false

    IISReset /NoForce

    Hope this helps....

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com RSS

    • Proposed as answer by Amit Tank Tuesday, July 21, 2009 6:14 AM
    • Marked as answer by Dec0der Tuesday, July 21, 2009 6:32 AM
    Tuesday, July 21, 2009 6:14 AM

All replies

  • The following command will set the default theme to themeName and disable the ability to change the theme
    Set-OwaVirtualDirectory

     

     

     

    "CAS\owa (Default Web Site)" -DefaultTheme themeName-ThemeSelectionEnabled:$False

    To determine the theme:
    Get-OWAVirtualDirectory "CAS\owa (Default Web Site)" | Select DefaultTheme,ThemeSelectionEnabled
    • Proposed as answer by Mike Crowley Monday, July 13, 2009 7:52 PM
    Monday, July 13, 2009 5:39 PM
  • Hi,

    The command is showing error that the website identity is not valid..... I have installed exchange in defautl mode and no website customization is done by me.


    Thanks
    Monday, July 20, 2009 5:26 AM
  • Hi,

    Ok thanks i am able to run the command now but still the owa showing default theme... I tried the following command -->

    set-owavirtualdirectory -identity "owa (default web site)" -defaulttheme "xbox"

    The command termianted without any error. But there is no change in owa theme even when i reset the iis.

    Is there something missing in my action.

    Thanks.
    Monday, July 20, 2009 5:36 AM
  • Hi,

    I tried to google for the same but I am not able to get the answer. Many article shows to create custom login page but none of them shows how to set the themes that are provided by exchange itself :-(

    Thanks.
    Monday, July 20, 2009 5:36 PM
  • Ok, I dug bit more to findout how to do this....

    Name of the themes are defined in themeinfo.xml file but which contain extra characters, like TM and ® at the end of XBox and Zune so it doesn't work with Powershell. Another option is choose the folder name in which the theme designs (files) are saved. Like for Xbox theme stored into directory '2' and Zune stored into directory name '3'.

    So use below cmdlet to set default theme to Zune, where DefaultTheme paramater is 3 because theme is stored into folder name 3 and pass ThemeSelectionEnableed parameter value to false so it will force the theme to Zune for all users (if it is true then it doesn't show Zune theme by default for users who are logged in to OWA anytime before, but for new users it will take Zune default...)

    Set-OwaVirtualDirectory "owa (default web site)" -DefaultTheme 3 -ThemeSelectionEnabled $false

    IISReset /NoForce

    Hope this helps....

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com RSS

    • Proposed as answer by Amit Tank Tuesday, July 21, 2009 6:14 AM
    • Marked as answer by Dec0der Tuesday, July 21, 2009 6:32 AM
    Tuesday, July 21, 2009 6:14 AM
  • Hi,

    Yes it worked like a charm...

    Thanks once again for your wonderfull help.....
    Tuesday, July 21, 2009 6:30 AM
  • Kewl... You're welcome!

    I will draft documentation on my blog since this information is not searchable in google... ;)

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com RSS

    Tuesday, July 21, 2009 6:35 AM