<?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>ukstokes.com &#187; Exchange</title>
	<atom:link href="http://ukstokes.com/blog/category/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://ukstokes.com/blog</link>
	<description>tech stuff from a tech bloke</description>
	<lastBuildDate>Sun, 29 Apr 2012 19:13:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Exchange mailbox store restores</title>
		<link>http://ukstokes.com/blog/2008/10/16/exchange-mailbox-store-restores/</link>
		<comments>http://ukstokes.com/blog/2008/10/16/exchange-mailbox-store-restores/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 10:12:45 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=104</guid>
		<description><![CDATA[This week I've had to refresh my memory with something I've not done in a long time. I had to recover a mailbox store for an urgent mailbox restore, but in this case the server that was the home of the mailbox at the date they wanted had been decommissioned long ago. This presents a [...]]]></description>
			<content:encoded><![CDATA[<p>This week I've had to refresh my memory with something I've not done in a long time. I had to recover a mailbox store for an urgent mailbox restore, but in this case the server that was the home of the mailbox at the date they wanted had been decommissioned long ago. This presents a problem with a) the recovery storage group, as the 'add database to recover' dialog will not show the store, and b) backup exec, which wants to log on to the old server for some reason! This is how it was done (our servers are all Exchange 2003 SP2 (native mode) and backup exec is 11d).</p>
