UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
Windows 11 File Explorer open at C Users folder showing a stubborn old user profile folder that cannot be deleted on a modern desktop PC
Fix It Yourself · Troubleshooting

delete user home folder

Updated 26 July 202613 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

You've removed the account. You've rebooted. You've even tried right-clicking and hitting Delete about four times, and yet that folder in C:\Users is still sitting there, stubbornly refusing to go anywhere. Sound familiar? We see this almost every day on remote support sessions, and the good news is it's almost always fixable without reinstalling anything. The key to being able to delete user home folder properly is understanding why Windows is blocking you, because the fix depends entirely on the root cause.

TL;DR

To delete user home folder in Windows, first try SystemPropertiesAdvanced.exe > User Profiles > Delete. If that fails, boot to Safe Mode or take ownership via the Security tab. For stubborn cases, clean the ProfileList registry key and force-delete with rd /s /q from an elevated Command Prompt.

⏳️ 13 min read ✅ 85% success rate 📅 Updated June 2026

Key Takeaways

  • The most common reason you can't delete user home folder is that Windows still has the profile registered in the ProfileList registry key, even after the account is gone.
  • Always try SystemPropertiesAdvanced.exe > User Profiles first. It's the official Microsoft method and handles both the registry and the folder together.
  • Safe Mode clears most background process locks. If File Explorer won't delete the folder normally, Safe Mode fixes it about 70% of the time.
  • For permission errors, take ownership with takeown and grant Full Control with icacls before running rd /s /q.
  • Never try to delete the Default or Public profile folders. Windows will block you and you can cause real damage trying to force it.

At a Glance

  • Difficulty: Easy to Advanced
  • Time Required: 5 to 30 mins
  • Success Rate: 85% of users fixed with Tier 1 or Tier 2

What Causes the Delete User Home Folder Problem?

There are a few different things that can cause this, and they're not all the same fix. The most common one, by a long way, is the ProfileList registry key. When Windows creates a user account, it writes a record into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList that links the user's SID (Security Identifier) to their home folder path. When you delete the account through Settings or Control Panel, that registry entry doesn't always get cleaned up. So Windows still thinks the profile exists, and it protects the folder accordingly. You'll typically see a 'You don't currently have permission to access this folder' message, or sometimes just a vague 'in use' error with no further explanation.

The second big culprit is file locks. Background services like Windows Search (indexing), antivirus real-time scanning, or even scheduled tasks can have handles open on files inside that folder. It doesn't matter that the account is gone. If a process has a file open, Windows won't let you delete the parent folder. Rebooting usually clears these, but not always, which is why Safe Mode is so useful here.

NTFS permissions are the third thing to watch out for. The deleted user's SID may still be listed as the owner of files inside the folder. Your admin account might not have Full Control, even if you're a local administrator. This is especially common when the account was a domain or Microsoft account rather than a plain local account. The fix is taking ownership and explicitly granting yourself Full Control, which we'll cover in the intermediate section.

One more thing worth mentioning: if the folder you're trying to remove is called Default or Public, stop right there. These are system-protected profile folders and Windows will not let you delete them, full stop. The Default profile is used as a template when new accounts are created. Deleting it would break new account creation entirely. If you've accidentally tried to delete one of these and something's gone wrong, you may need to run sfc /scannow from an elevated Command Prompt to repair it. That's a separate issue from what we're covering here, but it's worth flagging.

Domain and Entra ID (formerly Azure AD) accounts add another layer of complexity. When a domain account is removed from Active Directory or Entra ID, the local profile can linger because the local machine still has the cached profile registered. The account technically no longer exists in the directory, but the local ProfileList entry is still there. The fix is the same as for local accounts, but you should double-check that the domain account really is gone before deleting anything locally.

Delete User Home Folder: Quick Fix (5 to 10 Minutes)

Start here. This works for the majority of cases and doesn't require touching the registry or command line. The key step most people miss is using System Properties rather than File Explorer.

1

System Properties Profile Delete Easy

  1. Verify the account is gone
    Press Win + I, go to Accounts, then Family & other users. If the old account is still listed, click it and choose Remove or Delete account and data before going any further. Trying to delete user home folder while the account still exists will just cause more headaches.
  2. Open System Properties
    Press Win + R, type SystemPropertiesAdvanced.exe and press Enter. This opens the Advanced System Properties dialog. Under the User Profiles section, click Settings.
  3. Delete the old profile
    You'll see a list of profiles. The old one might show the username, or it might just say 'Account Unknown' if Windows can no longer match the SID to an account. Either way, select it and click Delete. Confirm when prompted. Windows will remove the ProfileList registry entry and the folder at the same time.
  4. Check C:\Users
    Open File Explorer and go to C:\Users. The folder should be gone. If it is, you're sorted. If it's still there, reboot once and check again before moving to the next tier.
