Drive Restorer
Windows 10 & 11 Buy license · $29.95
Deleted files

How to Recover Deleted Files in Windows 11 and Windows 10

Recover deleted files in Windows 11 or 10: check the Recycle Bin, backups and previous versions, then scan the drive safely before the data is overwritten.

Updated 6 minute read The Drive Restorer team

To recover deleted files in Windows 11 or Windows 10, work from the easiest fix to the hardest: check the Recycle Bin, press Ctrl+Z if you only just deleted the file, look for a backup in File History, Previous Versions or OneDrive, and if none of those have it, stop using the drive and scan it with recovery software that restores to a different drive. Deleted files usually stay on the disk until new data overwrites them, so speed matters more than anything else.

This guide walks through each method in order, explains which ones work for which kind of delete, and is honest about the cases where recovery is unlikely.

First: stop using the drive

When Windows deletes a file, it does not wipe the data. It removes the file's entry from the file system and marks the space as free. The contents stay where they were until Windows needs that space for something else. Every download, install, browser cache update and Windows update is a chance for that to happen.

  • If the files were on your C: drive, close programs you do not need and avoid downloading or saving anything to C:.
  • If they were on a USB stick, SD card or external drive, unplug it and put it somewhere safe until you are ready to scan.
  • Do not install recovery software onto the drive you lost files from. Use a second drive if you have one.

Our checklist of what to do right after accidentally deleting files covers this in more detail.

Method 1: Undo and the Recycle Bin

If you deleted the file a moment ago in File Explorer and have not done anything else since, press Ctrl+Z in the same File Explorer window. Windows reverses the last file operation, including a delete to the Recycle Bin.

Otherwise, check the Recycle Bin:

  1. Open Recycle Bin from the desktop, or type shell:RecycleBinFolder in the File Explorer address bar.
  2. Switch to Details view and click the Date Deleted column to sort the newest items to the top.
  3. Use the search box at the top right if you remember part of the file name.
  4. Right-click the file or folder and choose Restore. It goes back to its original location.

Some deletes never reach the Recycle Bin at all: Shift+Delete, files deleted from USB flash drives and SD cards, files on network drives, files deleted from a command prompt, and items too large for the bin's size limit.

Method 2: File History, Previous Versions and OneDrive

These only help if a backup feature was turned on before the file was deleted, but they are worth a two-minute check.

File History

  1. Open the folder where the file used to be.
  2. In Windows 10, click Home → History on the ribbon. In Windows 11, open Control Panel → System and Security → File History → Restore personal files.
  3. Use the arrows to move back to a date when the file existed, select it and click the green restore button.

Previous Versions

Right-click the folder that held the file, choose Properties and open the Previous Versions tab (in Windows 11 you may need Show more options first). If File History or restore points captured that folder, you can open an older copy and drag the file out.

OneDrive

If the file was in a OneDrive-synced folder, including a Desktop, Documents or Pictures folder backed up by OneDrive, sign in at the OneDrive website and open the Recycle bin. Personal accounts keep deleted items for 30 days.

Method 3: Scan the drive with recovery software

When the Recycle Bin is empty and there is no backup, recovery software reads the drive directly and finds files Windows no longer lists. This is where most permanently deleted files come back.

With Drive Restorer the process looks like this:

  1. Pick the drive the files were on, or the folder they were in.
  2. Run a quick scan. It reads the file system's records of recently deleted files and usually finds them with their original names and folders.
  3. Run a deep scan if needed. If the files are not in the quick scan results, the deep scan reads every sector and recognizes files by their content. It finds more, but usually without original names.
  4. Filter and preview. Filter by type, size, date or name, then preview photos, videos and documents. Each file gets a recovery chance rating, from excellent to overwritten.
  5. Restore to a different drive. Save the files to another internal drive, an external drive or a USB stick, never to the drive you are scanning.

Drive Restorer only reads the drive it is scanning, so the scan itself does not make things worse. Long deep scans can be saved and resumed later.

If you are not sure which scan to start with, see quick scan vs deep scan.

Microsoft's Windows File Recovery tool

Microsoft also publishes Windows File Recovery, a command-line app in the Microsoft Store for Windows 10 (version 2004 and later) and Windows 11. You type a winfr command naming the source drive, a destination drive and a mode, for example:

winfr C: E: /regular /n \Users\YourName\Documents\

It works, but it has no preview, no graphical interface and no rating of which files are intact, so it suits people comfortable at a command prompt. Our step-by-step guide to using Windows File Recovery explains the modes and switches.

What decides whether you get your files back

SituationBest first stepTypical chances
Deleted to the Recycle BinRestore from the binExcellent
Recycle Bin emptied or Shift+Delete, drive barely used sinceQuick scanVery good on hard drives, USB sticks and SD cards
Deleted weeks ago on a busy C: driveQuick scan, then deep scanMixed: some files will be overwritten
Deleted on an SSD with TRIM enabledCheck backups, then scan quicklyOften low
Drive clicking, not detected or physically damagedImage the drive or contact a labLimited with software

Two factors matter most. The first is how much has been written to the drive since the delete. The second is the type of drive. Most internal SSDs in Windows 10 and 11 PCs use TRIM, which tells the SSD which blocks are free so it can clear them in the background. Once that happens, no software can bring the data back.

Be wary of any tool or service that promises guaranteed recovery. Overwritten data and data cleared by TRIM cannot be recovered by anyone. A good tool tells you which files are intact before you restore them.

Common mistakes that make recovery harder

  • Restoring to the same drive. Writing recovered files back to the drive you are scanning can overwrite other deleted files you have not recovered yet.
  • Running CHKDSK or a "repair" first. Repairs change the file system and can remove the records recovery software relies on. Recover first, repair later.
  • Formatting a drive Windows says needs formatting. Click Cancel instead and recover the files first.
  • Waiting. On a system drive, Windows writes data constantly. The sooner you scan, the better your chances.

Preventing the next loss

Once you have your files back, spend five minutes making sure you never need this guide again. Turn on File History to an external drive, or use OneDrive folder backup for Desktop, Documents and Pictures. Keep at least one copy of important files on a separate drive, and check occasionally that your backup actually contains what you think it does.

Frequently asked questions

Can I recover files deleted months ago?

Sometimes. A deleted file stays on a hard drive until new data overwrites its space, so old files on a lightly used drive can still be found. On a busy system drive or an SSD with TRIM, the chances drop quickly.

Does Windows 11 have a built-in file recovery tool?

Windows has the Recycle Bin, File History and Previous Versions. Microsoft also offers Windows File Recovery, a free command-line app from the Microsoft Store, but it has no preview and no graphical interface.

Should I install recovery software on the drive I lost files from?

No. Installing anything on that drive can overwrite the deleted data. Install and run recovery software from a different drive if you can, and always restore to another drive.

Get three guides like this every month, plus software update notices.Subscribe →