<p>Also for a quick sanity check before kicking off the restore I had checked the database tab on all the stores, just to check 'this database can be overwritten by a restore' was not checked.</p>
<p>For an older Exchange restore (Exchange 5.5) you would need a temporary server to rebuild to replicate your old 5.5 environment.</p>
<p><strong>Starting up</strong></p>
<p>1.    Recall the tape!<br />
2.    Inventory the drive and catalog the tape. Note the mailbox store name that contains your target mailbox.<br />
3.    On the server you are using for recovery, create the recovery storage group (this can have any name, just ensure there is enough disk space for the database files where you create it)<br />
4.    Say for example the store you need to recover is called “Mailbox Store 1 (SVHEXBETEMP01)”. Obviously when you right click on the RSG and select “add database to recover”, this database will not be in the list. To get around this, you have to create a new mailbox store that has this name. You can do this on any server in your org. The name has to match exactly with the store you are recovering.<br />
5.    Now right click on the RSG and select ‘add database to recover’ and add the new store.<br />
6.    Go back to Backup Exec. Click Restore -  new restore job (not by wizard)<br />
7.    Change beginning backup date as required.<br />
8.    View by resource, and drill down to the required store<br />
9.    Under Microsoft Exchange Redirection, check ‘Redirect Exchange sets’. Enter the server name to redirect to<br />
10.    Under Microsoft Exchange, select ‘Restore all transaction logs until point-in-time; skip transaction logs after this time’<br />
11.    Change path for storage of temporary files to a volume that has plenty of free space.<br />
12.    Uncheck mount database after restore.<br />
13.    Run now!</p>
<p><strong>Restoring the mailbox</strong></p>
<p>1.    If the mailbox you are restoring still exists in your org, migrate the mailbox to your new store (e.g. “Mailbox Store 1 (SVHEXBETEMP01)”)<br />
2.    If they mailbox does not exist, create one with the same name in this store.<br />
3.    In the RSG, right click on the target mailbox and use the recovery option. Select the target (you probably will not be able top modify this option)<br />
4.    Copy option is safer than Merge.<br />
5.    Now you can use ExMerge to extract the PST, or just tell the user their data has been recovered.</p>
<p><strong>Cleaning up</strong></p>
<p>1.    Migrate the user back to their original location.<br />
2.    Delete the temporary mailbox store.<br />
3.    Delete the recovered mailbox store and recovery storage group.<br />
4.    Delete the database files from disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2008/10/16/exchange-mailbox-store-restores/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Implement an Exchange 2003 front end NLB cluster</title>
		<link>http://ukstokes.com/blog/2007/06/16/implement-an-exchange-2003-front-end-nlb-cluster/</link>
		<comments>http://ukstokes.com/blog/2007/06/16/implement-an-exchange-2003-front-end-nlb-cluster/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 11:56:27 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows Servers]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=68</guid>
		<description><![CDATA[There are a few sites that explain how to implement this high availability solution: http://searchexchange.techtarget.com/origi... http://www.msexchange.org/tutorials/Imp... However when I tried this way I kept getting IP address conflicts. This is how I did it instead: Configure OWA on both front end servers with the same certificate Make sure Exchange patches are consistent on both cluster [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few sites that explain how to implement this high availability solution:</p>
<p><a href="http://searchexchange.techtarget.com/originalContent/0,289142,sid43_gci1179397,00.html">http://searchexchange.techtarget.com/origi...</a><a href="http://searchexchange.techtarget.com/originalContent/0,289142,sid43_gci1179397,00.html"></a><br />
<a href="http://www.msexchange.org/tutorials/Implementing-High-Availability-OWA-Network-Load-Balancing.html">http://www.msexchange.org/tutorials/Imp...</a></p>
<p>However when I tried this way I kept getting IP address conflicts. This is how I did it instead:</p>
<ul>
<li>Configure OWA on both front end servers with the same certificate</li>
<li>Make sure Exchange patches are consistent on both cluster nodes</li>
<li>Create DNS A record for cluster IP address</li>
<li>If either server is created from an image (or vmware template), remove and reinstall network cards as per <a href="http://support.microsoft.com/kb/828258">KB828258</a></li>
</ul>
<p>I then configured the cluster (including IP configuration on each node) using Network Load Balancing Manager from my workstation. If you use this tool to create clusters, you have to do it remotely as the cluster IP will have the same MAC Address across all nodes, and as this is configured it breaks the connectivity between the nodes.</p>
<ul>
<li>Open Network Load Balancing Manager (Start - Administrative Tools - NLB Manager)</li>
<li>Cluster  - New</li>
<li>Enter cluster IP address, subnet mask, and the DNS name you created earlier</li>
<li>Select Unicast mode, leave 'Enable remote control' unticked</li>
<li>Do not enter additional IP addresses or Port rules</li>
<li>On final step, add the server that will become the first node in the cluster</li>
</ul>
<p>When you click on Finish, NLB Manager will configure the NLB protocol and add the cluster IP address to the node. If this is successful you can then add further nodes by right-clicking the cluster name and selecting "Add node to cluster". You will notice that the NLB Manager automatically changes the priority of the new node as it is being added.</p>
<p style="text-align: center;"><a title="Network Load Balancing Manager on Windows 2003" rel="lightbox" href="http://ukstokes.com/blog/wp-content/uploads/2007/06/cluster.jpg"><img src="http://ukstokes.com/blog/wp-content/uploads/2007/06/cluster.jpg" alt="NLB Manager" width="171" height="86" /><br />
<em>Windows 2003 NLB Manager</em></a></p>
<p>Final step is to then open IIS Manager on each cluster node and bind the cluster IP address to the OWA website.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/Network+Load+Balancing" rel="tag"> Network Load Balancing</a>, <a href="http://technorati.com/tag/NLB" rel="tag"> NLB</a>, <a href="http://technorati.com/tag/Clustering" rel="tag"> Clustering</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2007/06/16/implement-an-exchange-2003-front-end-nlb-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 links</title>
		<link>http://ukstokes.com/blog/2007/05/09/exchange-2007-links/</link>
		<comments>http://ukstokes.com/blog/2007/05/09/exchange-2007-links/#comments</comments>
		<pubDate>Wed, 09 May 2007 07:26:48 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=61</guid>
		<description><![CDATA[Time to to start seriously looking at Exchange 2007. Realistically I won't be in a position to start an install until the end of the year but there is plenty of prep work and reading to do before any kit can be ordered. I did have a brief play with an early beta of E12 [...]]]></description>
			<content:encoded><![CDATA[<p>Time to to start seriously looking at Exchange 2007. Realistically I won't be in a position to start an install until the end of the year but there is plenty of prep work and reading to do before any kit can be ordered. I did have a brief play with an early beta of E12 but the GUI was only half present and some features were either missing or only available using powershell, which was not well documented at the time.</p>
<p>Here's a few notable links so far:</p>
<ul>
<li>Exchange Server 2007 Processor and Memory Recommendations<br />
<a href="http://www.microsoft.com/technet/prodtechnol/exchange/2007/plan/hardware.mspx">http://www.microsoft.com/technet/...</a></li>
<li>Exchange Server 2007 technical documentation<br />
<a href="http://technet.microsoft.com/en-us/library/bb124558.aspx">http://technet.microsoft.com/en-us/library/bb124558.aspx</a></li>
<li>Guidance on Active Directory design for Exchange Server 2007<br />
<a href="http://msexchangeteam.com/archive/2007/03/28/437313.aspx">http://msexchangeteam.com/archive/2007/03/28/437313.aspx</a></li>
<li>Active Directory Performance for 64-bit Versions of Windows Server 2003<br />
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=52e7c3bd-570a-475c-96e0-316dc821e3e7&amp;DisplayLang=en">http://www.microsoft.com/downloads/details...</a></li>
<li>Transitioning from Exchange 2003 to Exchange 2007 (useful but a bit brief in places)<br />
<a href="http://www.msexchange.org/tutorials/Transitioning-Exchange-2000-2003-Exchange-Server-2007-Part1.html">http://www.msexchange.org/tutorials/...</a></li>
<li>Exchange Best Practice Analyser (includes Exchange 2007 readyness check)<br />
<a href="http://technet.microsoft.com/en-us/exchange/2003/bb288481.aspx">http://technet.microsoft.com/en-us/exchange/2003/bb288481.aspx</a></li>
<li>Discussion on Exchange 2007 and Public Folders<br />
<a href="http://msexchangeteam.com/archive/2006/02/20/419994.aspx">http://msexchangeteam.com/archive/2006/02/20/419994.aspx</a></li>
<li>Discussion on Exchange 2007 and Blackberry Enterprise Server<br />
<a href="http://www.blackberryforums.com/bes-admin-corner/63541-testing-exchange-2007-a.html">http://www.blackberryforums.com/bes-admin-...</a></li>
</ul>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2007" rel="tag">Exchange 2007</a>, <a href="http://technorati.com/tag/E12" rel="tag"> E12</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2007/05/09/exchange-2007-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2003 titbits</title>
		<link>http://ukstokes.com/blog/2006/11/23/exchange-2003-titbits/</link>
		<comments>http://ukstokes.com/blog/2006/11/23/exchange-2003-titbits/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 13:50:55 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=33</guid>
		<description><![CDATA[I know I am so behind the times, blogging about Exchange 2003 whilst Microsoft are busy readying Exchange 2007 for it's upcoming release. But for the moment, it's what I will be working with now and in the immediate future. My company has no plans to move forward with the cutting edge, and I don't [...]]]></description>
			<content:encoded><![CDATA[<p>I know I am so behind the times, blogging about Exchange 2003 whilst Microsoft are busy readying Exchange 2007 for it's upcoming release. But for the moment, it's what I will be working with now and in the immediate future. My company has no plans to move forward with the cutting edge, and I don't blame them for not rushing in.</p>
<p>So, here are some handy Exchange 2003 hints for the day:</p>
<p>First, how to enable to the security tab when viewing the properties of the organisation in ESM. It's something I've needed to do from time to time, when the 'delegate control' wizard is not quite refined enough:</p>
<ul>
<li>Use Registry Editor to find this key in the registry:<br />
HKEY_CURRENT_USER\Software\Microsoft\Exchange\EXAdmin</li>
<li>Add a DWord Value, with the name ShowSecurityPage and a value of 1</li>
<li>Quit Registry Editor</li>
<li>Restart ESM</li>
</ul>
<p><a href="http://support.microsoft.com/kb/264733" target="_blank"><span style="color: #669966;">Enable Security tab for organisation object in ESM</span></a></p>
<p>Second tip for the day - when working with public folder permissions, if you hold down the CTRL key while clicking on the "Client Permissions" button, it will bring up a traditional security dialog box rather than the usual folder permissions box. You can then use this to view Advanced security permissions, and be more explicit when setting the permissions for the folder.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/Public+Folder+permissions" rel="tag"> Public Folder permissions</a>, <a href="http://technorati.com/tag/ESM" rel="tag"> ESM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/11/23/exchange-2003-titbits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to migrate messages between 2 mailboxes</title>
		<link>http://ukstokes.com/blog/2006/09/05/how-to-migrate-messages-between-2-mailboxes/</link>
		<comments>http://ukstokes.com/blog/2006/09/05/how-to-migrate-messages-between-2-mailboxes/#comments</comments>
		<pubDate>Tue, 05 Sep 2006 15:42:55 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=21</guid>
		<description><![CDATA[ExMerge is probably one of the exchange administrators most used tools, but is a pain to use if you are working with large mailboxes, as it uses Outlook 2000 PST files which corrupt when they reach 2Gb. ExMerge also does not work with Outlook 2003 PST's ... I'm sure (and really hope ) this will [...]]]></description>
			<content:encoded><![CDATA[<p>ExMerge is probably one of the exchange administrators most used tools, but is a pain to use if you are working with large mailboxes, as it uses Outlook 2000 PST files which corrupt when they reach 2Gb. ExMerge also does not work with Outlook 2003 PST's ... I'm sure (and really hope ) this will be addressed in Exchange 2007.</p>
<p>So, if you find yourself in a situation where you want to move the contents of a 10Gb mailbox to a another mailbox, and you don't have any tools such as <a href="http://www.sherpasoftware.com/MAEOverview.shtml" target="_blank">Mail Attender</a> for Exchange that can do it for you, you have to run ExMerge several times using date ranges to ensure the PST's don't exceed the 2Gb limit.</p>
<p>In my particular situation, I have a folder in a mailbox containing 300,000 items that I want to move to a journal mailbox to be picked up by a mail archiving system. I can't move them across manually using Outlook, because it fails when you drag and drop more than 2000 items, and trying to navigate around such a massive mailbox anyway is too slow to mention.</p>
<p>One of the vb experts here helped me write a macro to complete this task. It can be run from the Visual Basic Editor in Outlook. To run it use Tools - Macros - Visual Basic Editor, and click Yes to enable macros. Modify the code below so that Mailbox 1 and Mailbox 2 match the names of the mailboxes you are working on. Mailbox 1 is the source mailbox, and Mailbox 2 is the destination. You must then open both of these mailboxes in your Oulook profile before you start the macro.</p>
<pre class="brush: vb; title: ; notranslate">Sub move_messages()

Dim objExch2003 As Outlook.MAPIFolder, objErrors As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder, objJournal As Outlook.MAPIFolder, objJournalInbox As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace, intcount As Integer, i As Integer, objMailItem As Object
Set objNS = Application.GetNamespace(&quot;MAPI&quot;)
Set objExch2003 = objNS.Folders(&quot;Mailbox - Mailbox 1&quot;)
Set objJournal = objNS.Folders(&quot;Mailbox - Mailbox 2&quot;)
Set objInbox = objExch2003.Folders(&quot;Inbox&quot;)
Set objJournalInbox = objJournal.Folders(&quot;Inbox&quot;)
Set objErrors = objInbox.Folders(&quot;Errors&quot;)

Do While objErrors.Items.Count &amp;gt; 0

For i = 100 To 1 Step -1
Set objMailItem = objErrors.Items(i)
objMailItem.Move objJournalInbox
Next

Loop

End Sub</pre>
<p>After you start it your Outlook will appear to crash - this is normal and it is really working in the background. You can use ESM to watch the number of items decrease in Mailbox 1 and increase in Mailbox 2.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Outlook+2003" rel="tag">Outlook 2003</a>, <a href="http://technorati.com/tag/PST" rel="tag"> PST</a>, <a href="http://technorati.com/tag/Macros" rel="tag"> Macros</a>, <a href="http://technorati.com/tag/ExMerge" rel="tag"> ExMerge</a>, <a href="http://technorati.com/tag/Exchange+2003" rel="tag"> Exchange 2003</a>, <a href="http://technorati.com/tag/Exchange+Administration" rel="tag"> Exchange Administration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/09/05/how-to-migrate-messages-between-2-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting unwanted public folder stores</title>
		<link>http://ukstokes.com/blog/2006/08/22/deleting-unwanted-public-folder-stores/</link>
		<comments>http://ukstokes.com/blog/2006/08/22/deleting-unwanted-public-folder-stores/#comments</comments>
		<pubDate>Tue, 22 Aug 2006 09:03:43 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=11</guid>
		<description><![CDATA[In Exchange 2003 it is impossible to delete a public folder store if it contains replicas. However, this can cause a problem - even if your public store has just been created and is completely empty, you can sometimes receive this error message: You cannot delete this public folder store because it contains folder replicas. [...]]]></description>
			<content:encoded><![CDATA[<p>In Exchange 2003 it is impossible to delete a public folder store if it contains replicas. However, this can cause a problem - even if your public store has just been created and is completely empty, you can sometimes receive this error message:</p>
<blockquote><p>You cannot delete this public folder store because it contains folder replicas. To avoid data loss, right click the public folder store and use Move All Replicas to move the replicas to a different server. It may take several hours until the content is replicated to the new server and the local replicas are removed.</p></blockquote>
<p>Of course using the 'move all replicas' option does nothing to relieve you from this message, if your public store is empty.</p>
<p>To <em>cleanly</em> remove the store (i.e. without using adsiedit) you first need to remove 2 system generated public folders inside the store. If you expand your public folder store and click on Public Folder Instances, you will see the folders you need to remove in there - <strong>globalevents</strong> and <strong>OWAScratchPad</strong>, but, you can't remove them from this part of the interface. You will need to expand the Folder tree at the bottom of your Administrative Group and View System Folders. Right-click on the top level of the tree and "Connect to..." the server with the public store you want to delete. Find and examine the globalevents folder.</p>
<p>Now, you need to be extremely careful that you have the correct system folders here, because each public store contains system folders with these names. To be sure you have the right one, check the path and it should be something like:</p>
<pre class="brush: plain; title: ; notranslate">/NON_IPM_SUBTREE/StoreEvents{BHH7CC57-934F-4CD9-ACC5-A8BC080A1423}/globalevents/</pre>
<p>Go back to your 'public folder instances' view on the public store from earlier and check the folder properties. If the path matches this name EXACTLY, it is the right system folder and therefore OK to delete. Follow the same procedure for the OWAScratchPad folder and you should see the remaining system folders vanish, and then you can remove the store. Voila!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/Public+Folders" rel="tag"> Public Folders</a>, <a href="http://technorati.com/tag/Exchange+Admin" rel="tag"> Exchange Admin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/08/22/deleting-unwanted-public-folder-stores/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange Patching, and KB911829</title>
		<link>http://ukstokes.com/blog/2006/08/17/exchange-patching-and-kb911829/</link>
		<comments>http://ukstokes.com/blog/2006/08/17/exchange-patching-and-kb911829/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 09:18:41 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=18</guid>
		<description><![CDATA[I recently added a new server to my company's org. After installing Exchange 2003 and SP2 for Exchange, I ran Microsoft update and brought everything up to date and started moving mailboxes across to it on that night. The next day I started getting complaints that OWA was not working for some users. I quickly [...]]]></description>
			<content:encoded><![CDATA[<p>I recently added a new server to my company's org. After installing Exchange 2003 and SP2 for Exchange, I ran Microsoft update and brought everything up to date and started moving mailboxes across to it on that night. The next day I started getting complaints that OWA was not working for some users. I quickly realised the affected users were all on the new server. I checked and all of the IIS websites were configured in the same way, and the HTTP server in ESM was set up identically across all servers. After rebooting the server out of hours and <a href="http://support.microsoft.com/kb/883380/en-us">resetting the IIS websites</a>, I made a small amount of progress and via the front-end I could get it to start loading 'basic version' before giving up half way through. This is how it looked:</p>
<p><a title="OWA Having a bad day." href="http://ukstokes.com/images/owaproblem.JPG" target="_blank"><img src="http://ukstokes.com/images/owaproblem.JPG" alt="" width="319" height="188" /></a></p>
<p>Not very pretty eh ... Going directly through the back-end though, it worked perfectly.</p>
<p>After some more investigation and following a hunch, I moved my mailbox to a test server (where my mailbox worked through OWA) and started looking at Windows updates that were available for the test server, that were already installed on the new server. Through some testing I eventually found that if <a href="http://support.microsoft.com/kb/911829">KB911829</a> is installed on the back-end but not the front-end, it will break OWA for users on that server. The fix is simple - remove the patch, or update all the Exchange servers with the same patches.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/KB911829" rel="tag"> KB911829</a>, <a href="http://technorati.com/tag/Exchange+Admin" rel="tag"> Exchange Admin</a>, <a href="http://technorati.com/tag/OWA" rel="tag"> OWA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/08/17/exchange-patching-and-kb911829/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline defrags in Exchange 2003</title>
		<link>http://ukstokes.com/blog/2006/08/08/offline-defrags-in-exchange-2003/</link>
		<comments>http://ukstokes.com/blog/2006/08/08/offline-defrags-in-exchange-2003/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 11:35:18 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=13</guid>
		<description><![CDATA[There seem to be 2 schools of thought on offline defrags. Some say they should be performed at regular intervals to ensure the integrity of your exchange databases, whereas others say they are a risky procedure that should be undertaken carefully and only when absolutely necessary. So, what is the recommended practice? Event 1221 in [...]]]></description>
			<content:encoded><![CDATA[<p>There seem to be 2 schools of thought on offline defrags. Some say they should be performed at regular intervals to ensure the integrity of your exchange databases, whereas others say they are a risky procedure that should be undertaken carefully and only when absolutely necessary. So, what is the recommended practice?</p>
<p>Event 1221 in the application log will show how much white space exists in your exchange databases. This appears once per mailbox store at the end of the online maintenance period:</p>
<blockquote><p>Event Type: Information<br />
Event Source: MSExchangeIS Mailbox Store<br />
Event Category: General<br />
Event ID: 1221<br />
Date:  08/08/2006<br />
Time:  06:00:02<br />
User:  N/A<br />
Computer: S05010025<br />
Description:<br />
The database "1st Storage Group\Mailbox Store (S05010025)" has 39368 megabytes of free space after online defragmentation has terminated.</p></blockquote>
<p>Personally I would not worry about a few gigs of white space as it will be reclaimed fairly quickly. As WAN and Broadband links become stronger, Exchange is more abused as a method of sending and storing large files. 40Gb of free space (as above) is worth reclaiming though. Bringing the database size down by 40Gb will significantly reduce the backup, and more importantly, restore times, and reduce the number of tapes used from week to week (and therefore the overall cost of Exchange to your company). There are a few other instances where you might carry out an offline defrag:</p>
<ul>
<li>When your mailbox indexing is completely hosed</li>
<li>If your disks are extremely fragmented, and your server is too busy during the online defrag period to make much difference.</li>
</ul>
<p>In my last company, users were using public folder trees as a ‘check in, check out’ document management system. This caused very heavy fragmentation of the database until we moved the folder trees to their own server which had more spindles.</p>
<p>Before launching an offline defrag, make sure you have a good backup of your store. Also ensure you have enough free space on your drive (110% of the size of your store). Then dismount it (there is no need to stop the information store service), and open a command prompt window to issue the commands:</p>
<p>eseutil /d e:\path\to\priv1.edb /s e:\path\to\priv1.stm</p>
<p>Note: by default it will create temp files on your C: drive and these could potentially get very large. If you don't have a large C: drive, use the /t and /f switches to specify the locations for your temporary files.</p>
<p>eseutil /d e:\path\to\priv1.edb /s e:\path\to\priv1.stm /t F:\temp\temp.edb /f F:\temp\temp.stm </p>
<p>You should see something like this:</p>
<blockquote><p>Microsoft(R) Exchange Server Database Utilities<br />
Version 6.5<br />
Copyright (C) Microsoft Corporation. All Rights Reserved.</p>
<p>Initiating DEFRAGMENTATION mode...<br />
Database: priv1.edb<br />
Streaming File: priv1.stm<br />
Temp. Database: TEMPDFRG3940.EDB<br />
Temp. Streaming File: TEMPDFRG3940.STM</p>
<p>Defragmentation Status (% complete)</p>
<p>0    10   20   30   40   50   60   70   80   90  100<br />
|----|----|----|----|----|----|----|----|----|----|<br />
.................</p></blockquote>
<p>Remember to mount your store again once the defrag has finished. If it has worked you should see a message like this one:</p>
<blockquote><p>Moving 'TEMPDFRG3940.EDB' to 'priv1.edb'... DONE!</p>
<p>Moving 'TEMPDFRG3940.STM' to 'priv1.stm'... DONE!</p>
<p>Note:<br />
It is recommended that you immediately perform a full backup<br />
of this database. If you restore a backup made before the<br />
defragmentation, the database will be rolled back to the state<br />
it was in at the time of that backup.</p>
<p>Operation completed successfully in 5210.484 seconds.</p></blockquote>
<p>In this instance it took 1 hour and 26 minutes to defrag a 23Gb database file.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/Exchange+Admin" rel="tag"> Exchange Admin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/08/08/offline-defrags-in-exchange-2003/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to purge an orphaned mailbox</title>
		<link>http://ukstokes.com/blog/2006/08/07/how-to-purge-an-orphaned-mailbox/</link>
		<comments>http://ukstokes.com/blog/2006/08/07/how-to-purge-an-orphaned-mailbox/#comments</comments>
		<pubDate>Mon, 07 Aug 2006 11:05:57 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=12</guid>
		<description><![CDATA[Sometimes things can go wrong during a mailbox migration which will cause a mailbox to be orphaned. Things like a network link going down or the migration hanging on "Saving changes to the directory". If you have to forcibly terminate the migration task, you may find yourself left with an orphaned (disconnected) mailbox on the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes things can go wrong during a mailbox migration which will cause a mailbox to be orphaned. Things like a network link going down or the migration hanging on "Saving changes to the directory". If you have to forcibly terminate the migration task, you may find yourself left with an orphaned (disconnected) mailbox on the destination server. Then, when you try to purge the mailbox, you may receive this message:</p>
<blockquote><p>ID no: c1034ad6<br />
The operation cannot be performed because this mailbox was already reconnected to an existing user.</p></blockquote>
<p>Here are some of your options:</p>
<p>Try migrating the mailbox again to the same destination. Exchange should know the orphan exists from a failed mailbox move and will automatically purge it, and attempt the move again. This does not always not work though.</p>
<p>Another alternative, is use ESM to have a look at the mailbox store properties on the store with the disconnected mailbox. On the Limits tab, do you have a check mark next to "Do not permanently delete mailboxes and items until the store has been backed up"? If you do, try backing up the store and purging the mailbox again.</p>
<p>Here's the final option (which worked for me) if all else fails, and you should ensure you have a recent backup of your stores before doing this. Using ADUC, find the other mailbox in your organisation that has the same display name as your disconnected mailbox. Right click on the user and use the Exchange tasks wizard to delete the mailbox from that user. Now go back into ESM and run the cleanup agent on your stores, and both mailboxes will be in a disconnected state. You will then be able to purge the orphan you want to get rid of. Next you should simply be able to right-click on the remaining orphan mailbox in ESM and use the 'reconnect' option, and specify the user account the orphan belongs to.</p>
<p><em>Edit</em>: One more method as suggested below is setting the "Keep deleted mailboxes" option to 0 days and then running the cleanup agent on that mailbox store. Judging by more recent comments this seems to do the trick. Thanks Mike!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Exchange+2003" rel="tag">Exchange 2003</a>, <a href="http://technorati.com/tag/Exchange+Admin" rel="tag"> Exchange Admin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2006/08/07/how-to-purge-an-orphaned-mailbox/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

