<?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>windows 10 remove user profile Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/windows-10-remove-user-profile/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/windows-10-remove-user-profile/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Thu, 18 Aug 2022 23:15:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>How To Delete User Profiles In Windows 10</title>
		<link>https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/</link>
					<comments>https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Thu, 18 Aug 2022 23:15:30 +0000</pubDate>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Delete User Profiles In Windows 10]]></category>
		<category><![CDATA[remove user profile windows 10]]></category>
		<category><![CDATA[windows 10 remove user profile]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=4256</guid>

					<description><![CDATA[<p>If you&#8217;re looking to do some general house cleaning, a great first step is knowing how to delete user profiles in Windows 10. Removing user profiles in Windows is a great general practice and it helps keep the space to&#8230; <a href="https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/">How To Delete User Profiles In Windows 10</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re looking to do some general house cleaning, a great first step is knowing how to <strong>delete user profiles in Windows 10</strong>. Removing user profiles in Windows is a great general practice and it helps keep the space to a minimum on the local disk.  It&#8217;s also great for security too! Today we&#8217;re going to cover SEVERAL steps on how to complete this action on a single machine or many machines in bulk.<br />
&nbsp;</p>
<div id="tableofcontents">
<h2>Table Of Contents</h2>
<ul>
<li><a href="#deleteprofiles">Delete User Profiles In Windows 10</a></li>
<ul>
<li><a href="#manualmethod">Method 1 &#8211; Delete User Profiles Manually</a></li>
<li><a href="#delprof2">Method 2 &#8211; Remove User Profiles using DelProf2</a></li>
<li><a href="#grouppolicy">Method 3 &#8211; Removal using Group Policy</a></li>
</ul>
<li><a href="#conclusion">Conclusion</a></li>
</ul>
</div>
<div id="deleteprofiles" style="scroll-margin-top: 15px;"></div>
<h2>Delete User Profiles In Windows 10</h2>
<p>First off, there are several methods to accomplish this task and we&#8217;ll cover the most common ways of doing this. To give you an overview, we&#8217;ll review the manual method, the scripted method using delprof2 and the bulk method using Group Policy.  Each method has its own pros and cons and you&#8217;ll be able to choose which one works best for you.<br />
&nbsp;</p>
<div id="manualmethod" style="scroll-margin-top: 15px;"></div>
<h2>Method 1 &#8211; Delete User Profiles Manually</h2>
<p>If you want to delete a user profile in Windows and don&#8217;t want to download any additional tools, this will perhaps be the best option for you. We already know that this won&#8217;t scale and should only be used for adhoc situations.<br />
&nbsp;</p>
<p>On your Windows machine:</p>
<ul>
<li>Navigate to <strong>start</strong> -> <strong>run</strong> -> type <strong>sysdm.cpl</strong> to access the <strong>advanced system properties</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/07/Advanced-system-settings.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/07/Advanced-system-settings.png" alt="Advanced system settings" width="825" height="468" class="aligncenter size-full wp-image-4344" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/07/Advanced-system-settings.png?v=1659241473 825w, https://thesysadminchannel.com/wp-content/uploads/2022/07/Advanced-system-settings-768x436.png?v=1659241473 768w" sizes="(max-width: 825px) 100vw, 825px" /></a><br />
&nbsp;</p>
<ul>
<li>Select the user profile you want to delete</li>
<li>Click delete</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/07/Remove-User-Profile.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/07/Remove-User-Profile.png" alt="Remove User Profile" width="825" height="473" class="aligncenter size-full wp-image-4345" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/07/Remove-User-Profile.png?v=1659241504 825w, https://thesysadminchannel.com/wp-content/uploads/2022/07/Remove-User-Profile-768x440.png?v=1659241504 768w" sizes="(max-width: 825px) 100vw, 825px" /></a><br />
&nbsp;</p>
<p>There are occasions when you might have to manually delete the folder under C:\Users as well so that&#8217;s something that you should be aware of.</p>
<div id="delprof2" style="scroll-margin-top: 15px;"></div>
<h2>Method 2 &#8211; Remove User Profiles using DelProf2</h2>
<p>If you&#8217;re looking for more of a scripted approach, delfprof2 definitely takes the cake on that one.  DelfProf2 is the evolution to Microsoft&#8217;s original DelfProf (Delete Profile) but that was sadly no longer being updated after Windows XP.  Since DelProf2 doesn&#8217;t come standard on Windows machines, it is something you will have to download from the <a href="https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/" rel="noopener nofollow" target="_blank">owners website</a>.  It&#8217;s completely free but just note that it&#8217;s not an official Microsoft product.<br />
&nbsp;<br />
Direct Download Link: <a href="https://helgeklein.com/downloads/DelProf2/current/Delprof2 1.6.0.zip" rel="noopener nofollow" target="_blank">https://helgeklein.com/downloads/DelProf2/current/Delprof2 1.6.0.zip</a><br />
&nbsp;</p>
<p>This allows you to use the command line interface to touch multiple machines without much effort.  This mighty program also supports the removal of user profiles after x amount of days so that&#8217;s great if you don&#8217;t want to leave those stale profiles on the machines. Let&#8217;s cover a common example to help you get started (assuming you&#8217;ve already downloaded the app from the link above).<br />
&nbsp;</p>
<h4>List accounts that haven&#8217;t logged in for 14 days</h4>
<pre class="brush: powershell; title: ; notranslate">
PS C:\delprof&gt; .\DelProf2.exe /l /d:14
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-14-days-inactive.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-14-days-inactive.png" alt="Delprof2 14 days inactive" width="850" height="417" class="aligncenter size-full wp-image-4356" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-14-days-inactive.png?v=1660676379 850w, https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-14-days-inactive-768x377.png?v=1660676379 768w" sizes="(max-width: 850px) 100vw, 850px" /></a><br />
&nbsp;</p>
<h4>List accounts that match the name &#8216;Luke&#8217;</h4>
<pre class="brush: powershell; title: ; notranslate">
PS C:\delprof&gt; .\DelProf2.exe /id:luke /l
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-include-users.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-include-users.png" alt="Delprof2 include users" width="850" height="434" class="aligncenter size-full wp-image-4358" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-include-users.png?v=1660677479 850w, https://thesysadminchannel.com/wp-content/uploads/2022/08/Delprof2-include-users-768x392.png?v=1660677479 768w" sizes="(max-width: 850px) 100vw, 850px" /></a><br />
&nbsp;</p>
<p>For a full list of options you can always run <code>/?</code> to see what switches are currently suppported.<br />
&nbsp;</p>
<div id="grouppolicy" style="scroll-margin-top: 15px;"></div>
<h2>Method 3 &#8211; Removal using Group Policy</h2>
<p>Our last option allows us to remove user profiles using Group Policy.  This options is by far the one that scales the best since Group Policy is used in many on-premises infrastructures.  Let&#8217;s look at the settings to enable this policy via GPO.<br />
&nbsp;</p>
<p>With Group Policy Editor open:</p>
<ul>
<li>Navigate to <strong>Computer Configuration</strong> → <strong>Administrative Templates</strong> → <strong>System</strong> → <strong>User Profiles</strong></li>
<li>Select <strong>Delete user profiles older than a specified number of days on system restart</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo.png" alt="Remove user profile group policy gpo" width="969" height="549" class="aligncenter size-full wp-image-4360" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo.png?v=1660778142 969w, https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo-768x435.png?v=1660778142 768w" sizes="(max-width: 969px) 100vw, 969px" /></a><br />
&nbsp;</p>
<ul>
<li>Click Enabled and set the number of days to trigger the policy</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo-setting.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo-setting.png" alt="Remove user profile group policy gpo setting" width="883" height="636" class="aligncenter size-full wp-image-4361" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo-setting.png?v=1660778209 883w, https://thesysadminchannel.com/wp-content/uploads/2022/08/Remove-user-profile-group-policy-gpo-setting-768x553.png?v=1660778209 768w" sizes="(max-width: 883px) 100vw, 883px" /></a><br />
&nbsp;</p>
<p>While this option is great and scalable,  some users have noticed that the username folder under C:\Users is still there.  If that&#8217;s the case, you <em><strong>may</strong></em> need clean that manually if it poses an issue.</p>
<div id="blockquote1">
<strong>Important Note</strong>: Before applying anything to a large number of users, you should ALWAYS test on a on sample size to ensure you get the expected outcome you&#8217;re looking for.
</div>
<div id="conclusion" style="scroll-margin-top: 15px;"></div>
<h2>Conclusion</h2>
<p>Hopefully, this article was able to show you how to delete user profiles in Windows 10.  I provided 3 options that are pretty scalable as well a quick adhoc method.<br />
&nbsp;</p>
<p>Again, just to reiterate, you should always test before applying any configs just to ensure that everything is working as expected.  If you like this article, be sure to check out our own <a href="https://thesysadminchannel.com/powershell/" rel="noopener" target="_blank">PowerShell Gallery</a> for awesome scripts.</p>
<p>The post <a href="https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/">How To Delete User Profiles In Windows 10</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-delete-user-profiles-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4256</post-id>	</item>
	</channel>
</rss>
