<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Exchange on Evan Hoffman</title><link>https://evan.wtf/tags/exchange/</link><description>Recent content in Exchange on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Sun, 18 Sep 2011 12:22:46 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/exchange/index.xml" rel="self" type="application/rss+xml"/><item><title>Exchange (OWA) CAS crashes with 503 error - again</title><link>https://evan.wtf/2011/09/18/exchange-owa-cas-crashes-with-503-error-again/</link><pubDate>Sun, 18 Sep 2011 12:22:46 +0000</pubDate><guid>https://evan.wtf/2011/09/18/exchange-owa-cas-crashes-with-503-error-again/</guid><description>&lt;p&gt;This just started happening &lt;a href="https://evan.wtf/evan/?p=986"&gt;again&lt;/a&gt;, with these errors appearing in the event viewer:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;Log Name: System&#10;Source: Microsoft-Windows-WAS&#10;Date: 9/18/2011 11:16:33 AM&#10;Event ID: 5011&#10;Task Category: None&#10;Level: Warning&#10;Keywords: Classic&#10;User: N/A&#10;Computer: exch2010fe1&#10;Description:&#10;A process serving application pool &amp;#39;MSExchangeOWAAppPool&amp;#39; suffered a&#10;fatal communication error with the Windows Process Activation Service.&#10;The process id was &amp;#39;3760&amp;#39;. The data field contains the error number.&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Log Name: System&#10;Source: Microsoft-Windows-WAS&#10;Date: 9/17/2011 6:47:07 AM&#10;Event ID: 5009&#10;Task Category: None&#10;Level: Warning&#10;Keywords: Classic&#10;User: N/A&#10;Computer: exch2010fe1&#10;Description:&#10;A process serving application pool &amp;lsquo;MSExchangeOWAAppPool&amp;rsquo; terminated&#10;unexpectedly. The process id was &amp;lsquo;3108&amp;rsquo;. The process exit code was&#10;&amp;lsquo;0x800703e9&amp;rsquo;.&lt;/p&gt;</description></item><item><title>Renaming a single-label domain to a FQDN</title><link>https://evan.wtf/2011/04/07/renaming-a-single-label-domain-to-a-fqdn/</link><pubDate>Thu, 07 Apr 2011 17:56:54 +0000</pubDate><guid>https://evan.wtf/2011/04/07/renaming-a-single-label-domain-to-a-fqdn/</guid><description>&lt;p&gt;Long ago &amp;ndash; eons, perhaps &amp;ndash; before I had anything to do with the Windows environment here, someone created the AD domain in my company as a single-label domain (e.g. instead of &amp;ldquo;example.com&amp;rdquo; our domain is just &amp;ldquo;example&amp;rdquo;). Over the years this has led to lots of &amp;ldquo;fun&amp;rdquo; on the part of Windows admins who&amp;rsquo;ve worked here as the implications of this choice became more apparent.&lt;/p&gt;&#10;&lt;p&gt;Since I inherited this system about a year ago, I haven&amp;rsquo;t really bumped up against any problems stemming from the single-label domain issue&amp;hellip; until now. I recently attempted to add a new Windows 2008r2 file server to our DFS replication group/namespace. This totally failed for some mysterious reason. Well, I shouldn&amp;rsquo;t say &amp;ldquo;totally&amp;rdquo; failed, as I was able to add it to the DFS replication group, but unable to add it to the DFS namespace. In my attempt to debug the namespace issue, I deleted the namespace and attempted to recreate it, but just kept getting this error: &lt;strong&gt;The namespace cannot be queried. The specified domain either does not exist or could not be contacted.&lt;/strong&gt;. I couldn&amp;rsquo;t do anything with the namespace - even clicking on it in the DFS Management console brought up an error. After some searching I found that this was likely due to having a single-label domain. I wasn&amp;rsquo;t sure why the error was happening even on Windows 2003 machines though, maybe joining a 2008r2 box to the domain made some schema changes? I tried a few suggestions like editing the hosts file but nothing seemed to resolve this.&lt;/p&gt;</description></item><item><title>Autodiscover mysteriously stopped working (Exchange 2010)</title><link>https://evan.wtf/2011/03/01/autodiscover-mysteriously-stopped-working-exchange-2010/</link><pubDate>Tue, 01 Mar 2011 12:30:30 +0000</pubDate><guid>https://evan.wtf/2011/03/01/autodiscover-mysteriously-stopped-working-exchange-2010/</guid><description>&lt;p&gt;I had &lt;a href="http://technet.microsoft.com/en-us/library/bb124251.aspx"&gt;Autodiscover&lt;/a&gt; working for months but recently it just stopped. I&amp;rsquo;m not sure why, but it may be related to removing the last Exchange 2003 servers from service recently. Maybe some setting got wiped from AD when I uninstalled Exchange 2003 (as per &lt;a href="http://technet.microsoft.com/en-us/library/bb288905%28EXCHG.80%29.aspx"&gt;the procedure&lt;/a&gt; Microsoft gives). Basically what was happening was that the email address field was being autopopulated by the user&amp;rsquo;s UPN rather than their email address. Since we have a &lt;a href="http://support.microsoft.com/kb/300684"&gt;single label domain&lt;/a&gt;, the UPN isn&amp;rsquo;t a valid email address, and autodiscovery fails.&lt;/p&gt;</description></item><item><title>Wasted time with Exchange 2010, SquirrelMail, and IMAP-SSL</title><link>https://evan.wtf/2010/11/30/wasted-time-with-exchange-2010-squirrelmail-and-imap-ssl/</link><pubDate>Tue, 30 Nov 2010 17:32:11 +0000</pubDate><guid>https://evan.wtf/2010/11/30/wasted-time-with-exchange-2010-squirrelmail-and-imap-ssl/</guid><description>&lt;p&gt;I&amp;rsquo;m setting up SquirrelMail to point to my Exchange 2010 server via IMAP (don&amp;rsquo;t ask) and couldn&amp;rsquo;t get SM to talk to Exchange on port 993 (imaps). Even though the servers on the same subnet, any time passwords are being sent over the network I like to opt for SSL. I found a couple of sites suggesting that the problem was that there was no SSL certificate installed, but I knew for a fact there was a valid certificate because I could get to &lt;a href="https://webmail.example.com/"&gt;https://webmail.example.com/&lt;/a&gt; for OWA.&lt;/p&gt;</description></item><item><title>Exchange 2010 Post-Upgrade weirdness: can't edit Mail Non-Universal Group or Security Group</title><link>https://evan.wtf/2010/10/21/exchange-2010-post-upgrade-weirdness-cant-edit-mail-non-universal-group-or-security-group-2/</link><pubDate>Thu, 21 Oct 2010 22:29:38 +0000</pubDate><guid>https://evan.wtf/2010/10/21/exchange-2010-post-upgrade-weirdness-cant-edit-mail-non-universal-group-or-security-group-2/</guid><description>&lt;p&gt;Now that everyone&amp;rsquo;s been moved to Exchange 2010 we&amp;rsquo;ve started using the 2010 Exchange Managment Console/Shell exclusively which has revealed some weirdness. First, we created a new group in AD using an old script (which used LDAP) and created a Mail-enabled Global Security group. We put people in the group, and everything seemed to be working fine until it was discovered that users in the group couldn&amp;rsquo;t see the group in the Global Address List. Users not in the group had no problem seeing the group. Additionally, users in the group couldn&amp;rsquo;t see &lt;em&gt;users&lt;/em&gt; added directly in 2010. This only appeared to affect the GAL; the users were able to send/receive email fine with the full SMTP addresses.&lt;/p&gt;</description></item><item><title>Exchange 2010 Post-Upgrade weirdness: can't edit Mail Non-Universal Group or Security Group</title><link>https://evan.wtf/2010/10/21/exchange-2010-post-upgrade-weirdness-cant-edit-mail-non-universal-group-or-security-group/</link><pubDate>Thu, 21 Oct 2010 22:29:38 +0000</pubDate><guid>https://evan.wtf/2010/10/21/exchange-2010-post-upgrade-weirdness-cant-edit-mail-non-universal-group-or-security-group/</guid><description>&lt;p&gt;Now that everyone&amp;rsquo;s been moved to Exchange 2010 we&amp;rsquo;ve started using the 2010 Exchange Managment Console/Shell exclusively which has revealed some weirdness. First, we created a new group in AD using an old script (which used LDAP) and created a Mail-enabled Global Security group. We put people in the group, and everything seemed to be working fine until it was discovered that users in the group couldn&amp;rsquo;t see the group in the Global Address List. Users not in the group had no problem seeing the group. Additionally, users in the group couldn&amp;rsquo;t see &lt;em&gt;users&lt;/em&gt; added directly in 2010. This only appeared to affect the GAL; the users were able to send/receive email fine with the full SMTP addresses.&lt;/p&gt;</description></item><item><title>Changing all Exchange mailboxes to use database defaults for quota limits with PowerShell</title><link>https://evan.wtf/2010/10/12/changing-all-exchange-mailboxes-to-use-database-defaults-for-quota-limits-with-powershell/</link><pubDate>Tue, 12 Oct 2010 16:38:03 +0000</pubDate><guid>https://evan.wtf/2010/10/12/changing-all-exchange-mailboxes-to-use-database-defaults-for-quota-limits-with-powershell/</guid><description>&lt;p&gt;Here&amp;rsquo;s an example of why I&amp;rsquo;ve come to love PowerShell. Under Exchange 2003, we set users&amp;rsquo; mailbox quota limits per-user, since we initially set them ridiculously high (around 20 GB). The reason we did that was that prior to this year we actually didn&amp;rsquo;t have &lt;strong&gt;any&lt;/strong&gt; quotas on user mailboxes and the average mailbox was about 9 GB. In preparation for moving Exchange to the datacenter (over our measly 5Mbps upload line) we introduced quotas and over the course of about 2 months gradually lowered the limits as people whittled away their old email until they were under the quota we had established (about 2.25 GB for the no-send limit &amp;ndash; I forgot the rationale for that number &amp;ndash; and 1.75 GB for the warning limit [the no-receive limit was set to about 40GB since I never wanted users to hit that limit]).&lt;/p&gt;</description></item><item><title>Finally, all users moved from Exchange 2003 to Exchange 2010.</title><link>https://evan.wtf/2010/10/12/finally-all-users-moved-from-exchange-2003-to-exchange-2010/</link><pubDate>Tue, 12 Oct 2010 15:29:44 +0000</pubDate><guid>https://evan.wtf/2010/10/12/finally-all-users-moved-from-exchange-2003-to-exchange-2010/</guid><description>&lt;p&gt;I&amp;rsquo;ve been working on migrating our Exchange environment from 2003 to 2010 for several months. My &lt;a href="https://evan.wtf/2010/04/14/moving-an-exchange-2003-server-to-another-location-with-minimal-risk-and-disruption/"&gt;first post about this&lt;/a&gt; is from April 14th, when I was just trying to virtualize our existing Exchange 2003 system. Once that was complete, I started playing around with Exchange 2010 around June or July, and had most of the users moved over to 2010 by the end of August. The last holdouts were Blackberry users. I couldn&amp;rsquo;t move their mailboxes because our BES was hosted on our original Exchange 2003 server.&lt;/p&gt;</description></item><item><title>Converting Exchange 2003 conference rooms to Exchange 2010</title><link>https://evan.wtf/2010/09/01/converting-exchange-2003-conference-rooms-to-exchange-2010/</link><pubDate>Wed, 01 Sep 2010 13:25:27 +0000</pubDate><guid>https://evan.wtf/2010/09/01/converting-exchange-2003-conference-rooms-to-exchange-2010/</guid><description>&lt;p&gt;I&amp;rsquo;m wrapping up moving mailboxes to Exchange 2010. The last ones to be moved (except for BlackBerry users&amp;hellip; thanks BES) are the conference rooms. So the first step was to move them using the Local Move tool, which was pretty simple. But I don&amp;rsquo;t want them in 2010 as user mailboxes if they can be designated as &amp;ldquo;rooms,&amp;rdquo; which they can. So here&amp;rsquo;s how I&amp;rsquo;m doing it:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Identify the mailboxes to be moved&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Exchange 2010 - Out-of-office response (OOF) won't turn off?</title><link>https://evan.wtf/2010/08/11/exchange-2010-out-of-office-response-oof-wont-turn-off-2/</link><pubDate>Wed, 11 Aug 2010 12:44:34 +0000</pubDate><guid>https://evan.wtf/2010/08/11/exchange-2010-out-of-office-response-oof-wont-turn-off-2/</guid><description>&lt;p&gt;Two users reported the same problem this week: they turned on their out-of-office reply while they were out, then came back and turned it off. Except even after they turned it off, the autoreply was still being sent out. I had them log in to OWA and make sure it was off (maybe some weird bug with Outlook not registering the change in the server), which it was in both cases. I Googled hard and fast and couldn&amp;rsquo;t find anyone with this same problem.&lt;/p&gt;</description></item><item><title>Exchange 2010 - Out-of-office response (OOF) won't turn off?</title><link>https://evan.wtf/2010/08/11/exchange-2010-out-of-office-response-oof-wont-turn-off/</link><pubDate>Wed, 11 Aug 2010 12:44:34 +0000</pubDate><guid>https://evan.wtf/2010/08/11/exchange-2010-out-of-office-response-oof-wont-turn-off/</guid><description>&lt;p&gt;Two users reported the same problem this week: they turned on their out-of-office reply while they were out, then came back and turned it off. Except even after they turned it off, the autoreply was still being sent out. I had them log in to OWA and make sure it was off (maybe some weird bug with Outlook not registering the change in the server), which it was in both cases. I Googled hard and fast and couldn&amp;rsquo;t find anyone with this same problem.&lt;/p&gt;</description></item><item><title>Changing Active Directory Password in Browser through OWA 2010</title><link>https://evan.wtf/2010/08/05/changing-active-directory-password-in-browser-through-owa-2010/</link><pubDate>Thu, 05 Aug 2010 11:29:41 +0000</pubDate><guid>https://evan.wtf/2010/08/05/changing-active-directory-password-in-browser-through-owa-2010/</guid><description>&lt;p&gt;A few months ago I was on a quest to figure out how to change my Active Directory password via a browser (for Linux/Mac users). I &lt;a href="https://evan.wtf/2010/01/13/victory-change-active-directory-password-via-ldap-through-browser/"&gt;finally figured it out&lt;/a&gt;, but since I&amp;rsquo;ve been working on this Exchange 2010 migration I noticed one of the features of OWA (Outlook Web App) in Exchange 2010 is that you can change the AD password right in the browser from within the app:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://evan.wtf/wp-content/uploads/2010/08/change-password-owa1.png"&gt;&lt;img src="https://evan.wtf/wp-content/uploads/2010/08/change-password-owa1.png" alt="" title="Change Password OWA"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Outlook 2007 &amp; Exchange 2010 Autodiscover SSL certificate error annoyance</title><link>https://evan.wtf/2010/07/27/outlook-2007-exchange-2010-autodiscover-ssl-certificate-error-annoyance/</link><pubDate>Tue, 27 Jul 2010 11:51:54 +0000</pubDate><guid>https://evan.wtf/2010/07/27/outlook-2007-exchange-2010-autodiscover-ssl-certificate-error-annoyance/</guid><description>&lt;p&gt;One of the more annoying side effects of migrating my mailbox to Exchange 2010 has been the nagging of Outlook 2007&amp;rsquo;s Autodiscovery feature. Now, every time I start Outlook I get hit with a certificate error for autodiscover.domain.com. Now, autodiscover.domain.com is a CNAME to mail.domain.com, which is the OWA URL for the CAS. The SSL certificate is valid - but it&amp;rsquo;s valid for mail.domain.com. I could buy &lt;a href="http://affiliate.godaddy.com/redirect/57C9CDCFC2D9286731DFC80559FF75B02AA47A2EADDA2D5CC2407E21C4FBC792" title="Go Daddy $12.99 SSL Sale!"&gt;a SSL certificate from GoDaddy for $12.99&lt;/a&gt; (an insanely great price, btw) for &amp;ldquo;autodiscover&amp;rdquo; but that would also require using another IP address on the CAS (since you can can only bind one SSL certificate to an IP:port pair), and that seems like a waste of an IP address.&lt;/p&gt;</description></item><item><title>The Joy of Migrating from Exchange 2003 to 2010</title><link>https://evan.wtf/2010/07/20/migrating-from-exchange-2003-to-2010-and-other-fun-bits/</link><pubDate>Tue, 20 Jul 2010 13:57:13 +0000</pubDate><guid>https://evan.wtf/2010/07/20/migrating-from-exchange-2003-to-2010-and-other-fun-bits/</guid><description>&lt;p&gt;I&amp;rsquo;ve been working on migrating from Exchange 2003 to Exchange 2010 for several weeks. Actually, at this point it feels like several months. Now that I think about it, I guess that&amp;rsquo;s because it&amp;rsquo;s actually &lt;em&gt;been&lt;/em&gt; several months.&lt;/p&gt;&#10;&lt;p&gt;Back in January or February, I got fed up with the Exchange setup I inherited: our Exchange 2003 server was running on a server in the basement of our office, on non-UPS power, with a power company that likes to pull shenanigans (like 3-4 hour outages every few months). In addition, the physical machine itself has some weird bug where it would hang at the POST screen complaining about some USB device, even though there are no USB devices plugged in, and USB is disabled in the BIOS. Meanwhile, in the datacenter, I had recently finished migrating most of our ancient physical servers to virtual machines on beautiful new hardware. It didn&amp;rsquo;t take long to see the solution that seemed to be obvious: move Exchange to the datacenter, in a VM.&lt;/p&gt;</description></item><item><title>When single-sign-on isn't.</title><link>https://evan.wtf/2010/07/16/when-single-sign-on-isnt-2/</link><pubDate>Fri, 16 Jul 2010 10:09:22 +0000</pubDate><guid>https://evan.wtf/2010/07/16/when-single-sign-on-isnt-2/</guid><description>&lt;p&gt;I&amp;rsquo;m looking into training courses for Exchange 2010, and to add a course to &amp;ldquo;My Learning,&amp;rdquo; which I guess is the equivalent of a shopping cart, I had to sign in with my Live.com ID. I have a Live.com ID because you need one to see your MS licenses and download ISOs, etc. It&amp;rsquo;s not as seamless as Google&amp;rsquo;s ID but it seems to work ok most of the time. But here&amp;rsquo;s an instance where it sucks:&lt;/p&gt;</description></item><item><title>When single-sign-on isn't.</title><link>https://evan.wtf/2010/07/16/when-single-sign-on-isnt/</link><pubDate>Fri, 16 Jul 2010 10:09:22 +0000</pubDate><guid>https://evan.wtf/2010/07/16/when-single-sign-on-isnt/</guid><description>&lt;p&gt;I&amp;rsquo;m looking into training courses for Exchange 2010, and to add a course to &amp;ldquo;My Learning,&amp;rdquo; which I guess is the equivalent of a shopping cart, I had to sign in with my Live.com ID. I have a Live.com ID because you need one to see your MS licenses and download ISOs, etc. It&amp;rsquo;s not as seamless as Google&amp;rsquo;s ID but it seems to work ok most of the time. But here&amp;rsquo;s an instance where it sucks:&lt;/p&gt;</description></item><item><title>Exchange 2010 and Set-ActiveSyncVirtualDirectory Identity</title><link>https://evan.wtf/2010/07/12/exchange-2010-and-set-activesyncvirtualdirectory-identity/</link><pubDate>Mon, 12 Jul 2010 14:43:21 +0000</pubDate><guid>https://evan.wtf/2010/07/12/exchange-2010-and-set-activesyncvirtualdirectory-identity/</guid><description>&lt;p&gt;I don&amp;rsquo;t really know why I put this blog up, but generally I write stuff here after I muddle through some ridiculous problem that may have ended up being easily resolved, but whose solution was hard to find. That&amp;rsquo;s definitely the case with this post. Currently I&amp;rsquo;m in the middle of moving my company&amp;rsquo;s email from Exchange 2003 to Exchange 2010. Microsoft has provided some pretty good &lt;a href="http://technet.microsoft.com/en-us/library/aa998604.aspx"&gt;documentation&lt;/a&gt; on how to do this, but they do assume a certain level of familiarity with the product. For example, I probably spent 30 minutes trying to run Exchange cmdlets in Powershell before I realized there&amp;rsquo;s a special shell just for Exchange, the Exchange Management Shell.&lt;/p&gt;</description></item><item><title>Hygiene Management?</title><link>https://evan.wtf/2010/06/03/hygiene-management/</link><pubDate>Thu, 03 Jun 2010 15:55:39 +0000</pubDate><guid>https://evan.wtf/2010/06/03/hygiene-management/</guid><description>&lt;p&gt;I&amp;rsquo;m installing Exchange 2010 and in the docs it shows a bunch of groups that get created in the AD Schema during the domain prep part. After running prep, I looked to see if the groups were there, and sure enough they were (yay). What caught my eye was that one of the groups is called &lt;strong&gt;Hygiene Management&lt;/strong&gt;. I thought maybe this was an Easter Egg from MS, but &lt;a href="http://technet.microsoft.com/en-us/library/dd776125.aspx"&gt;apparently&lt;/a&gt; it&amp;rsquo;s just the name of the group of people who can manage the Exchange antivirus/antispam features. Still funny though.&lt;/p&gt;</description></item><item><title>Generate a report of Exchange mailbox sizes broken out by department and location</title><link>https://evan.wtf/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/</link><pubDate>Thu, 29 Apr 2010 11:44:44 +0000</pubDate><guid>https://evan.wtf/2010/04/29/generate-a-report-of-exchange-mailbox-sizes-broken-out-by-department-and-location/</guid><description>&lt;p&gt;I found a script a few months ago that generated a CSV report of mailbox size, which included the Mailbox Name (usually the user&amp;rsquo;s name), size in Kbytes, number of items, which server it&amp;rsquo;s on, etc. This was very helpful, but I wanted to see which department within the company used the most space on the mail server, and the department wasn&amp;rsquo;t one of the pieces of data included in the report. It took a while but I figured out how to do LDAP lookups in vbscript and was able to add that info, so the report now has the user&amp;rsquo;s department, office location, and quota limit in it as well as the other fields. This makes it very easy to do a PivotChart in Excel to generate a pie chart of the size by department. The script is attached - change the extension to .vbs to run it. You&amp;rsquo;ll need to plug in your Exchange server and domain controller where the placeholders currently are.&lt;/p&gt;</description></item><item><title>Moving an Exchange 2003 server to another location with minimal risk and disruption?</title><link>https://evan.wtf/2010/04/14/moving-an-exchange-2003-server-to-another-location-with-minimal-risk-and-disruption/</link><pubDate>Wed, 14 Apr 2010 01:38:51 +0000</pubDate><guid>https://evan.wtf/2010/04/14/moving-an-exchange-2003-server-to-another-location-with-minimal-risk-and-disruption/</guid><description>&lt;p&gt;So our Exchange server is located in our office building. This made sense at the time because that&amp;rsquo;s where the users are. Over time though, this has proved problematic for a few reasons. Primarily, our office is certainly not a datacenter and doesn&amp;rsquo;t offer the amenities of one - clean, reliable power, and redundant cooling. In an average year we lose power probably 10-15 times, often for an hour or more. The rest of our production environment is hosted in a top-tier datacenter, so after a while I started to wonder why our Exchange server wasn&amp;rsquo;t there, and making plans to move it there. Oh, and did I mention I&amp;rsquo;m not an Exchange admin in any sense of the term? I just inherited the Exchange server about 2 months ago.&lt;/p&gt;</description></item></channel></rss>