<?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>Windows Server Administration &#187; Exchange Server</title>
	<atom:link href="http://www.msserveradmin.com/category/exchange-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.msserveradmin.com</link>
	<description>Server Administration Articles and Tips for Network Admins</description>
	<lastBuildDate>Wed, 04 Mar 2009 03:10:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtualize Your Exchange Edge Server</title>
		<link>http://www.msserveradmin.com/virtualize-edge-server-role/</link>
		<comments>http://www.msserveradmin.com/virtualize-edge-server-role/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 04:55:55 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=363</guid>
		<description><![CDATA[OK Here we go back in the swing of things and the first server I am going to &#8220;Virtualize&#8221; is an Exchange 2007 Server that holds the Edge Server Role. After Reading this article it all seemed fairly straight forward. How wrong I was !!! Here is what I did that led me to this [...]]]></description>
			<content:encoded><![CDATA[<p>OK Here we go back in the swing of things and the first server I am going to <strong>&#8220;Virtualize&#8221;</strong> is an Exchange 2007 Server that holds the Edge Server Role. After Reading <a href="http://technet.microsoft.com/en-us/library/bb332339.aspx">this article</a> it all seemed fairly straight forward. <strong>How wrong I was !!!</strong> Here is what I did that led me to this unwanted ERROR <strong>&#8220;The Exchange Server is in an inconsistant state&#8221;</strong> when I was trying to install the Edge Transport Role on the new Hyper-V Virtual Server.</p>
<p>The first thing that needed to be done was an export of the current server configuration using, as Microsoft calls it, &#8220;cloned configuration tasks&#8221;. There is a folder located in the install directory of Exchange, generally <em>C:\Program Files\Microsoft\Exchange Server\</em> called <strong>&#8220;Scripts&#8221;</strong>. Inside there are 2 Powershell Scripts that you will need. </p>
<p>They are <strong>ExportEdgeConfig.ps1</strong> and <strong>ImportEdgeConfig.ps1</strong>.</p>
<p>To capture the configuration we need to run the ExportEdgeConfig.ps1 script in the Exchange Management Shell like so:</p>
<p><strong>./ExportEdgeConfig -CloneConfigData:&#8221;C:\CloneConfigData.xml&#8221;</strong></p>
<p><strong>NOTE:</strong> Make Sure you run the Exchange Management Shell as Administrator (right click > Run As Administrator)<br />
<span id="more-363"></span><br />
Now I am going to be keeping the same computer name on the new Virtual Edge Server, so I did this next.</p>
<p>Shutdown the current Exchange Server and then Reset the Computer Account in Active Directory. Next was to start up the NEW Exchange Server, rename it and join it to the domain. You <strong>MUST </strong>make sure that the drive letter configuration is the same as the OLD Server.</p>
<p>Next Install Exchange, I did this by running trying to run this command:</p>
<p><strong>Setup.com /Role:Edge</strong></p>
<p>This is where it all fell apart. I got an error and decided to try again by running the setup.exe file. Sure enough it was No Good and I received this Error &#8220;The Exchange Server is in an inconsistant state&#8221;. Then I tried to run the install in Recovery Mode by using this command:</p>
<p><strong>setup.com /m:RecoverServer</strong></p>
<p>Guess what? Failed again. Things were looking pretty grim. Considering this was a virtual machine and only hosting the Edge Transport Role I copied across a sysprepped Windows Server 2008 VHD that I created earlier and started from scratch.</p>
<p>While the Server was starting up I reset the Computer Account in Active Directory and I also need to get brutal and use ADSi Edit and remove the entry in the following location:</p>
<p><strong>CN=Configuration, DC= Domain Name, DC=com, CN=Services, CN=Microsoft Exchange, CN=<Organization Name>, CN=Administrative Groups, CN= <Exchange Administrative Group>, CN=Servers, CN=<Server Name></strong></p>
<p>and also remove the entry in the <strong>Exchange Servers</strong> and <strong>Exchange Install Domain Servers</strong> Security Groups.</p>
<p>The Server was now up and running and joined to the domain so I tried again to install Exchange 2007 and the Edge Transport Role, and all seemed to go through fantastically!</p>
<p>After Exchange was installed I then need to run the New-EdgeSubscription CMDLET on the Edge Server:</p>
<p><strong>New-EdgeSubscription -FileName &#8220;c:\EdgeServerSubscription.xml&#8221;</strong></p>
<p>Then import that XML File on the Server that is running the Hub Transport Role. To to that you can use the Exchange Management Console and navigate to this spot.</p>
<p>Organisation Configuration > Hub Transport > and then click the Edge Subscription Tab.</p>
<p>After that was completed I gave the Edge Server a Restart and the mail started flowing in again&#8230;&#8230;.There seemed to be a few people that have had a similar issue so I hope this sheds some light on a procedure on how to get around this issue. Another bonus to virtualization !!!!.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/virtualize-edge-server-role/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Overcome The Exchange 2007 OAB Issues</title>
		<link>http://www.msserveradmin.com/how-to-overcome-the-exchange-2007-oab-issues/</link>
		<comments>http://www.msserveradmin.com/how-to-overcome-the-exchange-2007-oab-issues/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 01:31:00 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=321</guid>
		<description><![CDATA[I have been working through an issue we have at the moment with the Exchange 2007 Offline Address Book (OAB) and it&#8217;s generation, replication and distribution. In my Exchange 2007 setup the server that houses the Mailstore Role is the server that generates the OAB and then should replicate to the Server that hosts the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working through an issue we have at the moment with the <strong>Exchange 2007 Offline Address Book (OAB)</strong> and it&#8217;s generation, replication and distribution. In my Exchange 2007 setup the server that houses the Mailstore Role is the server that generates the OAB and then should replicate to the Server that hosts the Client Access Server Role.</p>
<p>The first issue I was having was that the Generating Server was not generating the OAB correctly. Probably not a good thing if people need to the Global Address List. So I hunted through the Event Viewer and found errors pertaining to the System Attendant <strong>&#8220;Microsoft Exchange System Attendant failed to read the membership of the Universal Security Group&#8221;</strong>. Now what I did here was to <strong>RESTART </strong>the System Attendant Service and that fixed those errors. From my research I gathered that the System Attendant caches some information regarding Globsal Catalogue Server and other information. We had been moving the FSMO and GC Roles around so that would have been the issue there.<br />
<span id="more-321"></span><br />
So then I opened up the Exchange Management Console and navigated to <em><strong>Organizational Configuration > Mailbox > Offline Address Book</strong></em> and removed the current OAB and created a new one, then right clicked it and selected UPDATE. I then went back into the Event Viewer and checked for errors and there were none. I wanted to double check that the OAB has been generated correctly so I ran this command from the Exchagne Management Shell.</p>
<p><strong>Get-OfflineAddressBook | fl</strong></p>
<p>Take a look at the output and note the <strong>GUID </strong>then navigate to C:\Program Files\Microsoft\Exchange Server. You should see a folder in there called ExchangeOAB and it should be shared. Inside that folder there should be another folder with the name of the GUID that you noted down from the above command.</p>
<p>What should happen now is that it should be <a href="http://blogs.msdn.com/dgoldman/archive/2006/08/25/How-Exchange-2007-OAB-Files-are-replicated-to-a-Client-Access-Server-for-download.aspx">replicated using The FDS (File Distribution Service)</a> that is located on the CAS Server. This is resbonsible for the replication of the OAB from the Generating Server to the CAS Server, my problem is that it is NOT replicating. The generating server has the files but the CAS Server doesn&#8217;t. Therefore my clients get this error when syncronizing.</p>
<p><strong>15:02:18 Microsoft Exchange offline address book<br />
15:02:18                                 Not downloading Offline address book files.  A server (URL) could not be located.<br />
15:02:18                0X8004010F </strong></p>
<p>Now if I check on the CAS Server I get a <strong>Successful </strong>Event like this.</p>
<p>Log Name:      Application<br />
Source:        MSExchangeFDS<br />
Date:          9/12/2008 8:22:34 AM<br />
Event ID:      1008<br />
Task Category: FileReplication<br />
Level:         Information<br />
Keywords:      Classic<br />
User:          N/A<br />
Computer:      CAS-SERVER<br />
Description:<br />
Process MSExchangeFDS.exe (PID=2332). Offline Address Book data synchronization task has completed successfully. OAB name: &#8220;FHS Offline Address Book&#8221;, Guid: 81319159-bded-41dc-916e-41cf99eb59b5</p>
<p>But when I looked on the CAS Server in this location <strong>C:\Program Files\Microsoft\Exchange Server\Client Access\OAB</strong> there is nothing there????? Anyway it was late and I thought I would wait and see if it replicated overnight. I came in the next day and checked and there we have it, the OAB replicated !!! Whoo Hoo.</p>
<p>But</p>
<p>The Clients were still receiving the error above <strong>&#8220;Not Downloading the Address Book&#8221;</strong>. I configured the OAB distribution using Web-Based Distribution. Now we are going through an ISA 2006 Proxy Server so I had a look at the Logs on the ISA Server and noticed that when the clients are downloading the address book that it is being rejected at the ISA Server. So to bypass this all you need to do is place the FQDN of the CAS Computer in the Web Proxy Tab of your Internal Network and the clients will then go directly to the CAS Server.</p>
<p>Now there are <strong>TON</strong> of people getting this these types of errors so I hope this will help a few of you out in troubleshooting this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/how-to-overcome-the-exchange-2007-oab-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forwarding Email With Exchange 2007</title>
		<link>http://www.msserveradmin.com/forwarding-email-with-exchange-2007/</link>
		<comments>http://www.msserveradmin.com/forwarding-email-with-exchange-2007/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 23:23:39 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=221</guid>
		<description><![CDATA[I had this situation the other day where a client needed to have their email forwarded from their Exchagne 2007 Mailbox to their newly created GMAIL Account. They will be using the GMAIL account as their primary email account for easier collaboration because they work in 2 different enterprises. In the Exchange 2007 environment POP3 [...]]]></description>
			<content:encoded><![CDATA[<p>I had this situation the other day where a client needed to have their email forwarded from their <strong>Exchagne 2007 Mailbox</strong> to their newly created <a href="http://mail.google.com">GMAIL </a>Account. They will be using the GMAIL account as their primary email account for easier collaboration because they work in 2 different enterprises. In the Exchange 2007 environment POP3 or IMAP are <strong>not enabled</strong> therefore he couldn&#8217;t set up GMAIL to fetch his mail that way.<br />
<br />
So to make this work I created a <strong>New Mail Contact</strong> on the Exchange 2007 Mailstore:<br />
<br />
Open up the <strong>Exchange Management Console > Click on the Recipient Configuration Node</strong>. Then from the Actions Pane on the Right click on <strong>&#8220;New Mail Contact&#8221;</strong>. Select New Contact and click next, Choose the Organizational Unit for the contact and fill out the appropriate fields. Then in the <strong>External Email Address</strong> box click Edit and enter in the SMTP Address of the external email address, click Next and then Finish.<br />
<br />
Now you have a new mail contact set up we can then <strong>forward </strong>the mail from the Exchange 2007 Mailbox to that mail contact.<br />
<br />
From the Exchange Management Console go to the <strong>Recipient Configuration > Malbox Node</strong> and find the mail box for which you would like the mail forwarded from, right click and select properties. Under the <strong>Mail Flow Settings</strong> Tab select <strong>Delivery Options</strong> and then Properties.<br />
<br />
Place a tick in the <strong>&#8220;Forward To&#8221;</strong> Box and then click Browse. Find the Mail Contact that you just created and click OK. There is anopther option that you can enable and that is to Deliver message to both forwarding address and mailbox. Put a tick in there if you would like to enable that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/forwarding-email-with-exchange-2007/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Schedule a Mailbox Export with Exchange 2007</title>
		<link>http://www.msserveradmin.com/schedule-a-mailbox-export-with-exchange-2007/</link>
		<comments>http://www.msserveradmin.com/schedule-a-mailbox-export-with-exchange-2007/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 02:29:00 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=137</guid>
		<description><![CDATA[A while ago I wrote about how to easily export Exchange 2007 MailBoxes to PST Files for archiving and backup purposes. Now that is OK if you want to run the process manually but what about scheduling the export for out of hours?

If you have followed the previous post and have successfully completed and export [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I wrote about how to <strong>easily </strong><a href="/how-to-backup-exchange-2007-mailboxes-to-pst-files/">export Exchange 2007 MailBoxes to PST Files</a> for archiving and backup purposes. Now that is OK if you want to run the process manually but what about scheduling the export for out of hours?<br />
<br />
If you have followed the previous post and have <strong>successfully </strong>completed and export to PST File you will notice that you have to confirm that you want to proceed with the operation. Very annoying if you want to schedule this script and in fact the task will fail. This is how I managed to get around the need to confirm before proceeding prompt in the Exchange 2007 Management Shell.<br />
<br />
If you remember from the previous post this command will export Mailboxes from a <strong>specific </strong>Database to individual PST Files.<br />
<br />
<strong>get-mailbox -database “SERVER_NAME\DATABSE_NAME” | export-mailbox -PSTFolderPath C:\PSTFiles</strong><br />
<br />
With this command you will get a prompt asking you to <strong>Press A for All Y for Yes N for No etc etc</strong>. Not good if you want to schedule this.<br />
<br />
Here is the KEY to avoid the prompts. Add <strong>-Confirm:$false</strong> to the end of the Export-Mailbox String. Therefore the new String would be:<br />
<br />
<strong>get-mailbox -database “SERVER_NAME\DATABSE_NAME” | export-mailbox -PSTFolderPath C:\PSTFiles -Confirm:$false</strong><br />
<br/><br />
All Done, Now you can Schedule away&#8230;&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/schedule-a-mailbox-export-with-exchange-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Send and Receive Connectors</title>
		<link>http://www.msserveradmin.com/exchange-2007-send-and-receive-connectors/</link>
		<comments>http://www.msserveradmin.com/exchange-2007-send-and-receive-connectors/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 22:00:36 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=73</guid>
		<description><![CDATA[For the past couple of days I have been struggling with our Exchange 2007 implementation. But I am glad to say that all things are looking good and we can now send and receive mail! Whoo Hoo&#8230;..

What I have been playing with is the Edge Server and the new improved Anti Spam features that it [...]]]></description>
			<content:encoded><![CDATA[<p>For the past couple of days I have been struggling with our <a href="/how-to-backup-exchange-2007-mailboxes-to-pst-files/">Exchange 2007</a> implementation. But I am glad to say that all things are looking good and we can now send and receive mail! Whoo Hoo&#8230;..<br />
<br />
What I have been playing with is the <strong>Edge Server</strong> and the new improved Anti Spam features that it brings to the table. Which for us is a reason in itself to implement an Exchange 2007 Mail system. But what has been frustrating is the fact that it did not seem to be working! But Yesterday we had a massive breakthrough.<br />
<br />
The setup that I had was the Edge Server is sitting <strong>behind </strong>our ISA 2006 firewall which is forwarding all SMTP Traffic to the Edge Server. But it wouldn&#8217;t work unless we had &#8220;Request Appear to come from the ISA Server computer&#8221; selected and the ISA Server Computer&#8217;s Ip Address in the &#8220;Allowed IP List&#8221; on the Edge Server. Now that was no good because then all the mail appeared to be coing from the ISA box and not the origional client.<br />
<br />
So&#8230;.What I did was I changed the <strong>gateway </strong>of the Edge Server to the ISA 2006 box and then changed the &#8220;Request Appear to come from the ISA Server computer&#8221; to &#8220;Request Appear to come from the origional client&#8221; in the SMTP Publishing Rule and BINGO the Edge Server is doing it&#8217;s Anti Spamming Job!<br />
<br />
The downside to that was that we now could not send any mail. Because the ISA box is in our DMZ we could get out. So after subscribing the Edge Server to Active Directory and the Organization it automatically creates <strong>Send and Receive Connectors</strong>. So what I did was change the &#8220;Source Server&#8221; from the Edge Server (which had a gateway of the ISA box) to our CAS (Client Access Server) which was also running the <strong>Hub Transprt Role</strong>. Our CAS Server had a different gateway and could send mail out. We now have a working model. And what is more important the new SPAM agent on the Edge Server is working a treat!!!!<br />
<br />
Daniel<br />
Creating a Working Exchange 2007 Infrastructure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/exchange-2007-send-and-receive-connectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Backup Exchange 2007 Mailboxes to PST Files</title>
		<link>http://www.msserveradmin.com/how-to-backup-exchange-2007-mailboxes-to-pst-files/</link>
		<comments>http://www.msserveradmin.com/how-to-backup-exchange-2007-mailboxes-to-pst-files/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 04:34:27 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=15</guid>
		<description><![CDATA[As the migration form Exchange 2003 to Exchange 2007 continues, one of the areas that is a MUST is the ability to backup mailboxes. In this Exchange 2007 How To, I will show you how you can export malboxes from your Exchange 2007 Database to individual PST Files.

In order to export or import mailboxes to [...]]]></description>
			<content:encoded><![CDATA[<p>As the <a href="/how-to-open-all-mailboxes-on-an-exchange-2007-database">migration form Exchange 2003 to Exchange 2007</a> continues, one of the areas that is a <strong>MUST </strong>is the ability to backup mailboxes. In this Exchange 2007 How To, I will show you how you can export malboxes from your Exchange 2007 Database to individual PST Files.<br />
<br />
In order to export or import mailboxes to PST files you will need to make sure that the following this are in order.</p>
<ul style="margin-top:10px;">
<li>Export/Import to PST must be run from a 32 bit client machine with Exchange Management Tools installed (Version Exchange 2007 SP1 or later). The 32bit requirement comes from a dependency with the Outlook client.</li>
<li>Either Outlook 2003 or Outlook 2007 must be installed on the client machine.</li>
<li>The user running the task must be an Exchange Organization Admin or an Exchange Server Admin on the server where the mailbox to export/import lives.</li>
</ul>
<p>
Open up the Exchange Management Shell, then what we are going to do is pipe the results from the <strong>GET-MAILBOX</strong> command to <strong>EXPORT-MAILBOX</strong>, Like so.<br />
<br />
<strong>get-mailbox -database &#8220;SERVER_NAME\DATABSE_NAME&#8221; | export-mailbox -PSTFolderPath C:\PSTFiles</strong><br />
<br />
What I think is great about this is that you can select different mail databases. For example we have 2 seperate databases, one for staff and one for students. Therefore we can split this process up and run it on different days.<br />
<br />
Next up is to create a scheduled task to run the Powershell Command. Subscribe to my <a href="http://feeds.feedburner.com/MsServerAdmin">RSS Feed</a> to keep up to date with more Windows Server Tips, Tricks and Tutorials.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/how-to-backup-exchange-2007-mailboxes-to-pst-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Open All Mailboxes on an Exchange 2007 Database</title>
		<link>http://www.msserveradmin.com/how-to-open-all-mailboxes-on-an-exchange-2007-database/</link>
		<comments>http://www.msserveradmin.com/how-to-open-all-mailboxes-on-an-exchange-2007-database/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 04:13:29 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>

		<guid isPermaLink="false">http://msserveradmin.com/?p=6</guid>
		<description><![CDATA[I have been working on a migration from an Exchange 2003 environment to Exchange 2007 over the past week and have just about completed it. A thing that I wanted to point out that I thought was pretty cool was how easy it was to grant people permissions to open up other users mailboxes from [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a migration from an <strong>Exchange 2003</strong> environment to <strong>Exchange 2007</strong> over the past week and have just about completed it. A thing that I wanted to point out that I thought was pretty cool was how easy it was to grant people permissions to open up other users mailboxes from the new <a href="http://www.msserveradmin.com">Exchange 2007</a> Command Shell (PowerShell)<br />
<br />
<strong>Add-ADPermission &#8220;DataBase Name&#8221; -User &#8220;Username&#8221; -ExtendedRights &#8220;Receive As&#8221;</strong><br />
<br />
There is a great need for this in my environment as I am often asked to track BAD Emails that students may or may not have sent. Executing the above command and replacing &#8220;Username&#8221; with my username, &#8220;Database Name&#8221; with the name of the database, in my case I have 2 seperate mail store databases for Staff and Students, and bingo I now have the ability to open all mailboxes in the database that I specified.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/how-to-open-all-mailboxes-on-an-exchange-2007-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
