Skip to main content
  1. Home
  2. Computing
  3. How tos

How to recover lost or deleted files on Windows

Add as a preferred source on Google
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 covers how to guides, best-of lists, and explainers to help everyone understand the hottest new hardware and…
Amazon wants to design in-house chips for Kindles, Fire TV, and Echo speakers
Apple did it first. Amazon is doing it now, starting with 40 million chips a year and a partner most people have never heard of.
Amazon Kindle Scribe dark mode featured image.

Apple's decision to design its own chips reshaped the consumer electronics industry. Amazon may be about to make the same call, just about two decades later.

Supply chain analyst Ming-Chi Kuo reports that Amazon is preparing to shift away from externally sourced processors for its consumer electronics lineup, marking what he describes as the company's first major processor procurement change in 20 years. The transition is expected to begin in 2027.

Read more
AI wants to summarize it all. TripAdvisor’s misleading reviews show AI will also ruin your travel plans
Spotless, friendly, and totally wrong. AI summaries are hiding the reviews that actually matter.
Tripadvisor logo on MacBook

Planning a trip is stressful enough without wondering if the glowing hotel summary you just read was written by an AI that skipped the scary parts. As it turns out, that might be exactly what's happening on TripAdvisor.

According to an investigation by consumer group Which?, reported by the Guardian, TripAdvisor's AI-generated review summaries are smoothing over serious guest complaints, and in some cases, downright dangerous ones.

Read more
Opera’s new Paste Protect feature stops the clipboard attack your antivirus can’t catch
ClickFix attacks trick you into compromising your own device, and no major browser had a native defense against them until now.
Opera Paste Protect featured

Most online scams are easy enough to spot once you know what to look for. Fake login pages, suspicious attachments, or urgent wire transfer requests are dead giveaways. But ClickFix doesn't look like any of them. It presents itself as a solution, and it asks you to do something so routine that few people think twice about it.

The technique was behind more than 53 percent of malware loader incidents last year, according to cybersecurity firm Huntress, and no major browser had a native defense against it until now. Opera is fixing that with a new feature called Paste Protect.

Read more