Quick answer
- Stop using the drive immediately. Downloads, updates and new files can reuse the space the deleted file occupied.
- Look for another copy first — OneDrive, File History, an email attachment, or the device that created the file. A known copy is faster and more reliable than a scan.
- If no copy exists, scan the original drive — but save any recovered files to a different physical drive.
- Recovery is never guaranteed. On SSDs with TRIM, deleted data can be erased within minutes.
By the XFileRecover team · Published October 22, 2026 · Updated November 17, 2026
1. Identify the drive and stop writing to it
Work out where the file was before deletion. A file from a local Desktop or Documents folder is often on C:, but those folders can also be synced to OneDrive. Check whether the original folder was inside OneDrive before choosing a recovery method.
If the file was local, stop downloading files, installing software, or saving changes to the affected drive. Windows can reuse the space occupied by deleted files. On an SSD, TRIM can also make deleted contents unavailable. Microsoft's guidance on deleted files and drive activity
If the missing file is irreplaceable and was stored on C:, stop using that PC and check cloud copies from another device. Windows can keep writing to C: even when you install the recovery software elsewhere.
Where the file lived decides the whole approach: a local disk may be scannable; a OneDrive-synced folder (Desktop and Documents often are) needs the OneDrive recycle bin; a cloud-only file cannot be recovered by a local scanner. If the file was on C: and is irreplaceable, stop using the PC and check cloud copies from another device.
2. Check OneDrive and previous versions
If the folder was synced to OneDrive
Sign in to OneDrive in a browser with the account that owned the file. Open its Recycle bin, locate the item, and choose Restore if it is still there. The Windows and OneDrive recycle bins are checked separately. Microsoft's OneDrive restore instructions
If File History was already running
In File Explorer, find the folder that contained the file, right-click it, and choose Restore previous versions. Open a version from before the deletion and inspect its contents. Where available, use Restore to... to save a copy without replacing the current folder. Enabling File History after deletion cannot create an older copy. Microsoft's File History guide
For one missing document, also check email attachments, shared folders, or the device where it was created. A known copy is usually the quickest route back to a usable file.
3. Scan the original volume with XFileRecover
If the drive is readable and you have no backup, prepare a separate physical drive for recovered files. Download and install XFileRecover away from the affected drive.
- Open Select Volume and choose the drive where the file was stored before deletion. Check its drive letter and capacity, then select Start Scan.
- Search the results by a remembered name, extension, or path. For example, try the distinctive part of an invoice filename first, then search for pdf if the name is missing.
- Preview supported results and check that they contain the data you need. Scanning and preview are free. Saving recovered files requires a license.
- Save to the separate physical drive. Open the recovered files from that drive and check their contents before reusing the source.
4. Check whether the result is usable
A matching filename alone does not show that the file's contents survived. A preview can help you identify the right file, and opening the recovered copy lets you check it more fully. If the drive has overwritten or discarded the data, another scan cannot recreate it.
If the drive clicks, disconnects, or repeatedly fails to read, stop scanning and consider professional recovery for important files.
Still working out where the file went? See the complete Windows 11 deleted-file recovery guide.
Frequently asked questions
Can I recover files after emptying the Recycle Bin for free?
If you still have a copy in OneDrive, a backup, an email, or another device, restoring that copy is free. XFileRecover offers free scanning and preview; saving recovered files requires a license.
Does emptying the Recycle Bin mean the data is gone?
No. Emptying the bin usually removes the directory entry, not the underlying data. The space is marked as free and can be overwritten — which is why stopping writes matters.
How long do I have to recover the files?
There is no fixed window. On HDDs data may survive until the space is reused; on SSDs with TRIM it can be erased within minutes. Act as soon as possible.
Will the original filename and folder come back?
Often yes if file-system records survive, such as NTFS MFT. Signature-only results typically lose names and folder structure and appear as numbered files.
Can XFileRecover recover from an SSD after emptying the bin?
Sometimes, and only if TRIM has not discarded the data. External SSDs and USB drives are usually more recoverable than a system SSD. See our USB recovery guide.
What if the file was in OneDrive only?
A local disk scanner cannot recover a cloud-only file. Use the OneDrive recycle bin or the Microsoft 365 version history from another device.