<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: SCCM Client Complete Uninstall / Remove + Powershell Script	</title>
	<atom:link href="https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/</link>
	<description>The Core of all Optimization - IT, Security, Software, Scripting</description>
	<lastBuildDate>Sun, 07 Sep 2025 19:33:48 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Core Optimizer		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-20029</link>

		<dc:creator><![CDATA[Core Optimizer]]></dc:creator>
		<pubDate>Sun, 07 Sep 2025 19:33:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-20029</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-19847&quot;&gt;Anonymous&lt;/a&gt;.

You&#039;re welcome]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-19847">Anonymous</a>.</p>
<p>You&#8217;re welcome</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-19847</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 14 May 2025 18:31:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-19847</guid>

					<description><![CDATA[Thanks!!!]]></description>
			<content:encoded><![CDATA[<p>Thanks!!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Core Optimizer		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-10592</link>

		<dc:creator><![CDATA[Core Optimizer]]></dc:creator>
		<pubDate>Mon, 02 Sep 2024 11:34:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-10592</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-10424&quot;&gt;Anonymous&lt;/a&gt;.

Thank you!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-10424">Anonymous</a>.</p>
<p>Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-10424</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Mon, 26 Aug 2024 21:13:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-10424</guid>

					<description><![CDATA[Great instructions. Thanks!]]></description>
			<content:encoded><![CDATA[<p>Great instructions. Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-1373</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Fri, 18 Mar 2022 17:49:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-1373</guid>

					<description><![CDATA[Thank you. Worked a treat for resolving an issue. I had duplicate GUIs from clones. Uninstalling the agent from the master image was not enough.]]></description>
			<content:encoded><![CDATA[<p>Thank you. Worked a treat for resolving an issue. I had duplicate GUIs from clones. Uninstalling the agent from the master image was not enough.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: coreoptimizer		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-311</link>

		<dc:creator><![CDATA[coreoptimizer]]></dc:creator>
		<pubDate>Sat, 31 Oct 2020 14:52:31 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-311</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-297&quot;&gt;Martin Tylich&lt;/a&gt;.

Hello Martin,
Possible issues could be:
* Some process holds the folder - Try to find it and kill
* You don&#039;t have enough permissions on this host
* Try running the script as Administrator]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-297">Martin Tylich</a>.</p>
<p>Hello Martin,<br />
Possible issues could be:<br />
* Some process holds the folder &#8211; Try to find it and kill<br />
* You don&#8217;t have enough permissions on this host<br />
* Try running the script as Administrator</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Martin Tylich		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-297</link>

		<dc:creator><![CDATA[Martin Tylich]]></dc:creator>
		<pubDate>Tue, 13 Oct 2020 19:01:45 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-297</guid>

					<description><![CDATA[Hi please how can I solve problem that I cannot remove entire content of C:\Windows\CCM? 

Access denied]]></description>
			<content:encoded><![CDATA[<p>Hi please how can I solve problem that I cannot remove entire content of C:\Windows\CCM? </p>
<p>Access denied</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: coreoptimizer		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-80</link>

		<dc:creator><![CDATA[coreoptimizer]]></dc:creator>
		<pubDate>Mon, 14 Oct 2019 13:21:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-80</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-60&quot;&gt;George Jenkins&lt;/a&gt;.

You&#039;re right it will be much easier to monitor the process and then send the restart by powershell. You can add many checks during the run to hide the red lines. This script was published for SCCM professionals to get rid of all the leftovers of the client for the maintenance purposes. It just takes more time to add these checks and for the script to run. This script should be as simple as possible without too much code as it is a maintenance tool and related for experienced users. I believe that the more code you add the more error there could be during the runs. So I don&#039;t think all the checks are necessary, but off course you can do as you think best suits your needs. From my experience with the SCCM client removal it is best to restart after the regular /uninstall command as there are still services, registry and WMI entries that can be locked and this script simply won&#039;t be able to remove them all. Too bad Microsoft makes it THIS hard to do something that simple. I&#039;m glad this is worked for you!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-60">George Jenkins</a>.</p>
<p>You&#8217;re right it will be much easier to monitor the process and then send the restart by powershell. You can add many checks during the run to hide the red lines. This script was published for SCCM professionals to get rid of all the leftovers of the client for the maintenance purposes. It just takes more time to add these checks and for the script to run. This script should be as simple as possible without too much code as it is a maintenance tool and related for experienced users. I believe that the more code you add the more error there could be during the runs. So I don&#8217;t think all the checks are necessary, but off course you can do as you think best suits your needs. From my experience with the SCCM client removal it is best to restart after the regular /uninstall command as there are still services, registry and WMI entries that can be locked and this script simply won&#8217;t be able to remove them all. Too bad Microsoft makes it THIS hard to do something that simple. I&#8217;m glad this is worked for you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: George Jenkins		</title>
		<link>https://www.optimizationcore.com/deployment/sccm-client-complete-remove-uninstall-powershell-script/#comment-60</link>

		<dc:creator><![CDATA[George Jenkins]]></dc:creator>
		<pubDate>Thu, 12 Sep 2019 16:53:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.optimizationcore.com/?p=167#comment-60</guid>

					<description><![CDATA[I noticed most of the files and keys were removed during the ccmsetup.exe /uninstall command.  Why not monitor win32_process for ccmsetup then execute the rest of the script after ccmsetup is gone from win32_process.  Also, place test-path for  each of the lines so there&#039;s not so much red text while running the script. I don&#039;t think there&#039;s a restart required until all the script components have been removed (but I haven&#039;t tested this much yet). Thanks for posting this information.  Worked like a charm and the SCCM server has pushed out an updated ccmsetup client to my workstation that had a corrupt installation.]]></description>
			<content:encoded><![CDATA[<p>I noticed most of the files and keys were removed during the ccmsetup.exe /uninstall command.  Why not monitor win32_process for ccmsetup then execute the rest of the script after ccmsetup is gone from win32_process.  Also, place test-path for  each of the lines so there&#8217;s not so much red text while running the script. I don&#8217;t think there&#8217;s a restart required until all the script components have been removed (but I haven&#8217;t tested this much yet). Thanks for posting this information.  Worked like a charm and the SCCM server has pushed out an updated ccmsetup client to my workstation that had a corrupt installation.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
