<?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>The Server Room &#187; Exchange</title>
	<atom:link href="http://serverroom.edublogs.org/category/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://serverroom.edublogs.org</link>
	<description>Pay no attention to the man behind the curtain (he's running the IT)</description>
	<lastBuildDate>Mon, 18 May 2009 18:47:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exchange 2003 high CPU (mad.exe)</title>
		<link>http://serverroom.edublogs.org/2009/05/18/exchange-2003-high-cpu-madexe/</link>
		<comments>http://serverroom.edublogs.org/2009/05/18/exchange-2003-high-cpu-madexe/#comments</comments>
		<pubDate>Mon, 18 May 2009 18:47:26 +0000</pubDate>
		<dc:creator>Sahmeepee</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[exchange 2003]]></category>

		<guid isPermaLink="false">http://serverroom.edublogs.org/?p=46</guid>
		<description><![CDATA[I noticed recently that both of my DCs and my Exchange 2003 server were running at higher CPU than normal. Only one of the DCs is a GC and it had recently fallen over due to a hardware failure, but had since been running for a few days without problems.
As the CPU usage was not [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed recently that both of my DCs and my Exchange 2003 server were running at higher CPU than normal. Only one of the DCs is a GC and it had recently fallen over due to a hardware failure, but had since been running for a few days without problems.</p>
<p>As the CPU usage was not excessive (20% on Exchange vs. typical usage of around 3-5%; 15% usage on the DCs compared to typical 1-3%) it had not impacted on performance, so I only noticed it from a perfmon trace I leave running against all servers. I logged onto a DC, ran task manager (taskmgr.exe) and found the task with highest CPU: <a title="lsass.exe" href="http://en.wikipedia.org/wiki/Local_Security_Authority_Subsystem_Service">lsass.exe</a>. A quick scan through the event logs on the affected servers didn&#8217;t turn up anything significant.</p>
<p>I then ran <a href="http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx">filemon</a> to see what files lsass was accessing and give me a quick insight into where the problem might lie. Almost all the accesses were relating to <a title="ridiculously detailed info about ntds.dit" href="http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000/AdminTips/ActiveDirectory/ActiveDirectorydatabasefileNTDS.DIT.html">ntds.dit</a> &#8211; the <a href="http://en.wikipedia.org/wiki/Active_Directory">AD</a> database. This <a href="http://blogs.msdn.com/spatdsg/archive/2007/01/30/what-s-bogging-down-your-cpu.aspx">microsofty&#8217;s blog post</a> had some good advice on tracking down CPU issues, but I couldn&#8217;t really use the tip of unplugging the server from the network so Wireshark was a better option. I chose to run <a href="http://www.wireshark.org/">wireshark</a> on the DC to check if the AD activity was generated on the DC itself or if a remote server was querying AD. As it turned out, Exchange was generating a lot of queries relating to other forests in the domain. Exchange is renowned for being very <a href="http://www.answers.com/stroppy">stroppy</a> about having good access to a GC and the information from Wireshark made me suspect that Exchange had become upset after a weekend without access to a GC in our AD site.</p>
<p>I moved over to the Exchange 2003 server and checked the high CPU services on there. Top of the pops was mad.exe &#8211; the Exchange System Attendant. The excellent Microsoft Exchange Team blog (you had me at ehlo) had a useful article entitled <a href="http://msexchangeteam.com/archive/2005/06/09/406137.aspx">The Cliff Notes on System Attendant (MAD.EXE)</a>. That confirmed my suspicions that Exchange was going a little bit haywire with AD queries so as a quick fix I restarted the system attendant service and its dependant services from the Windows services console (services.msc).</p>
<p>The high CPU persisted for a couple of minutes and then subsided. Another quick scan through the Exchange server&#8217;s event logs showed a splattering of ExchangeAL errors in the Application event log like this one:</p>
<pre>Event Type: Error
Event Source: MSExchangeAL
Event Category: LDAP Operations
Event ID: 8270
User:  N/A
Description:
LDAP returned the error [10] No Such Attribute when importing the transaction
dn: &lt;GUID=**********&gt;
changetype: Modify
msExchPoliciesIncluded:delete:{**********},{26491CFC-9E50-4857-861B-0CB8DF22B5D7}
msExchPoliciesIncluded:add:{**********},{26491CFC-9E50-4857-861B-0CB8DF22B5D7}
msExchALObjectVersion:329
objectGUID:**********
-</pre>
<p>&#8230; but they subsided after a couple of minutes too and the storm was over. Mad.exe was back down to 0.00% CPU and the DCs were behaving themselves. Job done.</p>
<p> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fserverroom.edublogs.org%2F2009%2F05%2F18%2Fexchange-2003-high-cpu-madexe%2F';
  addthis_title  = 'Exchange+2003+high+CPU+%28mad.exe%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://serverroom.edublogs.org/2009/05/18/exchange-2003-high-cpu-madexe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making mailto: links work in OWA</title>
		<link>http://serverroom.edublogs.org/2006/06/19/making-mailto-links-work-in-owa/</link>
		<comments>http://serverroom.edublogs.org/2006/06/19/making-mailto-links-work-in-owa/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 18:18:38 +0000</pubDate>
		<dc:creator>Sahmeepee</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://serverroom.edublogs.org/2006/06/19/making-mailto-links-work-in-owa/</guid>
		<description><![CDATA[I recently had one of those moments which I guess all techies have from time to time, where a once small irritation reaches the level where you have to completely obliterate it from existence. In this case, it was accidentally clicking on a mailto: link on a web page. For a number of reasons, here [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had one of those moments which I guess all techies have from time to time, where a once small irritation reaches the level where you have to completely obliterate it from existence. In this case, it was accidentally clicking on a mailto: link on a web page. For a number of reasons, here in school everyone uses Outlook Web Access, me included, but the mailto: link always starts up Outlook 2003. I then spend the next minute waiting for it to slowly get its act together so I can shut it down again and get on with my day. I decided to find a way to make mailto: links create a new message in Outlook Web Access instead and after a couple of hours&#8217; work here it is:</p>
<p>You will need:</p>
<ul>
<li>A web server which runs ASP pages</li>
<li>Outlook Web Access for Exchange 2003 (other versions not tested but may work)</li>
<li>Internet Explorer installed on your clients (doesn&#8217;t need to be the default browser)</li>
</ul>
<p>First, create an empty text document called exchredir.asp  and put the <a title="Outlook Web Access Mailto Redirector" href="http://www.google.com/notebook/public/17281530310508366682/BDR03SwoQyobW6r4h">exchredir.asp code listing</a> into it. (I&#8217;ve had to store the code listing in a Google Notebook, because Wordpress is a complete tart about quoting code) Make sure you edit the text in red to reflect your OWA server&#8217;s name; text in green can be customised to suit your setup, but isn&#8217;t critical.<br />
Drop exchredir.asp into a new folder on your ASP server where people can get at it, but make sure that you turn off anonymous access to the folder so that the script can pick up their username. To do that go into the IIS management console, find the directory containing exchredir.asp in the treeview on the left, properties &gt; directory security tab &gt; anonymous access and authentication control &gt; edit &gt; untick anonymous access.<br />
Finally, your computer needs to know that mailto: links are opened by our script so we need to register the &#8220;URL:MailTo Protocol&#8221; filetype in Windows Explorer (Tools &gt; Folder Options &gt; File types).</p>
<p><img alt="Folder Options dialog" src="http://serverroom.edublogs.org/files/2006/07/FolderOptions-MailToProtocol.png" /></p>
<p>Use the &#8220;Advanced&#8221; button to edit the action for &#8220;open&#8221; so that it reads, including quotes:</p>
<p>&#8220;<em>c:\program files\internet explorer</em>\iexplore.exe&#8221; http://<em>server</em>/<em>path</em>/exchredir.asp?mailto=%1</p>
<p>which makes the setting for all users of that computer.</p>
<p><img alt="Editing the MailTo Protocol settings" src="http://serverroom.edublogs.org/files/2006/07/EditFileType.png" /></p>
<p><img width="360" height="160" alt="Edit Open Action" src="http://serverroom.edublogs.org/files/2006/07/EditFileType-EditOpen.png" /></p>
<p>For a large number of users you may need to manipulate the registry keys at:</p>
<p>HKEY_CURRENT_USER\SOFTWARE\Classes\mailto\shell\open\command<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command</p>
<p>more info here: <a title="How to implement a per-user default mail client in Windows XP?" href="http://windowsxp.mvps.org/permail.htm">How to implement a per-user default mail client in Windows XP?</a></p>
<p>Now try testing a mailto link on a web page, such as the one at the end of the first paragraph of: <a href="http://www.bbc.co.uk/blogs/ouch/">http://www.bbc.co.uk/blogs/ouch/</a> . It should pop up a new email message in OWA with the To: field filled in for you. <a href="http://www.bbc.co.uk/blogs/ouch/"><br />
</a></p>
<p><strong>Limitations:</strong></p>
<p>At the moment I don&#8217;t know of a way of passing the subject into a new email message in OWA and it may not be possible at all, so I just drop the subject line &#8211; you&#8217;ll have to type it in yourself.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fserverroom.edublogs.org%2F2006%2F06%2F19%2Fmaking-mailto-links-work-in-owa%2F';
  addthis_title  = 'Making+mailto%3A+links+work+in+OWA';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://serverroom.edublogs.org/2006/06/19/making-mailto-links-work-in-owa/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
