Delete a Windows User Profile – Step‑by‑Step Guide
In this article
Yes, you can delete a Windows user profile, and the safest way is to use the built‑in Settings or Control Panel tools while logged in with an administrator account.
What You’ll Need
- An account with administrator privileges on the PC.
- Any personal files from the profile you want to keep – copy them to another drive or external storage before you delete.
- Basic familiarity with the Settings app or Control Panel.
Step‑by‑Step
- Log in with an administrator account. The profile you wish to delete cannot be the one you are currently using, so sign out of the target account and sign in to another account that has admin rights.
- Open Settings. Press Windows + I or click the Start button and select the gear icon.
- Navigate to Accounts → Family & other users. The exact wording may vary slightly between Windows 10 and Windows 11, but the path is the same: Accounts, then the section that lists other people who use this PC.
- Select the account you want to remove. Under the “Other users” heading you will see a list of local and Microsoft accounts. Click the name of the profile you plan to delete.
- Click the Remove button. A dialog appears asking whether you want to delete the account and its data. Choose Delete account and data to erase the user’s profile folder, user registry hive, and any files stored in the default profile locations (Desktop, Documents, Downloads, etc.).
- Confirm the deletion. Windows will ask you one more time to confirm. Click Delete account and data again. The system removes the account from the user list and begins cleaning up the profile folder.
- If you only want to keep the files, choose Keep files instead. The user’s data will be moved to a folder called
C:\Users\Deleted Usersfor you to retrieve later.
- If you only want to keep the files, choose Keep files instead. The user’s data will be moved to a folder called
- Verify that the profile folder is gone. Open File Explorer, go to
C:\Users, and ensure the folder with the deleted username is no longer present. If it remains, you will need to delete it manually (see the optional manual cleanup step below). - Optional: Manual cleanup via System Properties. Some remnants may stay behind, especially if the profile was corrupted. To fully remove them:
- Press Windows + Pause/Break to open the System window, then click Advanced system settings on the right.
- In the System Properties dialog, go to the Advanced tab and click Settings under User Profiles.
- Select the profile you want to delete from the list and click Delete. Confirm the prompt.
- Restart the computer. A quick reboot ensures that any cached registry entries are cleared and that the system fully reflects the removal.
Common Mistakes
- Trying to delete the profile while logged into it. Windows will refuse and display an error that the account is currently in use.
- Deleting the account but forgetting to back up important files. Once the profile folder is removed, recovery becomes extremely difficult without third‑party data‑recovery tools.
- Using the “Remove” button in Settings but not checking the “Delete account and data” option, which leaves the profile folder behind and can waste disk space.
- Attempting to delete a Microsoft‑linked account from a work or school PC where the organization controls the account. In those cases the option may be greyed out.
- Confusing the “Family & other users” list with the “User Accounts” control panel in older Windows versions. The steps differ slightly, but the principle is the same.
Tips
- Always create a system restore point before removing a profile. Search for “Create a restore point” in the Start menu, then click Create. This gives you a fallback if something goes wrong.
- If you need to keep the user’s data but not the account, use the Keep files option. The files are copied to
C:\Users\Deleted Users\[UserName]where you can move them to another location. - Enable hidden files and protected operating system files (Folder Options > View) before manually deleting the profile folder. This lets you see the
NTUSER.DATregistry hive that may otherwise be hidden. - For bulk deletions (e.g., in a lab environment), you can use the command line:
net user username /deletefollowed byrd /s /q C:\Users\username. Run these commands in an elevated Command Prompt. - After deletion, run
disk cleanupor a third‑party disk‑space analyzer to reclaim any residual space left by orphaned files.
Troubleshooting
If the profile does not disappear after following the steps above, try the following sequence:
- Restart the PC. A simple reboot often releases file handles that were preventing deletion.
- Check for open processes. Open Task Manager (Ctrl + Shift + Esc), go to the Details tab, and look for any processes that still run under the deleted user’s name. End those tasks and attempt deletion again.
- Run Windows Update. Occasionally a pending update locks certain system files. Install any available updates, restart, and retry.
- Use Safe Mode. Boot into Safe Mode (Shift + Restart → Troubleshoot → Advanced options → Startup Settings → Restart → press 4). In Safe Mode the profile folder is less likely to be in use, allowing you to delete it manually.
- Delete via the command line. Open an elevated Command Prompt and type:
net user username /delete
followed byrd /s /q "C:\Users\username". Replaceusernamewith the exact profile name.- If you receive “Access is denied,” make sure you are running the prompt as administrator.
- Check permissions. Right‑click the profile folder, choose Properties** → **Security**, and ensure your admin account has Full Control. If not, click Edit** → **Add**, type
Administrators, and grant Full Control. - Use the Registry Editor as a last resort. Open
regedit, navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList, locate the subkey whoseProfileImagePathpoints to the unwanted profile, and delete that subkey. Be extremely careful—deleting the wrong key can corrupt the system.
After any of these actions, restart the computer and verify that the profile folder is gone. If the folder still appears, it may be a hidden system folder created by a third‑party program; investigate the folder’s contents before forcing deletion.
Frequently Asked Questions
Can I delete a Microsoft account without losing its data?
Yes. Choose the “Keep files” option when you click Remove. Windows copies the user’s Documents, Pictures, Desktop, and other folders to C:\Users\Deleted Users\[UserName] so you can retrieve them later.
Do I need to be an administrator to delete a profile?
Absolutely. Only accounts with admin rights can remove other users and delete the associated profile folders.
What happens to apps installed only for the deleted user?
Per‑user app data stored under the user’s AppData folder is removed with the profile. System‑wide applications remain installed, but any shortcuts that pointed to the deleted user’s start‑menu folder disappear.
Why does the profile folder stay on disk after I delete the account?
Windows sometimes leaves the folder when the account had files that were in use, or when the profile was corrupted. Using the System Properties > User Profiles dialog or Safe Mode manual deletion resolves this.
Can I delete a domain‑joined user profile on a work PC?
Only if you have local admin rights and the domain policy does not restrict profile removal. In many corporate environments the IT department controls profile deletion.
Is there a way to automate profile deletion for many computers?
Yes. Use PowerShell scripts that call Remove-LocalUser and then delete the corresponding folder, or deploy Group Policy Preferences to remove local accounts in bulk.