If the folder has disappeared from C:\Users, you're done. No further steps needed.
If the profile doesn't appear in the User Profiles list at all, it means the registry entry was already cleaned up but the folder itself is still there. Skip straight to the File Explorer delete or, if that fails, the command-line method in Tier 3.

One thing worth knowing: if you've already tried manually deleting the folder from File Explorer before reading this, you may have left Windows in a slightly confused state where the ProfileList entry still exists but the folder is gone. In that case, the System Properties list might show the old profile as 'Account Unknown' with a path that no longer exists. You can still delete it from there, and it'll clean up the registry entry. Job done.

More Delete User Home Folder Solutions (Intermediate)

If the quick fix didn't work, either the folder is still showing permission errors or something is holding a file lock. These two steps cover both scenarios without needing to touch the registry.

2

Safe Mode Delete Easy

  1. Enter Safe Mode
    Hold Shift and click Restart from the Start menu Power button. Go to Troubleshoot, then Advanced options, then Startup Settings, then Restart. When the options appear, press 4 for Safe Mode (or 5 for Safe Mode with Networking if you need internet access).
  2. Log in as administrator and delete
    Log in with your admin account. Open File Explorer, go to C:\Users, right-click the old user folder and select Delete. Safe Mode prevents most background services from running, so the file locks that were blocking you in normal Windows are gone. Restart normally afterwards.
If the folder deleted cleanly in Safe Mode, restart normally and verify it's gone from C:\Users.
3

Take Ownership via GUI Medium

  1. Open folder Security settings
    Log in as an administrator. Right-click the old user folder in C:\Users, go to Properties, then the Security tab, then click Advanced at the bottom.
  2. Change the owner
    At the top of the Advanced Security Settings window, next to Owner, click Change. Type Administrators (or your specific admin username), click Check Names to validate it, then click OK. Before applying, tick the box that says 'Replace owner on subcontainers and objects'. This cascades the ownership change down through every subfolder and file. Click Apply.
  3. Grant Full Control
    Back on the Security tab, click Edit, select your Administrators group or admin account, and make sure Full Control is ticked. Click OK to apply. Now try deleting the folder again from File Explorer. It should go through without any permission errors.
Once ownership and Full Control are set, the folder should delete without errors. Check C:\Users to confirm it's gone.

The ownership issue is particularly common when the deleted account was a Microsoft account (the type linked to an email address) rather than a plain local account. Microsoft accounts get their own unique SID, and when the account is removed, that SID remains as the owner of all the files. Your admin account simply doesn't have the rights to touch them until you explicitly take ownership. This is by design from a security standpoint, but it's proper annoying when you're just trying to clean up disk space.

If you're dealing with a work PC that was joined to a domain, the same thing applies but the SID belongs to the domain account. You might also find that the folder ownership shows a long SID string like S-1-5-21-1234567890-... instead of a username, because the domain controller is no longer around to resolve it. Taking ownership as described above still works fine in that case.

Advanced Delete User Home Folder Fixes

Still stuck? This is where we go to the command line and the registry. These steps are irreversible, so create a System Restore point before you start. Press Win + R, type sysdm.cpl, go to System Protection, and click Create. Takes about 30 seconds and gives you a safety net.

These steps permanently delete all data in the profile folder. Make sure you've backed up anything important first. There's no Recycle Bin safety net when using rd /s /q from the command line.
4

ProfileList Registry Cleanup + Command-Line Delete Advanced

  1. Verify the account is gone via Command Prompt
    Open Command Prompt as Administrator (right-click the Start button, choose Terminal (Admin) or Command Prompt (Admin)). Run net users to list all local accounts. If the old username still appears, delete it: net user "OldUserName" /delete. Replace OldUserName with the actual account name. This ensures you're not about to delete a live account's data.
  2. Try the command-line delete first
    Run: rd /s /q "C:\Users\OldUserName". The /s flag removes all subfolders and files, /q skips the confirmation prompt. According to Microsoft's rd command documentation, this is the standard method for recursive directory removal. If it completes without errors, you're done. If you get 'Access is denied', continue to the next step.
  3. Clean the ProfileList registry entry
    Press Win + R, type regedit and press Enter. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. You'll see a list of SID subkeys (they look like S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX). Click each one and look at the ProfileImagePath value on the right side. Find the one that shows C:\Users\OldUserName. Right-click that SID key in the left panel, select Delete, and confirm. Close Registry Editor and restart the PC. This removes the profile-level lock that was preventing deletion.
  4. Force ownership and permissions from command line
    After restarting, open an elevated Command Prompt again. Run these two commands in order:
    takeown /f "C:\Users\OldUserName" /r /d y
    icacls "C:\Users\OldUserName" /grant Administrators:F /t
    The takeown command recursively sets ownership to the current administrator. The icacls command then grants Full Control to the Administrators group across all subfolders and files. The /t flag makes it recursive.
  5. Delete the folder
    Now run: rd /s /q "C:\Users\OldUserName". This should complete cleanly. If it still fails (which is rare at this point), check whether any process is still holding a lock by using Sysinternals Process Explorer, which can show exactly which process has a handle on which file.
  6. Verify everything is clean
    Open File Explorer and confirm C:\Users\OldUserName is gone. Reopen Registry Editor and check that the ProfileList SID key no longer exists. Restart the PC one more time and log in normally to make sure no errors appear.
