Blog

Recover Accidentally Deleted Files: From the Recycle Bin to Previous Versions and Windows File Recovery

A document coming back out of a trash can along a green arrow while a duck cheers

When you delete an important file by mistake, the most important thing is not to panic and start doing lots of things. Most deleted files don't vanish immediately; you have a chance to bring them back until new data overwrites that space. Try the easy methods first, in order.

Do this first

  • Don't save new files or install programs on the drive the file was on. If the deleted space is overwritten, recovery gets much harder.
  • If you just deleted it and File Explorer is still open, try Ctrl + Z (Undo) first.

Step 1: Check the Recycle Bin

  • Open the Recycle Bin on the desktop and type part of the file name into the search box at the top right.
  • Right-click the file and choose Restore to put it back in its original folder.
  • Files deleted with Shift + Delete, or from a USB stick or network folder, skip the Recycle Bin. In that case, go to the next step.

Step 2: OneDrive recycle bin and "Previous versions"

  • If your Desktop or Documents folder syncs with OneDrive, sign in at onedrive.com and check its Recycle bin. Personal accounts usually keep items for 30 days.
  • Right-click the folder that held the file → Properties → Previous Versions tab. If anything is listed, pick a date before the deletion and restore it.
  • Previous versions only appear if File History or restore points were turned on. If the list is empty, turning File History on now (Control Panel → File History) will help next time.

Step 3: Windows File Recovery (free Microsoft tool)

  • Install Windows File Recovery from the Microsoft Store. It's a command-line tool.
  • Launching it opens an administrator window. The basic form is winfr source-drive: destination-drive: /mode /n location.
  • Example: recover files deleted from the Documents folder on C to drive D → winfr C: D: /regular /n \Users\YourName\Documents\
  • The source and destination must be different drives. Saving to the same drive can overwrite the deleted data.
  • Use /regular for recently deleted files and /extensive for older deletions or formatted drives. To look only for photos, narrow it down by extension, such as /n *.jpg.

When it may not work

  • SSDs clean up deleted space quickly (TRIM), so recovery gets harder over time. The sooner you try, the better.
  • For truly critical data, such as work files, it's safer to go to a professional data recovery service than to keep trying yourself.
  • The best fix is preparation. With File History or cloud backup turned on, next time you can restore files in a few clicks.

Reference: Microsoft Support – Windows File Recovery

Blog

← Back to the list Back to top ↑