X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to recover deleted files in Windows 10 or 11

A dedicated recovery tool is the best way to revive a file that's been deleted. Here's how to use one.
Written by Lance Whitney, Contributor
Reviewed by Alyson Windsor
Worried young Asian man with his hand on head, using laptop computer at home
Getty Images/AsiaVision

You're having trouble finding a certain file on your Windows PC and you have a hunch you may have deleted it. We've all been there. But rather than moan and groan, you can try to recover it. Assuming you've already scoured the Recycle Bin and have come up empty, that's when it's time to turn to a good recovery tool.

Microsoft offers its own command-line recovery program, though it's not what I'd call user-friendly. Instead, you can use free programs like Recuva and Glarysoft File Recovery Free. Here's how they work.

How to recover deleted files in Windows 10 or 11 

1. Use the Recycle Bin

You've probably already used the Recycle Bin to bring back a file. In a nutshell, Windows devotes a small percentage of your hard disk space to a hidden system folder known as the Recycle Bin. This ensures that deleted files aren't actually deleted but kept in reserve. As long as you don't permanently delete the file or empty the Bin, the file should be available for you to recover, at least for a certain length of time. 

Simply open the Recycle Bin icon on your desktop. As with any folder, you can sort the files by name, location, date, and other criteria. You can also search for a file by name. Once you find the file you wish to recover, right-click on it and select Restore. 

First check the Recycle Bin for a deleted file
Lance Whitney/ZDNET

What if I permanently delete a file in Windows 10 or 11? 

If you do permanently delete a file (press Shift+Del to do so) or empty the entire Recycle Bin, recovering a file is trickier but still doable. This mostly depends on how fast you ride to its rescue.

When you delete a file, the data isn't physically removed from your disk. Rather, its space is marked as available by the operating system, which means the clusters allocated to that file can be overwritten by new data. If you swoop in quickly enough, the file may be fully intact and recoverable. The longer you wait, though, the greater the chances that most or all of a file's clusters will be overwritten, reducing the odds of fully recovering it.

Using Microsoft's Windows File Recovery

Microsoft provides a free command-line utility for Windows 10 and 11 that tries to recover deleted files. Known as Windows File Recovery, the tool supports mechanical hard drives, SSDs, USB drives, and memory cards. It also offers both regular and extensive modes in an attempt to revive a file. 

1. Visit Microsoft's recovery page

Download and install the program from the Microsoft Store. Launching its shortcut opens a command prompt with examples of its basic syntax. Microsoft also has a support page with directions on how to use Windows File Recovery, which you'll definitely want to read before taking it for a spin. 

2. Type the appropriate command

From there, you need to type the command followed by the recovery destination, then the recovery mode, and finally the name or location of the deleted file or files. 

Microsoft's Windows File Recovery
Image: Lance Whitney/ZDNET

A Note about Windows File Recovery

As a command-line program, Windows File Recovery can be challenging to use, requiring you to nail the proper syntax and switches (a GUI version is sorely needed). And even then, it doesn't always find or recover the files you need. 

I've used it several times, and it's been decidedly hit or miss. You may want to try it as a first step, but I think you'll find a good third-party product less frustrating.

Third-party recovery utilities

I've used several different third-party recovery tools and have generally had success with them. Again, their effectiveness rests largely upon how quickly you attempt to recover a file after it's been deleted. But assuming the file is still fully or largely intact, these tools will help you revive it. 

A variety of programs are available, both free and paid. Here are two free utilities worth trying.

1. Recuva

1. Download Recuva

Available in both free and paid flavors, Recuva is able to bring back files from internal and external hard drives, USB sticks, and memory cards. The website offers the full installation version of Recuva, but elsewhere you'll find a portable version to install on a USB stick, which avoids writing any new data to your hard drive.

2. Specify the types of files you're trying to recover

The program kicks off with a wizard that asks you what types of files you're trying to recover and where they're located. Recuva then scans the chosen location and returns any deleted files available for recovery. 

If you know the specific filename and path, you can bypass the wizard. Recuva offers a regular scan for quick and easy recoveries and a deep scan for more challenging cases.

3. Recover

After the scan, Recuva will display the names of any matching files and indicate the odds of a successful recovery. You can even preview many types of files. Select the file and click the Recover button to bring it back. 

Recuva will recover deleted files
Image: Lance Whitney/ZDNET

2. Glarysoft File Recovery Free

Another recovery tool available in both free and paid editions is Glarysoft File Recovery Free

1. Scan deleted files

Glarysoft starts by asking which drives or partitions on your PC you wish to scan. The program then runs a quick scan to search for deleted files. During or after the scan, you can track down specific files by type, location, and name. 

2. Preview files

Once the scan is complete, the tool shows you a list of all lost files and their recovery status, allowing you to browse or search for the one you want. You can even preview images and other readable types of files to make sure you've got the correct one. 

Glarysoft File Recovery Free can recover up to three files

Figure 4

Image: Lance Whitney

The biggest drawback with the free edition is that you can recover only up to three files and as much as 2GB in size. For more, the Pro edition costs $50 per year. But if you just need to recover one or two or three files, the free flavor will do the trick.

Editorial standards