<?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>Networknet.nl Blog &#187; shell</title>
	<atom:link href="http://www.networknet.nl/apps/wp/archives/tag/shell/feed" rel="self" type="application/rss+xml" />
	<link>http://www.networknet.nl/apps/wp</link>
	<description>Stay Connected</description>
	<lastBuildDate>Sat, 04 Sep 2010 16:37:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Exchange 2007: unexpected error with management shell</title>
		<link>http://www.networknet.nl/apps/wp/archives/947</link>
		<comments>http://www.networknet.nl/apps/wp/archives/947#comments</comments>
		<pubDate>Mon, 01 Feb 2010 21:36:59 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[managment]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unexpected]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/947</guid>
		<description><![CDATA[&#160; I received the following error message when opening and running a cmdlet with my Exchange Management Shell: &#160; &#160; [PS] C:\Documents and Settings\admin&#62;Export-Mailbox -identity user1 -PSTFolderPath c:\user1.pst WARNING: An unexpected error has occurred and debug information is being generated: Unable to determine the installed file version from the registry key &#8216;Software\Microsoft\Exchange\Setup&#8217;. Export-Mailbox : Unable]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/Exchange2007unexpectederrorwithmanagemen_BCB1/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="image" border="0" alt="image" align="left" src="http://www.networknet.nl/apps/wp/wp-content/uploads/Exchange2007unexpectederrorwithmanagemen_BCB1/image_thumb.png" width="107" height="94" /></a>&#160; I received the following error message when opening and running a cmdlet with my Exchange Management Shell:</p>
<p>&#160;</p>
<p>&#160;</p>
<blockquote><p><font color="#808000">[PS]</font> C:\Documents and Settings\admin&gt;Export-Mailbox -identity user1 -PSTFolderPath c:\user1.pst       <br /><font color="#808000">WARNING: An unexpected error has occurred and debug information is being generated: Unable to determine the installed file version        <br />from the registry key &#8216;Software\Microsoft\Exchange\Setup&#8217;.</font>       <br /><font color="#ff0000">Export-Mailbox : Unable to determine the installed file version from the registry key &#8216;Software\Microsoft\Exchange\Setup&#8217;.        <br />At line:1 char:15         <br />+ Export-Mailbox &lt;&lt;&lt;&lt;&#160; -identity user1 -PSTFolderPath c:\user1.pst         <br />&#160;&#160;&#160; + CategoryInfo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : NotSpecified: (:) [Export-Mailbox], TaskException         <br />&#160;&#160;&#160; + FullyQualifiedErrorId : Microsoft.Exchange.Configuration.Tasks.TaskException,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox</font></p>
</blockquote>
<p>Just looking on the error message it seems that something was missing in the Windows Registry. I opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange. The Setup key was missing. Exchange 2007 management tools were installed to another server than Exchange Server was installed. I logged on the Exchange 2007 server, opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange key.&#160; The Setup folder was visible and I right-clicked on the Setup folder and exported the Setup branch.</p>
<p>I went back to my Exchange 2007 Management installed server and imported the reg file. </p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/Exchange2007unexpectederrorwithmanagemen_BCB1/image_3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.networknet.nl/apps/wp/wp-content/uploads/Exchange2007unexpectederrorwithmanagemen_BCB1/image_thumb_3.png" width="504" height="237" /></a> </p>
</p>
<p>After importing the reg file my problem was solved and I had another challenge with Export-Mailbox cmdlet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/947/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
