In Windows, Ctrl+Z undoes accidental actions like deleting text or opening files, but there’s no direct equivalent for permanently deleted files. However, you can recover them using built-in tools like File History, Recycle Bin, or the Windows Search feature—no third-party software required. This guide shows you exactly how to restore deleted files quickly and safely, with step-by-step instructions for common scenarios.

What You'll Need

  • Windows PC (Windows 10 or 11; Windows 8/7 may use slightly different paths)
  • Access to your account’s user folders (if using File History, your recovery point must exist)
  • File Explorer (right-click menu) or the Windows Search box
  • Recycle Bin (if you deleted files recently)

Step-by-Step: Restore Deleted Files in Windows

  1. If the file is still in the Recycle Bin:
    1. Open the Recycle Bin by double-clicking its icon on your desktop (or search for "Recycle Bin" in the Start menu).
    2. Locate the file you deleted—it may appear as "Deleted_File_Name" (with timestamp).
    3. Right-click the file, then select Restore from the context menu. The file is returned to its original location.
    Note: This only works if you did not empty the Recycle Bin after deletion. If the Recycle Bin is full, you’ll need to free space before retrieving files.
  2. If the file was moved to Trash (macOS-style) on a OneDrive/Google Drive sync:
    1. Open the cloud provider’s app or browser (e.g., OneDrive, Google Drive).
    2. Navigate to the "Trash" or "Recycle Bin" folder.
    3. Right-click the file, then select Restore (OneDrive) or Empty Trash to recover (Google Drive).
    Warning: Some cloud settings may delete files permanently after a set period (e.g., 30 days for OneDrive Free).
  3. If the file was deleted permanently (not in Recycle Bin/Trash):
    1. Press Win + S and type Restore files. Click Restore files using File History when prompted.
    2. Select Browse for files and choose the file(s) you need. Click Restore.
    3. For older Windows versions (pre-Windows 10), open Control Panel > System and Security > File History and restore from the latest recovery point.
    Important: File History must be enabled (check via Settings > Update & Security > Recovery > Open File History).
  4. If the file is in a folder with recent changes (e.g., Git, version control):
    1. Open the folder in File Explorer and press Win + E.
    2. Right-click the folder, then select Properties > Advanced. Check Show both versions (if available) or use Git’s command-line (git log --follow "filename").
    Note: Git tracks changes, but Windows Explorer may not always show deleted files unless "Show hidden files" is enabled.
  5. If using Windows 10/11’s "Files" app (recent folder restores):
    1. Press Win + S and type Restore files. Select Recent files and choose the file.
    2. Windows 11 may display a "Recently deleted" list (check Settings > System > Storage > Recently deleted).
    Caution: This only recovers files deleted within the last few days.

Common Mistakes to Avoid

  • Emptying the Recycle Bin before restoring: Once emptied, files are permanently lost unless they’re in a cloud Trash folder. Uncheck "Empty Recycle Bin on Close" in Control Panel > Recycle Bin.
  • Disabling File History after deletion: If File History was turned off, no restore points exist. Re-enable it via Settings > Update & Security > Recovery > Turn on File History.
  • Overwriting the file before recovery: If you create a new file with the same name, the deleted version may be lost. Always verify the restore path before proceeding.
  • Ignoring cloud provider policies: Some cloud services (e.g., Dropbox, Google Drive) delete files after 30 days without action. Check their terms before relying on recovery.

Tips for Faster Recovery

  • Enable File History ahead of time: Set it up in Settings > Update & Security > Recovery to automatically back up folders (e.g., Documents, Pictures).
  • Use Windows Search efficiently: Press Win + S, type the file name, then press Alt + Enter to see details (e.g., last modified date).
  • If the file is hidden: Enable "Show hidden files" in File Explorer via View > File name extensions or View > Hidden items.
  • Try third-party tools for large deletions: If File History lacks recent backups, consider Recuva (free) or EaseUS, but be cautious: they may not recover all files.
  • Right-click before finalizing deletion: Windows sometimes asks to confirm deletions. Cancel the action if possible.

Troubleshooting: What If Nothing Works?

  1. File is gone but Drive shows space:
    1. Check for fragmented drives or disk errors via chkdsk C: /f (run as admin).
    2. If the drive is unallocated, recovery may be impossible. Use a data recovery tool (e.g., Disk Drill) if you have a backup.
  2. File History shows no backups:
    1. Verify File History is enabled for the affected folder via Settings > Privacy > File History.
    2. If the folder was moved post-backup, File History may not track it. Re-enable it for the new location.
  3. Cloud provider won’t restore:
    1. Check for a "Recycle Bin" or "Trash" folder in the cloud app (e.g., OneDrive’s "Recover deleted files").
    2. Some providers (e.g., Dropbox) require re-uploading files. Contact support if the file is critical.
  4. File is corrupted after recovery:
    1. Right-click the restored file, select Properties, and note the last modified date. If it’s recent, try opening it in another program.
    2. For documents, check if the file is in a version control system (e.g., Git, SharePoint).

Frequently Asked Questions

1. Can I recover permanently deleted files from an external drive?

Yes, if the drive is not reformatted. Tools like Recuva or Disk Drill can scan external drives, but results depend on how the space was overwritten. Avoid writing new data to the drive until recovery.

2. Will using File History delete my current files?

No, File History creates incremental backups. Your current files remain unchanged—only copies of older versions are saved.

3. How long do Windows 11 restore points last?

Windows 11 keeps restore points for 30 days by default, but you can adjust this in Settings > Recovery > System Restore > More options > Alter the amount of recovery space. Older points expire automatically.

4. Can I restore deleted files from a USB after formatting?

No. Once a USB drive is formatted, all data is erased. Use data recovery tools on the original drive before formatting.

5. Why doesn’t the Recycle Bin show all my deleted files?

The Recycle Bin may not display files if they were:

  • Deleted from a network drive (unless enabled via Control Panel > System and Security > File History).
  • Moved to a folder with "Hidden items" turned off.
  • Deleted by a program that bypasses the Recycle Bin (e.g., some antivirus tools).

Check the file’s last modified date in the Recycle Bin—older files may have been permanently removed.

6. How do I know if a cloud service will let me recover deleted files?

Check the provider’s help center for recovery policies (e.g., OneDrive: Recover deleted files; Google Drive: Trash). Some services (e.g., Dropbox) require manual re-uploads.