MsExchange Blog Spot Telnet25

August 17, 2009

Remove OWA Directories in Exchange 07 for re-creating them

Filed under: General (1) — telnet25 @ 2:33 pm

Whatever reason you have, you needed up wanting to reset the OWA directories and re-create them back here is the KB and PS commands to achieve this goal.

image

To see the directories

KB 941201

Get-OwaVirtualDirectory

 

Remove-owavirtualdirectory "exchange (default web site)"

Remove-owavirtualdirectory "public (default web site)"

Remove-owavirtualdirectory "exchweb (default web site)"

Remove-owavirtualdirectory "owa (default web site)"

 

Re-Create them fallow below

New-owavirtualdirectory "exchange" -owaversion exchange2003or2000 -virtualdirectorytype mailboxes -websitename "default web site"

New-owavirtualdirectory "public" -owaversion exchange2003or2000 -virtualdirectorytype publicfolders -websitename "default web site"

New-owavirtualdirectory "exchweb" -owaversion exchange2003or2000 -virtualdirectorytype exchweb -websitename "default web site"

New-owavirtualdirectory -name "owa" -owaversion exchange2007 -websitename "default web site"

After deleting directories , reinstalling CAS Role will result all the directories to be created.

IF IIS Needs to be removed entirely here is the KB for it kb/320202

Remove IIS

  • In Control Panel, double-click Add or Remove Programs.
  • Click Add/Remove Windows Components.
  • Click Application Server, and then click Details.
  • Click Internet Information Services (IIS), and then click Details.
  • Click to clear the check boxes for all subcomponents except Common Files, click OK two times, and then click Next.
  • Follow the instructions to complete the process.

 

Remove the Client Access Server role
  • In Control Panel, double-click Add or Remove Programs.
  • Click Microsoft Exchange Server 2007, and then click Remove.
  • Follow the instructions in the Exchange Server 2007 Setup Wizard. On the Server Role Selection page, click to clear the Client Access Role check box, and then clickNext.
    Note Do not click to clear the Management Tools check box on this page.
  • Follow the remaining steps in the Exchange Server 2007 Setup Wizard to remove the Client Access Server role

Here is command line to uninstall it

  • Click Start, click Run, type cmd, and then click OK.
  • Use the cd command to change to the following directory:

    drive:\Program Files\Microsoft\Exchange Server\bin

  • Type the following command, and then press ENTER:

    exsetup.exe /mode:uninstall /roles:ca

Here is command line to install it

  • Click Start, click Run, type cmd, and then click OK.
  • Use the cd command to change to the following directory:

    drive:\Program Files\Microsoft\Exchange Server\bin

  • Type the following command, and then press ENTER:

    exsetup.exe /mode:install /roles:ca

oz Casey Dedeal,

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: