Deleting the wrong file happens to everyone. The good news is that a deleted file is often still recoverable, as long as you act quickly. In my IT support work I follow the same order every time, starting with the safest and simplest method. Here are five free ways to get your files back on Windows.
![]() |
| Folder with a restore arrow and a document, titled "Recover Deleted Files on Windows" |
First, stop using the drive
When you delete a file, Windows usually removes only its listing, and the data stays on the disk until something new overwrites it. Avoid saving, installing or downloading anything to that drive until you have recovered your file.
1. Check the Recycle Bin
Open the Recycle Bin on your desktop, find the file, right-click it and choose Restore. The file returns to its original folder. Note that the Recycle Bin does not hold files deleted with Shift + Delete, files on USB drives, or files on network drives.
2. Undo the deletion
If you deleted the file a moment ago, open the same folder in File Explorer, right-click an empty area and choose Undo Delete, or press Ctrl + Z.
3. Restore a previous version
If File History or System Protection is turned on, Windows may have saved earlier copies of your folder.
- Right-click the folder that contained the file.
- Choose Properties, then open the Previous Versions tab.
- Select a version from before the deletion and click Restore or Open to copy the file out.
4. Look in OneDrive or other cloud storage
If your Desktop, Documents or Pictures folders sync with OneDrive, sign in to the OneDrive website and open its Recycle bin. Deleted items are kept there for a limited time and can be restored in one click. Google Drive and Dropbox have similar trash or deleted-files pages.
5. Use Windows File Recovery
Microsoft offers a free command-line tool called Windows File Recovery in the Microsoft Store (Windows 10 version 2004 or later, and Windows 11).
- Install it from the Microsoft Store and open it as Administrator.
- Run a command in this format, using a different drive as the destination:
winfr C: D:\Recovered /regular - Replace
C:with the drive that held the file, andD:\Recoveredwith a folder on another drive. - Press Y to confirm and wait for the scan to finish, then check the recovery folder.
The /regular mode suits recently deleted files on an NTFS drive. For older files or other file systems, Microsoft's documentation lists the /extensive mode and more options. Recovery is not guaranteed, especially on SSDs, where the TRIM feature can permanently erase deleted data quickly.
When to ask a professional
If the drive makes clicking sounds, is not detected, or the files are extremely important, power it off and contact a professional data recovery service. Further attempts can reduce the chance of recovery.
How to avoid losing files again
- Turn on File History or Windows Backup for your important folders.
- Keep at least two copies of important files, with one stored off-site or in the cloud.
- Think twice before using Shift + Delete.
Final thoughts
Start with methods 1 to 3, because they take less than a minute and carry no risk. If those fail, try cloud storage and then Windows File Recovery. If you are stuck, leave a comment with your Windows version and what happened, and I will try to help.
Written by M R S, IT support and remote administrative professional based in Sylhet, Bangladesh.
