<?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>..::\\ www.christiano.ch //::.. &#187; Exchange Server</title>
	<atom:link href="http://www.christiano.ch/wordpress/category/microsoft/exchangeserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christiano.ch/wordpress</link>
	<description>christiano.ch blog - personal knowledge base, news, memoires et cetera</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:28:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Export and Import Mailbox data to a PST file on Exchange Server 2007</title>
		<link>http://www.christiano.ch/wordpress/2012/01/05/export-and-import-mailbox-data-to-a-pst-file-on-exchange-server-2007/</link>
		<comments>http://www.christiano.ch/wordpress/2012/01/05/export-and-import-mailbox-data-to-a-pst-file-on-exchange-server-2007/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 06:49:07 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2012/01/05/export-and-import-mailbox-data-to-a-pst-file-on-exchange-server-2007/</guid>
		<description><![CDATA[This procedure describes how to export all mailboxes from one Exchange Server to a PST files and how to import the PST files to another Exchange Server in a different domain. Before you begin make sure that: You have a &#8230; <a href="http://www.christiano.ch/wordpress/2012/01/05/export-and-import-mailbox-data-to-a-pst-file-on-exchange-server-2007/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This procedure describes how to export all mailboxes from one Exchange Server to a PST files and how to import the PST files to another Exchange Server in a different domain. Before you begin make sure that: </p>
<p><span id="more-1270"></span>
<ul>
<li>You have a computer that has Outlook 2003 (SP2) or 2007, Exchange 2007 Management Tools (32-bit version), PowerShell and .NET Framework installed </li>
<li>Logon with an account that has Exchange Server Administrator and Local Administrator rights </li>
<li>You have full access to the users’ mailbox on both servers. See the note below on how to do it. </li>
</ul>
<p>&#160;</p>
<ul>
<ol>
<li>Start the Exchange Management Shell and type the following:<strong><em>[PS] C:\&gt;Get-Mailbox –Database “&lt;Exchange Server FQDN&gt;\&lt;Database Name&gt;” | Export-Mailbox –PSTFolderPath C:\PSTFiles</em></strong> to export all users mailbox to a PST file. Press A for Yes to All. Depending on the size of your database, the export procedure could take a long time to complete. </li>
<li>Now the mailboxes are exported to the PST files, make sure that the PST file name matches the alias of the users’ account in the other domain. </li>
<li>Next, import the PST files to the other Exchange Server by typing the following: <strong><em>[PS] C:\&gt;Get-Mailbox –Database “&lt;Exchange Server FQDN&gt;\&lt;Database Name&gt;” | Import-Mailbox –PSTFolderPath C:\PSTFiles</em></strong> and press A for Yes for All. Wait until the import operation completes.</li>
</ol>
<p><strong><em>Note:</em></strong>      <br />To grant the Administrator Full Access rights on the database type the following command:      <br /><strong><em>[PS] C:\&gt;Get-Mailbox -Database “&lt;Exchange Server FQDN&gt;\&lt;Database Name&gt;” | Add-ADPermission -User Administrator -AccessRights GenericAll</em></strong></p>
</ul>
<ol></ol>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Export+and+Import+Mailbox+data+to+a+PST+file+on+Exchange+Server+2007+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1270" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Export+and+Import+Mailbox+data+to+a+PST+file+on+Exchange+Server+2007+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1270" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2012/01/05/export-and-import-mailbox-data-to-a-pst-file-on-exchange-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Exec, Volume Shadow Copy, Permissions etc</title>
		<link>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</link>
		<comments>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/#comments</comments>
		<pubDate>Sun, 01 May 2011 09:57:13 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Backup Exec]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[CAPI2]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[icacls]]></category>
		<category><![CDATA[VSS]]></category>
		<category><![CDATA[vssadmin]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</guid>
		<description><![CDATA[Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup &#8230; <a href="http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strike></strike><br />
<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="607">Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup Exec, i got a <strong>‘Final error: 0xe000fed1 &#8211; A failure occurred querying the Writer status. ‘ </strong>ok, initially i thought, this is nothing new.. querying the writer status and seeing what this one’s reporting .. </td>
<td valign="top" width="67"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo.jpg"><img style="display: inline" title="Logo_winlogo" alt="Logo_winlogo" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo_thumb.jpg" width="102" height="91" /></a></td>
</tr>
</tbody>
</table>
<p><span id="more-1194"></span>
<p><strong>This is the Backup Exec 12.0 Job log:</strong> </p>
<pre>Job ended: Donnerstag, 28. April 2011 at 23:00:12
Completed status: Failed
Final error: 0xe000fed1 - A failure occurred querying the Writer status.
Final error category: Resource Errors

For additional information regarding this error refer to link <a href="http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml?EvtID=V-79-57344-65233" target="_blank">V-79-57344-65233</a></pre>
<p><strong>and this:</strong> </p>
<pre><tt>Click an error below to locate it in the job log

Backup- server.domain.localV-79-57344-34110 - AOFO: Initialization failure on: &quot;\\server.domain.local\Microsoft Information Store\xyz Storage Group&quot;. Advanced Open File Option used: Microsoft Volume Shadow Copy Service (VSS).Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status. Check the Windows Event Viewer for details. Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Waiting for backup complete notification (5). </tt></pre>
<p><strong>VssAdmin List Writers reported:</strong> </p>
<pre>Writer name: 'Microsoft Exchange Writer'
  Writer Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}Writer Instance Id: {c0784b22-2777-47ea-955c-6302ef023141}   State: [5] Waiting for completion
Last error: No error</pre>
<p><strong>Checking Event Viewer: </strong></p>
<pre><strong>Source: VSS

Event ID: 8193</strong>Volume Shadow Copy Service error: Unexpected error calling routine ConvertStringSidToSid.hr = 0x80070539. Operation:
OnIdentify event
Gathering Writer DataContext:
Execution Context: Shadow Copy Optimization Writer
Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Name: Shadow Copy Optimization Writer
Writer Instance ID: {e439464c-084e-42a6-bebb-79f6c877804e}</pre>
<p><strong>i got this solved by following <a href="http://social.technet.microsoft.com/Forums/en/winserverfiles/thread/7b52f7c1-a783-409e-9af3-da64567676df" target="_blank">MSFT-David Shen’s tip</a>.. =&gt; Just deleted a Profile with a .bak extension..</strong></p>
<pre>Hi,

According to the research, the issue may be caused by an invalid entry inside the following registry sub tree.

<strong>HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList</strong>

Please open the registry editor with regedit.

Expand and local to the subtree, check if there is an entry that has a &quot;.bak&quot; value appended. If so, this may be cause the failure when trying to resolve the SID of the writer.

Please backup the registry key first, and then delete that entry with the extra &quot;.bak&quot;

Then you may reboot the problematic server to check if it the issue can be fixed.</pre>
<p>&#160;</p>
<p>Ok, this solved the above mentioned error with EventID 8193</p>
<p>But there was another error, kept me from running the backup job successfully.. </p>
<pre>Source: CAPI2
Event ID: 513
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
AddCoreCsiFiles : BeginFileEnumeration() failed.

System Error:
Access is denied.
.</pre>
<p>&#160;</p>
<p><strong><a href="http://technet.microsoft.com/en-us/library/cc734021(WS.10).aspx" target="_blank">Microsoft Technet</a></strong><strong> writes:</strong></p>
<hr />
<h4>Event Details</h4>
<p><strong>Product:</strong> </p>
<p>Windows Operating System</p>
<p><strong>ID:</strong> </p>
<p>513</p>
<p><strong>Source:</strong> </p>
<p>Microsoft-Windows-CAPI2</p>
<p><strong>Version:</strong> </p>
<p>6.0</p>
<p><strong>Symbolic Name:</strong> </p>
<p>MSG_SYSTEMWRITER_ONIDENTITY_FAILURE</p>
<p><strong>Message:</strong> </p>
<p>Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.%1.</p>
<h4>Resolve</h4>
<h5>Modify the access control list on the registration folder</h5>
<p>Component Object Model (COM) applications must be able to access the COM+ catalog files that are stored in the COM catalog folder. If the default access control list is changed on the COM catalog folder within the Windows folder, the Shadow Copy System Writer may not work properly.</p>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To modify the access control list on the COM catalog folder:</p>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Computer</strong>. </li>
<li>Navigate to <em>%systemdrive%</em>\Windows.
<p>By default, <em>%systemdrive%</em> is located at C:\.</p>
</li>
<li>Right-click <strong>Registration</strong>, click <strong>Properties</strong>, and then click the <strong>Security</strong> tab. </li>
<li>Click <strong>Advanced</strong>, and then click <strong>Edit</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>Click <strong>Edit</strong> to view the special permissions assigned to this folder. </li>
<li>Ensure that the access control list matches the following criteria:
<ul>
<li>The local Administrators group has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
<li>The Everyone group has <strong>List folder/read data</strong>, <strong>Read attributes</strong>, <strong>Read extended attributes</strong>, and <strong>Read permissions</strong> applied to <strong>This folder and files</strong>. </li>
<li>The local SYSTEM account has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
</ul>
</li>
<li>If the permissions on this folder do not match what is listed in this procedure, make the appropriate changes, and then click <strong>OK</strong>. </li>
</ol>
<h4>Verify</h4>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To verify that the Shadow Copy System Writer is working properly:</p>
<ol>
<li>Click <strong>Start</strong>, point to <strong>All Programs</strong>, and then click <strong>Accessories</strong>. </li>
<li>Right-click <strong>Command Prompt</strong>, and then click <strong>Run as administrator</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>In the command prompt window, type <strong>vssadmin list writers</strong>. </li>
<li>Ensure that <strong>Writer Name: &#8216;System Writer&#8217;</strong> is displayed in the list. </li>
</ol>
<hr />i followed these instructions, but the problem still existed. When calling <em>VssAdmin List Writers</em>&#160; the System Writer wasn’t listed .. </p>
<p>I started Process Monitor and found an ACCESS DENIED on <em>C:\Windows\winsxs\FileMaps\$$.cdf-ms</em> for the <em>NT AUTHORITY\NETWORK SERVICE</em>. Funny, the guys writing Technet Articles and Help for MS don’t even know their own system in deep .. rofl .. however, granting NT AUTHORITY\NETWORK SERVICE the necessary rights, solved also this issue.</p>
<p><strong>here’s my powershell get-history (including typos and retries <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/wlEmoticon-winkingsmile.png" />), maybe it will help you: </strong></p>
<hr />
<p>[PS] C:\Windows\system32&gt;Get-History</p>
<p>&#160; Id CommandLine<br />
  <br />&#160; &#8212; &#8212;&#8212;&#8212;&#8211; </p>
<p>&#160; 14 .\vssadmin.exe list writers </p>
<p>&#160; 15 icacls </p>
<p>&#160; 16 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 17 .\vssadmin.exe list writers </p>
<p>&#160; 18 icacls /? </p>
<p>&#160; 19 .\vssadmin.exe list writers </p>
<p>&#160; 20 Takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 21 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 22 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 23 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 24 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 25 icacls </p>
<p>&#160; 26 icacls %windir%\winsxs\filemaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 27 .\vssadmin.exe list writers </p>
<p>&#160; 28 .\vssadmin.exe list writers </p>
<p>&#160; 29 .\icacls.exe %windir%\winsxs\filemaps\*.* grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 30 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 31 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 32 .\vssadmin.exe list writers </p>
<p>&#160; 33 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 34 takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 35 takeown </p>
<p><font color="#ff0000"><strong>&#160; 36 takeown /f C:\Windows\winsxs\FileMaps\* /a<br />
      <br />&#160; 37 icaclc C:\Windows\winsxs\FileMaps\*.* /grant </p>
<p>&#160; 38 icaclc C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 39 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 40 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 41 icacls C:\Windows\winsxs\FileMaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 42 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 43 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 44 .\icacls.exe c:\windows\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot;</strong></font> </p>
<p>&#160; 45 .\vssadmin.exe list writers</p>
<hr />
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Exchange 2007 / 2010 &#8211; Statistics using Exchange Management Shell (EMS)</title>
		<link>http://www.christiano.ch/wordpress/2010/03/14/microsoft-exchange-2007-2010-statistics-using-exchange-management-shell-ems/</link>
		<comments>http://www.christiano.ch/wordpress/2010/03/14/microsoft-exchange-2007-2010-statistics-using-exchange-management-shell-ems/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 09:14:10 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/03/14/microsoft-exchange-2007-2010-statistics-using-exchange-management-shell-ems/</guid>
		<description><![CDATA[Using Microsoft Exchange 2007 / 2010 Management Shell (PowerShell with extensions), you can pull out some very exciting statistics. That was never that easy in the pre Exchange 2007 era. Let’s start with some easy stuff.. Get the number of &#8230; <a href="http://www.christiano.ch/wordpress/2010/03/14/microsoft-exchange-2007-2010-statistics-using-exchange-management-shell-ems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="676">Using Microsoft Exchange 2007 / 2010 Management Shell (PowerShell with extensions), you can pull out some very exciting statistics. That was never that easy in the pre Exchange 2007 era.</td>
<td valign="top" width="10"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/03/Logo_ExchangeSvr.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Logo_ExchangeSvr" border="0" alt="Logo_ExchangeSvr" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/03/Logo_ExchangeSvr_thumb.png" width="160" height="90" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-898"></span>
<p>Let’s start with some easy stuff..</p>
<p><strong>Get the number of Public Folders</strong></p>
<p><code>Get-PublicFolder -Recurse | Measure-Object</code></p>
<p><strong>Get the sum / number of Mails / Object in all Public Folders</strong></p>
<p><code>Get-PublicFolderStatistics | Measure-Object -Property ItemCount -Sum</code></p>
<p><strong>Get the number of Mailboxes</strong></p>
<p><code>Get-Mailbox | Measure-Object</code></p>
<p><strong>Get the number of sent messages / emails within a date range</strong></p>
<p><code>Get-MessageTrackingLog -Start &quot;29.11.2009&quot; -End &quot;30.12.2009&quot; -ResultSize Unlimited | Measure-Object</code></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+2007+%2F+2010+%E2%80%93+Statistics+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D898" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+2007+%2F+2010+%E2%80%93+Statistics+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D898" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/03/14/microsoft-exchange-2007-2010-statistics-using-exchange-management-shell-ems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010: A previous version of Exchange Server..</title>
		<link>http://www.christiano.ch/wordpress/2009/11/18/exchange-2010-a-previous-version-of-exchange-server/</link>
		<comments>http://www.christiano.ch/wordpress/2009/11/18/exchange-2010-a-previous-version-of-exchange-server/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 06:22:20 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2009/11/18/exchange-2010-a-previous-version-of-exchange-server/</guid>
		<description><![CDATA[Receiving the message ‘a previous version of exchange server is already installed on this machine’ when trying to install Microsoft Exchange Server 2010? I’m just upgrading one of our Microsoft Exchange 2007 Servers to Microsoft Exchange Server 2010. I’ve decided &#8230; <a href="http://www.christiano.ch/wordpress/2009/11/18/exchange-2010-a-previous-version-of-exchange-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="608">Receiving the message <em><strong>‘a previous version of exchange server is already installed on this machine</strong></em>’ when trying to install Microsoft Exchange Server 2010?</td>
<td valign="top" width="66"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/Logo_MsExchange2010.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Logo_MsExchange2010" border="0" alt="Logo_MsExchange2010" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/Logo_MsExchange2010_thumb.png" width="218" height="78" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-758"></span>
<p>I’m just upgrading one of our Microsoft Exchange 2007 Servers to Microsoft Exchange Server 2010. I’ve decided to first remove the Exchange 2007 Server and then install the 2010 Version. Well, if you should ever choose the same path, you’ll have to pass a few hurdles… After following the instructions in the links provided below, i finally was able to remove Microsoft Exchange Server 2007. When i then started Microsoft Exchange 2010 Server Setup, i got the message: </p>
<p><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/MS_ExchangeServer_A_Previous_Version_of_Exchange.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MS_ExchangeServer_A_Previous_Version_of_Exchange.." border="0" alt="MS_ExchangeServer_A_Previous_Version_of_Exchange.." src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/MS_ExchangeServer_A_Previous_Version_of_Exchange.._thumb.png" width="411" height="144" /></a> </p>
<p>Setup.exe &#8211; A previous version of Exchange Server is already installed on this machine.</p>
<p>Well, since this Version of Exchange is pretty new and Google nor other search machines give you good results about this issue, i decided to not spend to much time searching the internet but opened the registry editor and searched for Exchange in the HKLM/Software Key.. What i’ve found:</p>
<p><strong><em><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/RegistryExchangeKey.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="RegistryExchangeKey" border="0" alt="RegistryExchangeKey" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/11/RegistryExchangeKey_thumb.png" width="241" height="705" /></a> </em></strong></p>
<p><strong><em>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange</em></strong></p>
<p>Rename this Key to _Exchange, start setup.exe again and you’ll be fine .. </p>
<p>&#160;</p>
<h1>Links</h1>
<p>&#160;</p>
<p><a title="This Server is the Source for a Send Connector" href="http://technet.microsoft.com/en-us/library/bb426940.aspx" target="_blank">This Server is the Source for a Send Connector</a></p>
<p><a title="Removing Public Folder Databases" href="http://technet.microsoft.com/en-us/library/cc164367.aspx" target="_blank">Removing Public Folder Databases</a></p>
<p><a title="How to Remove a Public Folder Database" href="http://technet.microsoft.com/en-us/library/aa998329.aspx" target="_blank">How to Remove a Public Folder Database</a></p>
<p><a title="How to Delete Multiple Public Folders from Your Organization" href="http://technet.microsoft.com/en-us/library/bb201664.aspx" target="_blank">How to Delete Multiple Public Folders from Your Organization</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2010%3A+A+previous+version+of+Exchange+Server..+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D758" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2010%3A+A+previous+version+of+Exchange+Server..+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D758" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/11/18/exchange-2010-a-previous-version-of-exchange-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 &#8211; Enumerate all public folders and their email addresses using Exchange Management Shell (EMS)</title>
		<link>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-enumerate-all-public-folders-and-their-email-addresses-using-exchange-management-shell-ems/</link>
		<comments>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-enumerate-all-public-folders-and-their-email-addresses-using-exchange-management-shell-ems/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 13:56:37 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=563</guid>
		<description><![CDATA[Ever wanted to enumerate all Public Folders and their email addresses? here&#8217;s a way to do this using Microsoft Exchange Management Shell (EMS) Get-Mailpublicfolder &#124; select name , alias ,EmailAddresses &#124; foreach &#123; &#34;Name: &#34;+$_.name &#34;Alias: &#34;+$_.alias &#160; $_.EmailAddresses &#124; &#8230; <a href="http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-enumerate-all-public-folders-and-their-email-addresses-using-exchange-management-shell-ems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to enumerate all Public Folders and their email addresses? here&#8217;s a way to do this using Microsoft Exchange Management Shell (EMS)</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>Mailpublicfolder <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select</span> name <span style="color: pink;">,</span> alias <span style="color: pink;">,</span>EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Name: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.name
<span style="color: #800000;">&quot;Alias: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.alias
&nbsp;
<span style="color: #000080;">$_</span>.EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.SmtpAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.IsPrimaryAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Primary SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008080; font-weight: bold;">write-output</span> <span style="color: #800000;">&quot;&quot;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>or redirect the output into a file for analysis, whatever..</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>Mailpublicfolder <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select</span> name <span style="color: pink;">,</span> alias <span style="color: pink;">,</span>EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Name: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.name
<span style="color: #800000;">&quot;Alias: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.alias
&nbsp;
<span style="color: #000080;">$_</span>.EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.SmtpAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.IsPrimaryAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Primary SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008080; font-weight: bold;">write-output</span> <span style="color: #800000;">&quot;&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">out<span style="color: #FF0000;">-file</span></span> <span style="color: #008080; font-style: italic;">-filepath</span> c:\publicFolders.txt <span style="color: #008080; font-style: italic;">-encoding</span> ASCII</pre></div></div>

<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2007+%E2%80%93+Enumerate+all+public+folders+and+their+email+addresses+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D563" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2007+%E2%80%93+Enumerate+all+public+folders+and+their+email+addresses+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D563" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-enumerate-all-public-folders-and-their-email-addresses-using-exchange-management-shell-ems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 &#8211; Get Email Addresses for each Mailbox using Exchange Management Shell (EMS)</title>
		<link>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-get-email-addresses-for-each-mailbox-using-exchange-management-shell-ems/</link>
		<comments>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-get-email-addresses-for-each-mailbox-using-exchange-management-shell-ems/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 12:44:32 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=557</guid>
		<description><![CDATA[Ever needed to export the list of mailbox of your Microsoft Exchange 2007 with all alias and all the smtp addresses? Try this with this command: Get-Mailbox &#124; select name , alias ,EmailAddresses &#124; foreach &#123; &#34;Name: &#34;+$_.name &#34;Alias: &#34;+$_.alias &#8230; <a href="http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-get-email-addresses-for-each-mailbox-using-exchange-management-shell-ems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever needed to export the list of mailbox of your Microsoft Exchange 2007 with all alias and all the smtp addresses? Try this with this command:</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>Mailbox <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select</span> name <span style="color: pink;">,</span> alias <span style="color: pink;">,</span>EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Name: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.name
<span style="color: #800000;">&quot;Alias: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.alias
&nbsp;
<span style="color: #000080;">$_</span>.EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.SmtpAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.IsPrimaryAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Primary SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008080; font-weight: bold;">write-output</span> <span style="color: #800000;">&quot;&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: pink;">&gt;</span> c:\smtp.txt</pre></div></div>

<p>or use the out-file cmdlet..</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;">######### Using Out-File Cmdlet ############</span>
&nbsp;
Get<span style="color: pink;">-</span>Mailbox <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select</span> name <span style="color: pink;">,</span> alias <span style="color: pink;">,</span>EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Name: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.name
<span style="color: #800000;">&quot;Alias: &quot;</span><span style="color: pink;">+</span><span style="color: #000080;">$_</span>.alias
&nbsp;
<span style="color: #000080;">$_</span>.EmailAddresses <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.SmtpAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #0000FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.IsPrimaryAddress<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;Primary SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800000;">&quot;SmtpAddress: $($_.SmtpAddress)&quot;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #008080; font-weight: bold;">write-output</span> <span style="color: #800000;">&quot;&quot;</span>
<span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">out<span style="color: #FF0000;">-file</span></span> <span style="color: #008080; font-style: italic;">-filepath</span> c:\smtp.txt <span style="color: #008080; font-style: italic;">-encoding</span> ASCII</pre></div></div>

<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2007+%E2%80%93+Get+Email+Addresses+for+each+Mailbox+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D557" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Exchange+2007+%E2%80%93+Get+Email+Addresses+for+each+Mailbox+using+Exchange+Management+Shell+%28EMS%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D557" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/09/30/exchange-2007-get-email-addresses-for-each-mailbox-using-exchange-management-shell-ems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove / Uninstall Exchange &#8211; This server is the Recipient Update Server RUS for the domain</title>
		<link>http://www.christiano.ch/wordpress/2009/08/22/remove-uninstall-exchange-this-server-is-the-recipient-update-server-rus-for-the-domain/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/22/remove-uninstall-exchange-this-server-is-the-recipient-update-server-rus-for-the-domain/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 08:53:03 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=434</guid>
		<description><![CDATA[When you try to uninstall or remove Microsoft Exchange 2003, you&#8217;re getting the error message: Microsoft Exchange Installation Wizard The component Microsoft Exchange Messaging and Collaboriation Server cannot be assigned the action &#8220;Remove&#8221; because: - This server is the Recipient &#8230; <a href="http://www.christiano.ch/wordpress/2009/08/22/remove-uninstall-exchange-this-server-is-the-recipient-update-server-rus-for-the-domain/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you try to uninstall or remove Microsoft Exchange 2003, you&#8217;re getting the error message:</p>
<p><em>Microsoft Exchange Installation Wizard</em></p>
<p><em>The component Microsoft Exchange Messaging and Collaboriation Server cannot be assigned the action &#8220;Remove&#8221; because:</em></p>
<p><em>- This server is the Recipient Update Server for the domain &#8220;someDomain.tld&#8221;. You cannot uninstall this server until you select a different Recipient Update Server for this domain.</em></p>
<p><em></p>
<div id="attachment_435" class="wp-caption alignnone" style="width: 685px"><em><img class="size-full wp-image-435" title="Exchange_2003_removal_RUS_assigned" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Exchange_2003_removal_RUS_assigned.png" alt="Exchange_2003_removal_RUS_assigned" width="675" height="86" /></em><p class="wp-caption-text">Exchange_2003_removal_RUS_assigned</p></div>
<p><span id="more-434"></span><br />
</em></p>
<p>The trick to remove Microsoft Exchange Server 2003 from your organization is reassigning the Recipient Update Service (RUS). Setup will not allow you to uninstall Microsoft Exchange Server 2003 until the Recipient Update Service (RUS) has been reassigned to another server. This is ironic since Exchange Server 2007 doesn&#8217;t even use the Recipient Update Service. However, this task must be performed to proceed the uninstallation of Microsoft Exchanger Server 2003.</p>
<p>Reassigning the Recipient Update Service is fairly easy. Begin the process by opening the Exchange System Manager. Now, navigate through the console tree to Recipients | Recipient Update Service.</p>
<div id="attachment_436" class="wp-caption alignnone" style="width: 685px"><img class="size-full wp-image-436" title="Exchange_2003_removal_RUS_reAssign" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Exchange_2003_removal_RUS_reAssign.png" alt="Exchange_2003_removal_RUS_reAssign" width="675" height="294" /><p class="wp-caption-text">Exchange_2003_removal_RUS_reAssign</p></div>
<p>There are two listings for the Recipient Update Service. There is an enterprise listing, and a domain listing.</p>
<p>At this point in the process, you must right click on the enterprise listing for the Recipient Update Service, and then choose the Properties command from the resulting shortcut menu. When you do, the Exchange System Manager will display the Recipient Update Service properties sheet.</p>
<div id="attachment_437" class="wp-caption alignnone" style="width: 412px"><img class="size-full wp-image-437" title="Exchange_2003_removal_RUS_Properties" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Exchange_2003_removal_RUS_Properties.png" alt="Exchange_2003_removal_RUS_Properties" width="402" height="446" /><p class="wp-caption-text">Exchange_2003_removal_RUS_Properties</p></div>
<p>You will notice that the Recipient Update Service has been assigned to a specific Exchange server. By default, the server that is listed is an Exchange 2003 server. You must click the Browse button, and then choose an Exchange 2007 server from the list. After doing so, click OK to close the Recipient Update Service properties sheet.</p>
<p>Now it&#8217;s time to turn our attention to the domain listing for the Recipient Update Service. We will do the exact same thing for this listing that we did for the enterprise listing. Right-click on the domain listing and choose the Properties command from the resulting shortcut menu to reveal the Recipient Update Services properties sheet. Now, click the Browse button next to the listing for the Exchange server, and choose an Exchange 2007 server from the list. Click OK to close the properties sheet, and you&#8217;re done.</p>
<h3>Conclusion</h3>
<p>Now that the Recipient Update Service has been reassigned you should have no trouble uninstalling Exchange server 2003. Simply run the Exchange Server 2003 Setup program, and then use the Change/Remove option to complete the uninstallation process.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Remove+%2F+Uninstall+Exchange+%E2%80%93+This+server+is+the+Recipient+Update+Server+RUS+for+the+domain+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D434" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Remove+%2F+Uninstall+Exchange+%E2%80%93+This+server+is+the+Recipient+Update+Server+RUS+for+the+domain+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D434" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/22/remove-uninstall-exchange-this-server-is-the-recipient-update-server-rus-for-the-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Exchange Server 2007 &#8211; 530 5.7.1 Client was not authenticated &#8211; Solution</title>
		<link>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-server-2007-530-5-7-1-client-was-not-authenticated-solution/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-server-2007-530-5-7-1-client-was-not-authenticated-solution/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 16:57:40 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=422</guid>
		<description><![CDATA[If you install Microsoft Exchange Server out of the box and you get the following error message when trying to receive an email: This message was created automatically by mail delivery software. A message that you sent could not be &#8230; <a href="http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-server-2007-530-5-7-1-client-was-not-authenticated-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you install Microsoft Exchange Server out of the box and you get the following error message when trying to receive an email:</p>
<pre>This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
 <a href="mailto:test@connexin.biz">test@christiano.ch</a>
SMTP error from remote mail server after MAIL FROM:&lt;<a href="mailto:christian.muggli@connexin.ch">sunny@christiano.ch</a>&gt; SIZE=6841:
host xyz.christiano.ch [194.123.18.170]: 530 5.7.1 Client was not authenticated</pre>
<p><span id="more-422"></span></p>
<p>Then you have to change the Receive Connector to allow anonymous connections (probably) ..<br />
You can do this using the Microsoft Exchange Management Shell (EMS)</p>
<p><code>Set-ReceiveConnector -Identity "Default &lt;SERVERNAME&gt;" -PermissionGroups "AnonymousUsers"</code></p>
<p>or in the GUI using Microsoft Exchange Management Console (EMC)</p>
<p>Navigate to <em>Microsoft Exchange | Server Configuration | Hub Transport | Receive Connectors</em></p>
<div id="attachment_424" class="wp-caption alignnone" style="width: 450px"><img class="size-full wp-image-424" title="Microsoft_Exchange_Management_Console_ReceiveConnector_Allow_AnonymousUsers" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_Management_Console_ReceiveConnector_Allow_AnonymousUsers.PNG" alt="Microsoft_Exchange_Management_Console_ReceiveConnector_Allow_AnonymousUsers" width="440" height="489" /><p class="wp-caption-text">Microsoft_Exchange_Management_Console_ReceiveConnector_Allow_AnonymousUsers</p></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+Server+2007+%E2%80%93+530+5.7.1+Client+was+not+authenticated+%E2%80%93+Solution+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D422" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+Server+2007+%E2%80%93+530+5.7.1+Client+was+not+authenticated+%E2%80%93+Solution+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D422" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-server-2007-530-5-7-1-client-was-not-authenticated-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Missing Microsoft Exchange 2007 Anti Spam Agents? Here&#8217;s the how to: Install anti-spam agents on Hub Transport server</title>
		<link>http://www.christiano.ch/wordpress/2009/08/20/missing-microsoft-exchange-2007-anti-spam-agents-heres-the-how-to-install-anti-spam-agents-on-hub-transport-server/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/20/missing-microsoft-exchange-2007-anti-spam-agents-heres-the-how-to-install-anti-spam-agents-on-hub-transport-server/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 16:40:57 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=412</guid>
		<description><![CDATA[If you&#8217;re using Exchange Server 2007 in a topology with an Edge Transport server, the anti-spam agents &#8211; Connection Filtering, Content Filter, Sender ID, Sender Filter, Recipient Filter, and Protocol Analysis &#8211; are installed on the Edge server. You do &#8230; <a href="http://www.christiano.ch/wordpress/2009/08/20/missing-microsoft-exchange-2007-anti-spam-agents-heres-the-how-to-install-anti-spam-agents-on-hub-transport-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using Exchange Server 2007 in a topology with an Edge Transport server, the anti-spam agents &#8211; Connection Filtering, Content Filter, Sender ID, Sender Filter, Recipient Filter, and Protocol Analysis &#8211; are installed on the Edge server. You do not need these agents installed on the Hub server(s).</p>
<p>In environments without an Edge server role, these need to be installed manually on the Hub Transport server(s).</p>
<p><span id="more-412"></span></p>
<p>To install anti-spam agents on a Hub Transport server, start Exchange Management Shell (EMS), navigate to the &#8220;%ProgramFiles%\Microsoft\Exchange Server\Scripts&#8221; folder<br />
(by default C:\Program Files\Microsoft\Exchange Server\Scripts)</p>
<div id="attachment_413" class="wp-caption alignnone" style="width: 683px"><img class="size-full wp-image-413 " title="Microsoft_Exchange_2007_Install-AntispamAgents" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_2007_Install-AntispamAgents_1.png" alt="Microsoft_Exchange_2007_Install-AntispamAgents" width="673" height="532" /><p class="wp-caption-text">Microsoft_Exchange_2007_Install-AntispamAgents</p></div>
<p>Now run/execute:</p>
<div id="attachment_414" class="wp-caption alignnone" style="width: 653px"><img class="size-full wp-image-414" title="Microsoft_Exchange_2007_Install-AntispamAgents_PowerShell" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_2007_Install-AntispamAgents_PowerShell.PNG" alt="Microsoft_Exchange_2007_Install-AntispamAgents_PowerShell" width="643" height="236" /><p class="wp-caption-text">Microsoft_Exchange_2007_Install-AntispamAgents_PowerShell</p></div>
<p><code>[PS] C:\Program Files\Microsoft\Exchange Server\Scripts&gt;.\install-AntispamAgents.ps1</code></p>
<p>Now restart the Microsoft Exchange Transport Service</p>
<div id="attachment_415" class="wp-caption alignnone" style="width: 647px"><img class="size-full wp-image-415" title="Microsoft_Exchange_2007_TransportServiceRestart" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_2007_TransportServiceRestart.PNG" alt="Microsoft_Exchange_2007_TransportServiceRestart" width="637" height="125" /><p class="wp-caption-text">Microsoft_Exchange_2007_TransportServiceRestart</p></div>
<p>Once installed successfully, the command will show each agent installed, whether it is enabled or not, and its priority</p>
<p>Anti-Spam Agents on Hub Transport serverAfter the anti-spam agents are installed, you can see the Anti-spam tab in <em>Organization Configuration | Hub Transport</em> node in Exchange Management Console.<br />
(If your console was open during installation, you will need to restart it).</p>
<div id="attachment_416" class="wp-caption alignnone" style="width: 573px"><img class="size-full wp-image-416" title="Microsoft_Exchange_2007_AntiSpamAgents" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_2007_AntiSpamAgents.PNG" alt="Microsoft_Exchange_2007_AntiSpamAgents" width="563" height="262" /><p class="wp-caption-text">Microsoft_Exchange_2007_AntiSpamAgents</p></div>
<p>Alternatively you can run Get-TransportAgent</p>
<div id="attachment_417" class="wp-caption alignnone" style="width: 628px"><img class="size-full wp-image-417" title="Microsoft_Exchange_2007_PowerShell_Get-TransportAgents" src="http://www.christiano.ch/wordpress/wp-content/uploads/2009/08/Microsoft_Exchange_2007_PowerShell_Get-TransportAgents.PNG" alt="Microsoft_Exchange_2007_PowerShell_Get-TransportAgentsMicrosoft_Exchange_2007_PowerShell_Get-TransportAgents" width="618" height="184" /><p class="wp-caption-text">Microsoft_Exchange_2007_PowerShell_Get-TransportAgents</p></div>
<p><code>[PS] C:\&gt;Get-TransportAgent</code></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Missing+Microsoft+Exchange+2007+Anti+Spam+Agents%3F+Here%E2%80%99s+the+how+to%3A+Install+anti-spam+agents+on+Hub+Transport+server+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D412" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Missing+Microsoft+Exchange+2007+Anti+Spam+Agents%3F+Here%E2%80%99s+the+how+to%3A+Install+anti-spam+agents+on+Hub+Transport+server+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D412" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/20/missing-microsoft-exchange-2007-anti-spam-agents-heres-the-how-to-install-anti-spam-agents-on-hub-transport-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Exchange 2007 Catch all Transport Agent</title>
		<link>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-2007-catch-all-transport-agent/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-2007-catch-all-transport-agent/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 14:17:19 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=404</guid>
		<description><![CDATA[This is a little tutorial about how to install a Microsoft Exchange Catch All Agent / Mailbox. &#8216;Catch all&#8217; is the ability of an SMTP server to redirect messages to non-existing recipients to a specific address. For example, your domain &#8230; <a href="http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-2007-catch-all-transport-agent/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a little tutorial about how to install a Microsoft Exchange Catch All Agent / Mailbox. &#8216;Catch all&#8217; is the ability of an SMTP server to redirect messages to non-existing recipients to a specific address. For example, your domain is like @christiano.ch. Someone sends an email to sunny@christiano.ch and you don&#8217;t have a mailbox with the corresponding email address, the email can&#8217;t be delivered. The sender get&#8217;s a notification (NDR &#8211; Non Delivery Receipt,  STMP RFC Error Code 550) similiar to this one:</p>
<p><span id="more-404"></span></p>
<pre>This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:<a href="mailto:sunny@christiano.ch">
sunny@christiano.ch</a>
SMTP error from remote mail server after RCPT TO:&lt;<a href="mailto:sunny@christiano.ch">sunny@christiano.ch</a>&gt;:
host christiano.ch [100.120.200.30]: 550 No Such User Here</pre>
<p>If you want your Microsoft Exchange Server to take such mails and put them in a common mailbox, you could use the nice Microsoft Exchange 2007 Transport Protocol Agent which provides the (MTA) catchall functionality from Wilbert De Graaf. The Agent is Open Source published on www.codeplex.com. To download the Agent, click <a title="Download Microsoft Exchange 2007 Catch All Transport Agent from codeplex.com" href="http://catchallagent.codeplex.com" target="_blank">here</a> and click on download..</p>
<p>Setup is quite easy.</p>
<p>The instruction has been taken from the install notes from Wilbert de Graaf..<br />
CatchAllAgent: Exchange 2007 Transport Protocol Agent<br />
=====================================================</p>
<p>Introduction<br />
&#8212;&#8212;&#8212;&#8212;<br />
CatchAllAgent is an Exchange 2007 Transport Protocol Agent. If a message comes in, and a<br />
recipient of that message does not exist (unknown recipient), the recipient typically gets<br />
rejected by the Recipient Filtering feature (which is also a Transport Protocol Agent).<br />
The CatchAllAgent can be configured to rewrite the recipient address for unknown recipients<br />
such that such messages end up in a dedicated mailbox. The configuration allows for multiple<br />
domains, but you can only specify a single target address for each of those domains.</p>
<p>Configuration<br />
&#8212;&#8212;&#8212;&#8212;-<br />
The configuration is called config.xml and should be found at the same location of the agent&#8217;s<br />
assembly (DLL). The contents looks something like this:<br />
&lt;config&gt;<br />
&lt;domain name=&#8221;domain1.com&#8221; address=&#8221;catchall@domain1.com&#8221; /&gt;<br />
&lt;domain name=&#8221;domain2.com&#8221; address=&#8221;admin@domain2.com&#8221; /&gt;<br />
&lt;/config&gt;<br />
This says that messages to unknown recipients @ domain1.com should be redirected to<br />
&#8220;catchall@domain1.com&#8221;, and messages to unknown recipients @ domain2.com should be<br />
redirected to &#8220;admin@domain2.com&#8221;. Recipients that are either known at those domains,<br />
or at other domains (either known or unknown) are unaffected.<br />
Changes to the configuration file will be picked up on the fly. If there is an error<br />
in the configuration file, the (new) content will be ignored.</p>
<p>Installation Steps<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1. Create a directory on your Transport server (either Edge or Internet Facing Hub role)<br />
2. Unzip the ExchangeCatchAll.zip file in that directory<br />
3. Edit the config.xml according to your needs<br />
4. Open the Exchange 2007 Management Shell and run the following command to install<br />
the agent, assuming the directory with the CatchAll agent is c:\catchallagent:<br />
<code>[PS] C:\catchallagent&gt;install-transportagent -Name "CatchAll Agent" -TransportAgentFactory:CatchAll.CatchAllFactory -AssemblyPath:"C:\catchallagent\CatchAllAgent.dll"</code><br />
Identity                                           Enabled         Priority<br />
&#8212;&#8212;&#8211;                                           &#8212;&#8212;-         &#8212;&#8212;&#8211;<br />
CatchAll Agent                                     False           18<br />
WARNING: Please exit Powershell to complete the installation.<br />
WARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport<br />
5. Now the priority of the CatchAllAgent needs to be smaller that the priority of the Recipient<br />
Filtering agent. So you first need to figure that out using the get-transportagent task:<br />
<code>[PS] C:\catchallagent&gt;get-transportagent</code><br />
Identity                                           Enabled         Priority<br />
&#8212;&#8212;&#8211;                                           &#8212;&#8212;-         &#8212;&#8212;&#8211;<br />
Transport Rule Agent                               True            1<br />
Journaling Agent                                   True            2<br />
RMS Encryption Agent                               False           3<br />
AD RMS Prelicensing Agent                          False           4<br />
Connection Filtering Agent                         True            12<br />
Content Filter Agent                               True            13<br />
Sender Id Agent                                    True            14<br />
Sender Filter Agent                                True            15<br />
Recipient Filter Agent                             True            16<br />
Protocol Analysis Agent                            True            17<br />
CatchAll Agent                                     False           18</p>
<p>So in this case (Internet facing Hub) the priority of the Recipient Filtering Agent is 16, and since<br />
11 is available, that&#8217;d be a good pick. Use the following command to set the priority:<br />
<code>[PS] C:\catchallagent&gt;set-transportagent "CatchAll Agent" -Priority:11</code><br />
WARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport<br />
6. Now the agent can be enabled:<br />
<code>[PS] C:\catchallagent&gt;enable-transportagent "CatchAll Agent"</code><br />
WARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport<br />
7. Restart the Transport service:<br />
<code>net stop MSExchangeTransport</code><br />
<code>net start MSExchangeTransport</code></p>
<p>Troubleshooting<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The agent supports standard .NET tracing. To enable tracing, you have to add the following<br />
section to the application configuration file (edgetransport.exe.config):<br />
&lt;configuration&gt;<br />
&lt;system.diagnostics&gt;<br />
&lt;trace autoflush=&#8221;false&#8221; indentsize=&#8221;4&#8243;&gt;<br />
&lt;listeners&gt;<br />
&lt;add name=&#8221;myListener&#8221;<br />
type=&#8221;System.Diagnostics.TextWriterTraceListener&#8221;<br />
initializeData=&#8221;traces.log&#8221; /&gt;<br />
&lt;remove name=&#8221;Default&#8221; /&gt;<br />
&lt;/listeners&gt;<br />
&lt;/trace&gt;<br />
&lt;/system.diagnostics&gt;<br />
&lt;/configuration&gt;<br />
The result is that traces will be written to file &#8220;traces.log&#8221; in the applcation&#8217;s directory.<br />
There will only be traces for configuration changes, and not when a recipient gets processed.</p>
<h2>Links</h2>
<p><a title="Download CatchAllAgent for Microsoft Exchange2007 Transport Protocol Agent from www.codeplex.com" href="http://catchallagent.codeplex.com/" target="_blank">CatchAllAgent for Microsoft Exchange 2007 Transport Protocol Agent on www.codeplex.com</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+2007+Catch+all+Transport+Agent+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D404" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Exchange+2007+Catch+all+Transport+Agent+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D404" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/20/microsoft-exchange-2007-catch-all-transport-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

