<?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>Jonathan&#039;s Technology Blog &#187; System Center Operations Manager 2007 R2</title>
	<atom:link href="http://www.jonathancusson.com/tag/system-center-operations-manager-2007-r2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonathancusson.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 15:06:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Uninstall SCOM Agent the easy way</title>
		<link>http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/</link>
		<comments>http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 01:40:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[SCOM]]></category>
		<category><![CDATA[SCOM Agent]]></category>
		<category><![CDATA[System Center Operations Manager]]></category>
		<category><![CDATA[System Center Operations Manager 2007 R2]]></category>
		<category><![CDATA[Uninstall agent]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.jonathancusson.com/?p=249</guid>
		<description><![CDATA[I was deploying System Center Operations Manager 2007 R2 on clustered RMS for a client when we had a failure/corruption of the Windows cluster. After creating a new Windows cluster and reinstalling my RMS cluster I had an other issue. Agents already install were showing up in the console but the status was Not Monitored<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/' addthis:title='Uninstall SCOM Agent the easy way ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.jonathancusson.com/wp-content/uploads/2010/07/scomr2_5f00_logo.jpg"><img class="aligncenter size-full wp-image-255" title="scomr2_5f00_logo" src="http://www.jonathancusson.com/wp-content/uploads/2010/07/scomr2_5f00_logo.jpg" alt="" width="399" height="93" /></a></p>
<p style="text-align: left;">I was deploying System Center Operations Manager 2007 R2 on clustered RMS for a client when we had a failure/corruption of the Windows cluster. After creating a new Windows cluster and reinstalling my RMS cluster I had an other issue. Agents already install were showing up in the console but the status was Not Monitored even after several hours. I tried to do a repair and also tried to do a Modify on some servers but nothing. After seeking on Internet I found a solution but it was for removing the agent on one server using command line. Unfortunatly I needed to remove over 250 agents! I noticed other were also looking for a way to remove agents on several servers so here it is.</p>
<p>The easiest way to remove SCOM agent from a machine is to use one of the following command line (if you are not sure which version you got, follow the procedure <a href="http://blogs.infosupport.com/blogs/markw/archive/2009/10/27/esent-keys-are-required.aspx" target="_blank"><strong>here</strong></a>):</p>
<p><strong>Uninstall R2 Agent<br />
</strong>msiexec /x {25097770-2B1F-49F6-AB9D-1C708B96262A} /qn /norestart<br />
<strong>Uninstall SP1 Agent (slipstream only, not RTM upgrade)<br />
</strong>msiexec /x {E7600A9C-6782-4221-984E-AB89C780DC2D} /qn /norestart</p>
<p><strong>Uninstall SP1 Agent (RTM &gt; SP1 upgrade)<br />
</strong>msiexec /x {768DB8BD-CB3A-43F4-9A4C-BA2921D27AD3} /qn /norestart</p>
<p>Now if you have to remove the SCOM agent from several servers, you can use <a href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx" target="_blank"><strong>PSexec</strong></a> to do it. You will need the list of servers on which you want to remove the agent. Copy it in Note Pad, add the command line for each one and save the file as .cmd file. Each line should look like this:</p>
<p>psexec <strong>-d </strong>MachineName msiexec /x {25097770-2B1F-49F6-AB9D-1C708B96262A} /qn /norestart</p>
<p>or</p>
<p>psexec<strong>- d</strong> MachineName &#8220;msiexec /x {25097770-2B1F-49F6-AB9D-1C708B96262A} /qn /norestart&#8221;<br />
<span style="color: #888888;"><em>Note: It has occcured a few time that putting &#8221; &#8221; gave an error.</em></span></p>
<p>Putting <strong>-d </strong>tells psexec not to wait for application to terminate. This is useful if you are running this for a very large number of machines. Otherwise it might take a long time to run on all servers.<br />
Hope this helps!</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/' addthis:title='Uninstall SCOM Agent the easy way ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

