<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sheenaustin.com &#187; Virtual Directories</title>
	<atom:link href="http://www.sheenaustin.com/tag/virtual-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheenaustin.com</link>
	<description>my home on the interweb</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Exchange 2007 Recreate OWA folders</title>
		<link>http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/</link>
		<comments>http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 18:45:47 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Exchange Server 2007]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OWA]]></category>
		<category><![CDATA[Virtual Directories]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/</guid>
		<description><![CDATA[If you face an issue where OWA in Exchange 2007 stops working, there is a pretty cool powershell command you can run to recreate the OWA virtual directory. The following commands will get you going: This command will list all the current virtual directories. Get-OwaVirtualDirectory This command will delete the “owa” virtual directory under the [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/' rel='bookmark' title='Permanent Link: Diskpart.exe Warning when expanding drive'>Diskpart.exe Warning when expanding drive</a></li>
<li><a href='http://www.sheenaustin.com/2009/11/18/kb974571-and-ocs-2007/' rel='bookmark' title='Permanent Link: KB974571 and OCS 2007'>KB974571 and OCS 2007</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you face an issue where OWA in Exchange 2007 stops working, there is a pretty cool powershell command you can run to recreate the OWA virtual directory. The following commands will get you going:</p>
<p>This command will list all the current virtual directories.</p>
<blockquote><p><strong>Get-OwaVirtualDirectory</strong></p>
</blockquote>
<p>This command will delete the “owa” virtual directory under the Default Web Site.</p>
<blockquote><p><strong>Remove-OwaVirtualDirectory -identity &quot;owa (Default Web Site)&quot;</strong></p>
</blockquote>
<p>This command will re-create the “owa” virtual directory under the Default Web Site.</p>
<blockquote><p><strong>New-OWAVirtualDirectory -OWAVersion &quot;Exchange2007&quot; -Name &quot;owa (Default Web Site)&quot;</strong></p>
</blockquote>
<p>When you run this command, if you get an error as follows, it is possible that IIS is set to work in the 32 bit mode and not the required 64 bit mode.</p>
<p>New-OwaVirtualDirectory : An error occurred while creating the IIS virtual directory &#8216;IIS://mailserver.somewhere.com/W3SVC/1/ROOT/owa&#8217; on &#8216;mailserver&#8217;.    <br />At line:1 char:24     <br />+ New-OWAVirtualDirectory&#160; &lt;&lt;&lt;&lt; -OWAVersion &quot;Exchange2007&quot; -Name &quot;owa&quot; -Website &quot;Default Web Site&quot;</p>
<p>To make IIS work in the 64 bit mode, you need to run the following command:</p>
<blockquote><p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0</p>
</blockquote>
<p>Just in case you do not have the adsutil.vbs script in your adminscripts folder, you can download it from here.</p>
<p>Drop me a line to let me know if this post has helped you!</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/' rel='bookmark' title='Permanent Link: Diskpart.exe Warning when expanding drive'>Diskpart.exe Warning when expanding drive</a></li>
<li><a href='http://www.sheenaustin.com/2009/11/18/kb974571-and-ocs-2007/' rel='bookmark' title='Permanent Link: KB974571 and OCS 2007'>KB974571 and OCS 2007</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
