Deleted a File by Mistake? How to Recover It for Free on Windows

Deleted a File by Mistake? How to Recover It for Free on Windows

Quick answer: Stop using the drive as much as possible, then check, in order: the Recycle Bin, OneDrive’s recycle bin, Restore previous versions on the folder, and finally Microsoft’s free Windows File Recovery tool. The sooner you act, the better your chances.

That sinking feeling after deleting the wrong file is horrible. The good news is that “deleted” rarely means gone straight away. Here’s how to get it back without paying for recovery software.

Step 0: Stop writing to the drive

When you delete a file, Windows marks its space as free. Anything new you save, download or install can overwrite it. Avoid downloading big files or installing programs on the same drive until you’ve recovered what you need.

1. Check the Recycle Bin

Open the Recycle Bin from your desktop, find the file (sort by Date deleted), right-click it and choose Restore. It goes back to its original folder.

Files deleted with Shift + Delete, from USB drives, or that were too large for the bin skip this step, so read on.

2. Check OneDrive (or your cloud service)

If the file was in a OneDrive-synced folder such as Documents or Desktop, sign in at onedrive.com and open the Recycle bin. Deleted files usually stay there for a limited time. Google Drive and Dropbox have similar “Bin” or “Deleted files” sections.

3. Restore a previous version

If you use File History or have restore points, right-click the folder that contained the file, choose Properties → Previous Versions, pick a date from before the deletion, and click Open to copy the file out, or Restore.

4. Use Windows File Recovery

Microsoft offers a free command-line tool called Windows File Recovery in the Microsoft Store. It can find permanently deleted files. Basic use:

  1. Install it from the Microsoft Store, ideally while saving to a different drive or a USB stick.
  2. Open it (it runs as administrator).
  3. Type a command telling it where to search and where to save, for example: winfr C: D: /regular /n \Users\YourName\Documents\*.docx searches C: for Word files from your Documents folder and saves what it finds to D:.

The recovery destination must be a different drive from the one you’re searching. Microsoft’s support page for the tool explains the modes in detail.

A note about SSDs

Most modern laptops use SSDs, which clean up deleted data quickly in the background. That makes recovery after emptying the Recycle Bin much less likely than on older hard drives. It’s another reason backups matter.

Never lose a file again

  • Turn on OneDrive folder backup for Desktop, Documents and Pictures.
  • Or plug in an external drive and turn on File History.
  • Follow the 3-2-1 rule for anything precious: 3 copies, on 2 types of storage, with 1 kept off-site or in the cloud.

Physically damaged drive (clicking, not detected)? Stop using it and contact a professional data recovery service. Software can make physical damage worse.