FileFix Ultimate
English

How to undo a file deletion on Windows 10 and 11

If you deleted a file a moment ago, press Ctrl+Z in the same File Explorer window before you do anything else. A normal delete only moves the file to the Recycle Bin, so undo usually puts it straight back. If that window is closed or the file was deleted with Shift+Delete, work through the Recycle Bin, Previous Versions and finally a read-only scan, in that order.

Last updated:

What to do right now

  1. Press Ctrl+Z in the File Explorer window where you deleted the file; it reverses the last delete if Explorer is still open.
  2. If undo does nothing, open the Recycle Bin, find the file, right-click it and choose Restore.
  3. No luck there: right-click the parent folder, open Properties and check the Previous Versions tab.
  4. Only after those three, stop writing to the drive and scan it with a recovery tool run from another disk.

The fast triage order

  1. Press Ctrl+Z right away

    Click inside the File Explorer window you deleted from and press Ctrl+Z once. In Windows 10 you can also right-click empty space and choose Undo Delete; in Windows 11 the same command is usually under Show more options in that right-click menu. Undo works on the last few actions of that Explorer session, so do not close the window or restart first.

  2. Check the Recycle Bin

    Open the Recycle Bin from the desktop, switch to Details view and sort by Date Deleted so the newest items are at the top. Right-click the file and choose Restore to send it back to its original folder, or drag it to a folder of your choice.

  3. Try Previous Versions

    If the file is not in the bin, right-click the folder that held it, choose Properties and open the Previous Versions tab. Copies appear there only if File History or restore points were capturing that folder. Use Open to look inside a version and copy the file out rather than restoring the whole folder over your current one.

  4. Check cloud and synced copies

    If the folder was synced to OneDrive, Google Drive or Dropbox, open the service's website and check its own recycle bin. A file deleted on the PC is usually moved there as well and can be restored from the browser.

  5. Stop using the drive

    If none of the above worked, the file is now only recoverable from the disk itself. Close programs that save in the background, pause sync clients and avoid downloading or installing anything on that drive.

  6. Scan from another disk

    Run the FileFix Ultimate portable ZIP from a USB stick, open Deleted file recovery, pick the drive and start the Balanced scan. Preview what it finds and save the files to a different physical disk.

Why Ctrl+Z works only for a short time

File Explorer keeps a small undo history of moves, renames and deletes for as long as it is running. A normal delete is really a move into the hidden Recycle Bin folder, which is why undo can reverse it instantly and with the original name and location intact.

That history is held in memory. Restarting the PC, signing out, or Explorer restarting after a crash clears it. Undo also works through actions in reverse order, so if you renamed or moved other files afterwards you may need to press Ctrl+Z several times, and each press reverses something else first. Watch what changes after every press.

When the file skipped the Recycle Bin

Some deletions never reach the bin. Shift+Delete removes the file immediately, files deleted from a USB stick or memory card are often removed directly, and very large files can exceed the bin's size limit, in which case Windows asks whether to delete them permanently. Files deleted from a command prompt or by another program also bypass it.

In those cases Ctrl+Z and the Recycle Bin have nothing to give back. The data may still be on the disk until it is overwritten, which is where a recovery scan comes in. On an internal SSD, TRIM usually erases deleted blocks within moments, so the chances there are much lower than on a hard drive, USB stick or SD card.

Common mistakes in the first minutes

The most common one is restoring an entire folder from Previous Versions over the current folder, which replaces newer files with older ones. Open the version and copy only what you need. Another is installing a recovery program on the same drive you are recovering from, which writes new data into the space the deleted file may still occupy.

It also helps to search before assuming the file is gone. Type the file name into the search box of File Explorer or the Start menu; files that were only moved or dragged into the wrong folder by accident turn up this way surprisingly often.

When undo and recovery won't work

  • Ctrl+Z does not reverse Shift+Delete, deletions from the command line or deletions done by another app.
  • On an internal SSD with TRIM enabled, a permanently deleted file is usually erased almost immediately.
  • If the space has been reused by new files, the overwritten parts cannot be recovered by any tool.
  • Previous Versions only has copies if File History or restore points were already turned on before the deletion.

How FileFix Ultimate helps after undo fails

  • Free for personal use with no recovery limit, no account and no upload; the portable ZIP runs from a USB stick so nothing is installed on the affected drive.
  • Reads NTFS, FAT32 and exFAT records first, so files found that way come back with their original names and folders.
  • Can list Recycle Bin contents and shadow copies (Previous Versions) on the drive and copy files out without changing anything.
  • Opens the drive read-only and saves only to a different disk, then labels each result as validated, partial or extracted but not validated.

FileFix Ultimate is free for personal use, works offline and never writes to the drive you are recovering from. Business use needs a one-year licence per PC. Check the signature before you run it.

Frequently asked questions

Can I undo a deletion after restarting the PC?

Not with Ctrl+Z, because the undo history is lost on restart. A normally deleted file is still in the Recycle Bin, though, and you can restore it from there.

Does Ctrl+Z work after Shift+Delete?

No. Shift+Delete skips the Recycle Bin, so there is nothing for undo to move back. Check Previous Versions or a backup, then scan the drive from another disk if needed.

I pressed Ctrl+Z and a different file moved. What happened?

Undo reverses the most recent Explorer action first, which may have been a rename or move. Press Ctrl+Y to redo it, or put the file back by hand, and then check the Recycle Bin instead.

Is there an undo for files deleted from a USB stick?

Often not, because removable drives frequently delete files directly without a Recycle Bin. Stop writing to the stick and scan it; flash drives do not use TRIM in most cases, so the chances are usually better than on an internal SSD.

Share this page