Skip to main content

How to recover files from a deleted user account in Windows 10

4 min read

Mar 16, 2025

How to manually recover files from a deleted user profile in Windows 10

To recover your files effectively, you need to understand how to manually restore your lost data. However, there are some implications of this type of data recovery solution, which you should be aware of before you start:

Warning: This solution will require you to access your computer’s registry to recover the user account. Editing the Windows Registry file is a task that should be carried-out with extreme care. A corrupted Registry file could leave your device inoperable and require a full re-installation of your operating system, or could result in data loss. Please exercise extreme caution.

The steps we have outlined below are provided as a guidance only, and you should only proceed if you are comfortable. As intimidating as that sounds, don’t worry, we’ll be taking you through the process step-by-step. Nevertheless, take precautions and consider backing up your device.

Step 1: Get the security identifier (SID) for your user profile

The first step will be to find your SID, which will help you to identify the lost files in your computer’s registry.

  1. Open the Start menu on your desktop and search “cmd”
  2. Right-click the Command Prompt application and select “Run as administrator”
  3. In the window that pops up, type “whoami /user” (without the quotation marks) and hit the Enter/Return key
  4. This will generate a table with your username in the left-hand column, and a security identifier (SID) in the right-hand column
  5. Take note of your SID, which will be a string of numbers that looks something like this: S-1-5-21-0123456789-0123456789-012345678-0123

Step 2: Access your computer’s Windows Registry file

Once you have your SID, it’s time to head into the registry and use it to locate your missing user profile.

  1. Open the Start menu on your desktop and search “regedit”
  2. Hit Enter to open your computer’s Registry Editor
  3. Navigate to the following folder, opening one folder at a time:
  4. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  5. Within this folder, you should see the SID of your user profile, which you took note of earlier—it may even appear more than once

Step 3: Recover the deleted Windows user profile and files

Now that we have located the folder containing your missing data, we are ready to start restoring it.

In this section, we will provide two solutions, one for each of the two scenarios you may see in your own folder. Only one of these solutions will be relevant to you.

Be sure to follow the steps closely and double-check that you’ve selected the right file or folder, before taking any actions.

If you see two folders with your SID:

  1. Look at both folders. You will see that one ends with the file extension “.bak” and one does not.
  2. Right-click the folder that ends <u>without</u> “.bak” and click Delete
  3. Click Yes to confirm
  4. Close the Registry Editor and restart your PC
  5. Your deleted user account should be back and fully recovered, along with its files

If there is only one folder visible with your SID:

  1. Find the folder that matches your SID and check if it ends with the “.bak” file extension
  2. If so, right-click the folder and click Rename
  3. Remove the characters “.bak” from the file name, including the period, and hit Enter to confirm
  4. Close the Registry Editor and restart your PC
  5. Your deleted user account should be back and fully recovered, along with its files

You can now access the previously-deleted user account and make copies of any files you needed to recover.

What to do next: Backup your PC to make account and file recovery easy

It’s safe to say that the steps we’ve outlined above are very technical, and something most of us would only want to attempt in desperate circumstances with no other solution available.

Wouldn’t it be great if there was a way to avoid going through all that effort and stress in the first place?

Well, good news—there is an easier way, thanks to Dropbox Backup.

Dropbox Backup is an automatic cloud backup solution, meaning it routinely copies a snapshot of your device, your user accounts, and your data to the cloud. This backup—either in full, or just the parts you need—can then be recovered at any time, in a few clicks.

Because the backup is automatically stored in the cloud, it’s not taking up space on physical hard drives, or requiring you to spend time manually backing up. You can also recover your files and data from anywhere over the internet. In fact, you don’t even need to recover them to the original device.

A prompt message from Dropbox Backup, asking the user if they would like to put their backed up files on a selected computer.

Protect your user accounts and files today, with Dropbox Backup

Now that you’ve recovered your files from the deleted user account, it’s easy to protect your data with Dropbox Backup.

Explore related resources

A person looks at their monitor on a desktop computer in an office environment.

Can you recover overwritten files on your hard drive?

Overwriting a file by mistake can be a daunting experience. Learn how to recover your overwritten files, and prevent it from happening again, with our guide.

A person in an office smiles at their laptop screen as they figure out how to recover previous versions of their files.

How to restore a previous version of a file

If you’ve overwritten an old version of a file and want to know if you can roll it back, don’t worry: We’ve got four tried-and-tested methods you can try.

An open drawer in a desk, containing organized compartments full of office supplies and a calculator.

How to free up disk space on Mac and Windows

Discover how best to manage disk space, while enhancing both the performance of your computer and your own productivity.