WindowsData Recovery

How to Recover Accidentally Deleted Files on Windows

TG By The TechFix Guide Editorial Team  ·  Updated  ·  How we check our guides
Hands typing on a laptop keyboard in daylight next to a connected external hard drive on a bright desk

You emptied the Recycle Bin and only then realized the folder you needed was still in it. Or you held Shift while deleting, and the file skipped the Recycle Bin entirely. The good news: on Windows, deleted files are usually recoverable for free — but every minute matters, and the very first thing you do matters more than the tool you pick.

The golden rule: stop using the drive that held the file, right now. When Windows "deletes" a file it only marks the space as free — the data stays on the disk until something else overwrites it. Every new download, every browser page load, every temp file is a chance to bury your file for good. Minimize activity on that drive and do not install recovery software onto it.

Step 1: Check the Obvious Places First

Before any tool, spend two minutes ruling out the easy wins.

  • Recycle Bin: open it, use the search box for the file name, right-click → Restore.
  • Did you save over it or move it? Search the whole drive from File Explorer (type the file name in the search box at the top). Files migrate in mysterious ways — a "deleted" report is often just in Downloads instead of Documents.
  • Cloud copies: if you had OneDrive, Dropbox or Google Drive sync on that folder, log into the website. Most keep deleted files in their own trash for 30 days or more, and OneDrive even keeps version history per file.
  • Email and chat attachments: the version you sent someone last week may be sitting in Sent Items or a chat history.

Step 2: Restore a Previous Version

Windows can roll a folder back to an earlier snapshot if File History or System Protection was on — and many PCs have it on by default for the system drive.

  1. In File Explorer, right-click the folder that contained the file (restoring a parent folder usually works even if the file itself is gone).
  2. Choose Restore previous version.
  3. If a list of dated snapshots appears, pick one from before the deletion, open it to confirm your file is inside, then click Restore (or drag the file out to the desktop).

This is instant, free and safe. If the list is empty, File History simply was never enabled — keep reading.

Step 3: Recover with Windows File Recovery

Microsoft publishes its own free command-line recovery tool, Windows File Recovery, from the Microsoft Store. It works on Windows 10 (2004+) and Windows 11, reads NTFS, FAT and exFAT drives, and has no size limits or upsells.

How to use it

  1. Install Windows File Recovery from the Microsoft Store (it installs in seconds).
  2. Preferably save the recovered output to a different drive — a USB stick or a second disk. Saving to the same drive risks overwriting what you are recovering.
  3. Open Terminal (Admin) and use this pattern:
    winfr C: D:\Recovery /regular /n \Users\YourName\Documents\report.docx
    This scans drive C: for that specific file and writes it to D:\Recovery.
  4. To recover a whole folder and type of file instead:
    winfr C: D:\Recovery /regular /n \Users\YourName\Pictures\*.jpg
  5. If the regular mode finds nothing, retry with /extensive instead of /regular. It takes much longer but digs deeper, including into formatted or partly damaged areas.

The syntax looks scary but it is just "source drive, destination folder, mode, file filter". Start narrow — one file name — and widen only if needed.

Step 4: Third-Party Tools When All Else Fails

If Microsoft's tool comes up empty, two well-known free options are worth a try:

  • Recuva (Piriform, the CCleaner makers): friendliest interface, a wizard walks you through it. Use the "Deep Scan" option for Shift+Deleted files. Decline the bundled extras during install.
  • PhotoRec (open-source companion of TestDisk): ugliest interface, deepest reach. It ignores the file system and carves files by signature, so it can pull photos and documents out of badly damaged drives. It recovers by file type rather than name, so expect generic file names.

Same rule as before: install the tool and save the results on a different drive than the one you are scanning.

When Recovery Simply Is Not Possible

Be honest with yourself about two cases, so you stop wasting hours:

  • SSDs with TRIM enabled: most modern laptops and PCs store Windows on an SSD, and TRIM commands the drive to erase deleted data within minutes for performance reasons. Recovery from the system SSD is often impossible if hours have passed. External USB drives, older hard disks and flash drives behave differently and keep data much longer.
  • Heavy overwrite: if the drive was nearly full or the PC kept writing large files since the deletion, the space may genuinely be reused. Nothing recovers what no longer exists.

Make This the Last Time

Ten minutes of setup now beats any recovery session later:

  1. Turn on File History: Settings → System → Storage → Advanced storage options → Backup options, point it at an external drive or a second disk. It snapshots your files continuously and makes Step 2 above work forever.
  2. Keep OneDrive (or another cloud sync) on your Documents, Desktop and Pictures folders — its own 30-day trash is a free second safety net.
  3. Get into the habit: Delete moves to the Recycle Bin, Shift+Delete is for things you are certain about.

FAQ

Does the file still exist after emptying the Recycle Bin?

On a traditional hard drive or a USB stick, yes — until overwritten. On the system SSD, usually not for long, because of TRIM. That is why the "stop using the drive" rule matters within minutes on modern laptops.

Can I recover files from a formatted drive?

Often yes, especially if it was a quick format and little was written since. Windows File Recovery's /extensive mode and PhotoRec are built for exactly that. The odds drop sharply the more the drive is used after formatting.

Are the paid recovery tools better?

Their deep-scan engines are similar to the free options above. What you mostly pay for is convenience and support. Try the free route first — it resolves the majority of ordinary deletions — and only consider paid services for physically damaged drives, which are beyond any software anyway.

Quick Checklist

  • Stopped using the affected drive immediately
  • Checked Recycle Bin, full-drive search, cloud trash and email
  • Tried Restore previous version on the parent folder
  • Ran Windows File Recovery, output to a different drive
  • Escalated to /extensive, then Recuva or PhotoRec
  • Set up File History and cloud sync to prevent a repeat

Most accidental deletions end happily if you act before the space gets reused. Check the obvious places, try the built-in previous versions, then let Windows File Recovery dig — and set up File History tonight so the next scare lasts thirty seconds instead of an afternoon.