The folder is deleted and the ProfileList registry entry is gone. Windows will no longer reference this profile on startup.
If you're on a domain-joined machine and the account was an Entra ID (Azure AD) account, you may also need to check under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IdentityStore\Cache for lingering identity cache entries. These don't usually block deletion but can cause confusion if you're seeing the old username pop up in unexpected places after the folder is gone.

We've seen cases where takeown and icacls both report success but rd still throws an access denied error on one specific subfolder. Nine times out of ten, that's antivirus holding a lock on a file it scanned and cached. Temporarily disabling real-time protection (just for the deletion, not permanently) usually sorts it. Also worth checking: if the machine has OneDrive sync running, OneDrive can hold locks on files in the user's Documents or Desktop folders even after the account is deleted. Pausing OneDrive sync before deletion avoids this.

For those dealing with this in a managed environment, it's worth knowing that you can also use our Windows user management guide for handling bulk profile cleanup across multiple machines. Doing this one by one via the GUI gets old fast when you've got twenty machines to clean up.

Preventing the Delete User Home Folder Problem

Most of this is avoidable with a slightly better off-boarding process. Here's what actually makes a difference, in order of importance.

1. Use the right removal sequence. Always delete the account via Settings > Accounts first, then immediately go to SystemPropertiesAdvanced.exe > User Profiles > Settings and delete the profile from there before anything else. This is the only method that cleans both the registry entry and the folder in one go. Skipping the System Properties step is how most people end up in this situation.

2. Make sure the user is fully logged off. If the user has an active session (RDP, a background service running as that account, or a scheduled task), the profile will be locked. Check Task Manager > Users tab before attempting removal. If you see the old username there, log them off first.

3. Back up before you delete. Once a profile is deleted through System Properties or rd /s /q, the data is gone. There's no Recycle Bin recovery. If there's any chance the user left important files in their Documents, Desktop, or Downloads folders, copy those out first. See our Windows data backup guide if you need a quick method for this.

4. In domain or Entra ID environments, standardise the process. Use Group Policy to configure automatic profile cleanup: Computer Configuration > Administrative Templates > System > User Profiles > 'Delete user profiles older than a specified number of days on system restart'. Set this to something sensible like 30 days. It won't help with the current mess, but it prevents future accumulation. Microsoft's own guidance on profile management, covered in their Windows profile troubleshooting documentation, recommends this for multi-user environments.

5. Don't move or rename C:\Users folders manually. This is a surprisingly common one. Someone renames a user folder thinking it'll rename the account, or moves it to a different drive. This breaks the ProfileImagePath registry link and causes exactly the kind of deletion problems we've been fixing here. If you need to move profiles, use the supported method via System Properties or a proper profile migration tool.

If you're managing a fleet of machines and want a more automated approach to user cleanup, our Windows admin tools overview covers some useful options for bulk profile management without touching each machine individually.

Delete User Home Folder: Summary

So to recap: the reason you usually can't delete user home folder in Windows isn't a bug exactly, it's Windows doing its job of protecting profile data, just a bit too enthusiastically after the account is gone. The ProfileList registry key is the most common culprit. The System Properties method (SystemPropertiesAdvanced.exe > User Profiles) is the cleanest fix because it handles both the registry and the folder together. If that doesn't work, Safe Mode clears most file locks. And if you're still stuck, the combination of takeown, icacls, and rd /s /q from an elevated Command Prompt will get it done in virtually every case. Just remember to clean the ProfileList registry entry before or after, or Windows may still act confused even with the folder gone. And whatever you do, leave the Default and Public folders alone.

Frequently Asked Questions

Windows may still have the profile registered in its ProfileList registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Background processes or antivirus can also hold file locks. Use SystemPropertiesAdvanced.exe > User Profiles to remove the registry entry, or take ownership and grant Full Control before trying to delete.

Use the built-in Microsoft method: remove the account via Settings > Accounts, then open SystemPropertiesAdvanced.exe, click Settings under User Profiles, select the old profile (it may show as Account Unknown), and click Delete. This cleans both the registry entry and the folder in one go.

No. Windows explicitly blocks deletion of the Default profile, and Public is not a standard user profile. Do not attempt to remove either via File Explorer or the command line. Doing so can break Windows and may require an SFC repair or in-place upgrade to fix.

Open Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Each SID subkey (like S-1-5-21-...) has a ProfileImagePath value. Match that path to the folder you want to delete, for example C:\Users\OldUserName, and delete that SID key.

Not really. If you delete the folder without removing the matching ProfileList registry entry, Windows can get confused, causing login errors or temporary profiles for other users. Always clean the registry entry first, or use the System Properties UI which handles both automatically.