Skip to main content

How to recover lost or deleted files on Windows

Windows 11 logo on a laptop.
Microsoft

Accidentally deleting an important file or document is a tale as old as Windows itself, which is why there are a number of built-in ways to recover it. From diving into the recycle bin to digging through Microsoft's Windows File Recovery utility, here's how to recover lost and deleted files in Windows 11.

Lost your files on a Mac, too? Here's how to recover lost data on macOS.

Recommended Videos

Difficulty

Moderate

Duration

30 minutes

What You Need

  • Windows desktop PC or laptop

Check the recycle bin

The main way that Windows helps you recover files and folders that you've deleted and need to access again is the recycle bin. Anything that doesn't exceed the maximum size of your recycle bin's storage will be automatically sent there if you delete it, so if you want to get it back, you can just find it there and restore.

(If you can't find it, make sure you haven't removed the Recycle Bin from your Windows desktop.)

Step 1: Either double-click the recycle bin icon on your desktop or search for "Recycle" in the Windows search bar and open the recycle bin when the option appears.

Finding the recycle bin in Windows 11.
Digital Trends

Step 2: Search through the items within the recycle bin and find the file or folder that you want to restore. You can select the tabs along the top to list the contents by name, original location, file type, or deletion date, which can make it easier to find what you're looking for.

Step 3: Once you've found the file in question, right-click it and select Restore. Alternatively, double-click the file and select the Restore button.

Restoring a file in Windows 11.
Digital Trends

Use Windows File Recovery

If you've deleted a file from the recycle bin, or it never ended up there for some reason, Microsoft has its own free file recovery tool you can use to recover your lost data.

Step 1: Open the Microsoft Store and search for "Windows File Recovery". Select the corresponding app and choose the Get button to download and install it.

Step 2: Select Open to open the app. If it asks, give it admin approval.

Step 3: This is a command line tool, which means you'll need to type in what you want it to do manually.

Step 4: You'll need to know a few things to use this tool:

  • The file name for what you're trying to recover.
  • The drive that it was on when it was deleted.
  • The destination drive that you want to send it to.

You need to input that information into the tool in the following format:

"winfr source-drive: destination-drive: [/mode] [/switches]"

So, for example, if you were trying to recover your Documents folder that was deleted from the C drive, and send it to the E drive, you would write:

Winfr C: E: /regular /n \Users\Username\Documents\

Alternatively, you can recover all files of a certain type with a command like:

Winfr C: E: /regular /n *.pdf /n *.docx

This will recover any deleted PDF or docx files from the C drive and transfer them to the E drive. That might take a long time, depending on how many deleted files the recovery tool finds.

Windows file recovery.
Digital Trends

Step 5: There is a lot more complexity to the Windows File Recovery tool if you want to take advantage of it. For more detailed steps on using Windows File Recovery, check out the Microsoft support site, here.

The best file recovery software

If you'd rather use a third-party application and don't want to pay for it, these are the best free data recovery tools available in 2024.

Jon Martindale
Jon Martindale is a freelance evergreen writer and occasional section coordinator, covering how to guides, best-of lists, and…
I tested the most popular free antivirus apps for Mac. Here are the very best
A MacBook Air is shown with the Bitdefender for Mac dashboard open.

The best free antivirus software for your Mac offers robust protection without breaking the bank. Although macOS was once an unlikely target for hackers, that's changing. As Apple computers become more popular, malware prevention is increasingly important to safeguard your personal and financial data.
Finding the best antivirus software can be challenging. While subscription prices are affordable, your budget might already be tight. Thankfully, there are several good, free malware solutions for macOS. Here are our top picks for free antivirus software for Mac, with each specially tailored to protect your Apple computer. If you use Windows, we also have a list of free antivirus software for PC.
Avast One Basic

While Avast One Basic is free and shows no ads, this powerful antivirus software still protects your Mac from malware infections, and blocks new threats before they become a problem. Perhaps more impressive is the Web Shield feature that identifies malicious downloads and prevents access to hazardous websites, halting phishing attempts and other online dangers.

Read more
How to take a screenshot in Windows: all methods explained
Dell XPS 15 OLED laptop sitting on a small table.

Screenshots are incredibly helpful for capturing images on your Windows desktop, but the method for taking one on a Windows laptop or PC may not be immediately obvious if you haven't done it before.

There are a few different ways to do it, too, from simply pressing the Print Screen button on your keyboard, to diving into the specific functions of the Snipping tool. Here's how to take a screenshot in Windows 10 and Windows 11.

Read more
Microsoft Word may delete your files — here’s how to avoid it
Windows 11 logo on a laptop.

There's a new bug in Microsoft Word that may delete your files, and according to user reports, they're not always recoverable through the Recycle Bin. Fortunately, Microsoft is aware of the problem, but it's unclear when the issue might be fixed. If you want to make sure that your files stay safe, we've got a few workarounds to help you out.

In the last few days, the Microsoft community boards have been flooded with reports of people complaining about their files randomly being deleted, with one user saying: "I use Word. Today, it deleted eight hours of work." Further reports quickly made it clear that the affected files have a few things in common.

Read more