PDF download Download Article PDF download Download Article

Did you accidentally delete an irreplaceable file from your Windows 10 PC? It happens to the best of us! Fortunately, there are many safeguards in place that make it easy to recover your files before they are gone forever. This wikiHow article will show you how to undelete files using free tools built into Windows and two other easy data recovery tools.

How do you retrieve permanently deleted files?

  • Check the Recycle Bin on your computer and see if the file is there.
  • Open up or install Windows File Recovery to restore your old files.
  • Use the File History tool to recover your files, or restore your file from an older backup.
  • Use Recuva, a free program that helps you restore deleted files. Alternatively, use Stellar Data Recovery, a paid service.
Method 1
Method 1 of 6:

Checking the Recycle Bin

PDF download Download Article
  1. Before you panic or try another method, double-check your Recycle Bin to make sure the file isn't still in there. You'll usually see the Recycle Bin icon on your desktop, but if you don't, you can also fine it by pressing the Windows key, typing recycle , and clicking Recycle Bin . [1]
  2. If your Recycle Bin has a lot of files, it may be helpful to use the search bar at the top-right corner. You can also simply scroll through the files to look for the one you need.
    Advertisement
  3. This will return the deleted file to the folder from which you deleted it.
    • To restore multiple files at once, hold down the Control key as you click each file, then right-click anywhere in the highlighted area and choose Restore .
    • You can also restore all deleted files from the Recycle Bin at once by clicking Restore all items at the top of the window.
  4. Advertisement
Method 2
Method 2 of 6:

Using Windows File Recovery

PDF download Download Article
  1. If you aren't able to restore a file from the Recycle Bin or find it in your backup, this method can help you regain access to lost files. [2]
    • You have to restore the missing files to a drive that is not the same drive the file was deleted from—this means that if you only have one hard drive, you'll need to connect a USB flash or other external drive to your PC to restore the lost files. If you don't have another drive to use, you won't be able to use this method.
    • It's not possible to restore files to or from a cloud storage or networked drive with this method.
  2. This utility might already be installed on some systems, but not all. [3]
    • Open the Microsoft Store app from the Windows Start menu.
    • Search for Windows File Recovery .
    • If you see the option to do so, click Get and follow the on-screen instructions to install.
    • If the app is already installed, you'll see Open instead.
  3. It's easy—just type windows file recovery into the Windows Search field (press Windows key + S if you don't see it), and then click Windows File Recovery in the search results. This will open a command prompt window.
    • If prompted, give the app permission to make changes to your computer.
  4. There are two different modes for restoring files:
    • Regular mode: Use this mode if the file you deleted was from a drive formatted with NTFS and the drive is not corrupted.
    • Extensive mode: Use this mode if the file you deleted was on a drive formatted as FAT or exFAT, which is common for flash cards and other removable media, or the drive is corrupted. This mode will take a little longer.
      • If you're not sure which mode to use, start with Regular mode, and then try Extensive if that doesn't work.
  5. The command will look like this winfr source-drive: destination-drive: /mode /switches file-or-folder . The /n switch lets you specify files and folders to recover. Here are some examples you can use in both regular and extensive modes: [4]
    • If you want to recover all files ending with .JPEG from your pictures directory on the C drive to a recovery folder on your F drive, you'd use winfr C: F: /regular /n *\Users\yourusername\Pictures\*.JPEG .
    • You can also use /n multiple times to recover files that meet multiple criteria. For example, to recover both JPEG and PNG files from your Pictures folder, you could use winfr C: F: /regular /n \Users\yourusername\Pictures\*.JPEG /n \Users\yourusername\Pictures\*.PNG .
    • To recover all files ending with .docx from any location on the original drive, you could use winfr C: F: /regular /n *.docx .
    • To recover your entire Documents folder from the C: drive to the F: drive, you'd use winfr C: F: /regular \Users\yourusername\Documents\ .
      • Note the trailing backslash \ at the end of the folder name—this is necessary when recovering an entire folder.
  6. Windows File Recovery will now attempt to recover the file(s). If the recovery is successful, the files will be saved to the destination drive in a new folder called "Recovery_(date and time)." [5]
    • If you're unable to recover the files in regular mode, run the same command again replacing /regular with /extensive .
    • Some file types are hidden from results by default, including .log, .vbs, .c, .cab, .py, and .lnk. If you are unable to find the type of file you're looking for, run the recovery again, this time adding the /e switch to disable extended filtering.
  7. Advertisement
Method 3
Method 3 of 6:

Restoring from File History

PDF download Download Article
  1. If you want to recover a file or folder you've accidentally overwritten or replaced with a newer version in your Documents, Music, Pictures, Videos, or Desktop folder, this method will help you get your original file(s) back. To open the tool, press the Windows key on your keyboard, type restore your files , and then click Restore your files with File History . [6]
    • This method requires that you've enabled File History in your settings. File History works with a network or external drive, so if you don't have one of those, you don't have File History enabled. [7]
    • If the file you want to recover no longer exists at all, you can restore its containing folder to a previous version that existed before you deleted the file.
  2. All of the files that have earlier versions saved will be visible here. Once you find the file, you'll be able to browse the dates of previously saved versions.
  3. Be sure to choose a version of the file or folder that existed before you made the change.
  4. A confirmation message will appear.
    • If you'd rather restore the file or folder to a different location, right-click Restore , choose Restore to , and then click another location.
  5. This saves the original version of the file or folder to its original location.
  6. Advertisement
Method 4
Method 4 of 6:

Using Recuva (Free)

PDF download Download Article
  1. Recuva is a free app that will undelete files you accidentally removed from your computer. [8] You can get the tool from https://www.ccleaner.com/recuva .
    • The free version of the tool should be enough for recovering most deleted files.
  2. You'll find it in your Windows menu. If prompted, allow the app to make changes to your PC.
    • The first time you open Recuva, you may see a warning message about the app being blocked. Click the warning message, select the first option in the list, select the Actions menu, and then click Allow on device to continue.
  3. Now you'll be able to use this quick-scan feature to recover deleted files.
  4. If you're not sure the type of file you're looking for, choose All Files .
  5. For example, if you deleted the file from Recycle Bin, choose In the Recycle Bin .
    • To enter a specific folder, choose In a specific location , click Browse… , and then select the folder.
  6. Recuva will now attempt to find deleted files.
    • You'll see that there's a Deep Scan option here. Try the regular scan first. If you are unable to recover your file normally, you can close and re-open Recuva and check the box next to "Enable Deep Scan." This option will take a long time, and it might not be necessary.
  7. Recuva will now search for shadow copies of deleted files from the selected location. Once the scan is complete, a list of files will appear.
  8. This restores the selected file(s) and/or folder(s) to the original location.
  9. Advertisement
Method 5
Method 5 of 6:

Restoring from an Older Backup

PDF download Download Article
  1. If you back up your PC to another drive, including a networked drive, or another version of Windows that was installed on your PC, you can restore files at any time from earlier backups. To get started, press the Windows key and type control panel , then click Control Panel in the search results. [9]
  2. If you don't see it, click System and Security first.
  3. If you want to restore one of your own files, select Restore my files . To restore files for another user (or all users), choose Restore all users' files .
    • If you want to restore files from a different backup than the one selected by default, click Select another backup to restore files from , and then locate the backup.
  4. Choose the option that applies to you based on whether you want to restore individual files or entire folders.
  5. You can type any part of the file or folder name to locate the file or folder, and then click Search .
    • You can use wildcards, such as *.jpg, to find all files that match a certain string of text.
  6. [10]
  7. To bring them back to their original location, leave the default option selected. Otherwise, you can select In the following location and click Browse to select another folder.
  8. The selected file(s) and/or folder(s) will be recovered to the chosen directory. [11]
  9. Advertisement
Method 6
Method 6 of 6:

Using Stellar Data Recovery (Paid Option)

PDF download Download Article
  1. This file recovery app does have a fee, but you can do a free scan before paying to see if the app is capable of restoring the files you need. Search the web for "Stellar Data Recovery" and install the free downloadable version.
  2. You'll find it in your Windows menu after installing.
  3. You can select as many of the different file types as you'd like.
  4. You can choose one of the common locations at the top, such as Desktop or Documents, or select Choose Location to select a folder manually.
    • If the file was saved to an external drive that's connected to your computer right now, select that drive.
    • If the file was saved to a partition that is no longer accessible, select Can't Find Drive .
  5. Once the scan is complete, you'll see a list of files and/or folders you can restore.
    • If nothing is found, click the link next to "Deep Scan" to try a more in-depth scan.
  6. If you're willing to pay for Stellar, you will be asked to do so now. Once you make your payment, you'll receive a product key via email that you can enter into the provided field. Once validated, you'll be able to recover the selected file(s), as well as any you need to recover in the future.
  7. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How can I recover a file that was accidentally overwritten?
    Stan Kats
    Cybersecurity Expert
    Stan Kats is the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology & cybersecurity solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan has over 7 years of cybersecurity experience, holding senior positions in information security at General Motors, AIG, and Aramark over his career. Stan received a BA in International Relations from The University of Southern California.
    Cybersecurity Expert
    Expert Answer
    If you hadn't turned on file versions in your operating system, and you overwrote a file with the exact same name, then unfortunately it will have been lost irrevocably. Check to see if you made backup copies.
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Check the Recycle Bin first.
      2. Use Windows File Recovery if you have another drive, including a flash drive.
      3. Restore from File History if you make backups.
      4. Use the free Recuva tool to find deleted files.
      5. Restore from an older backup using Backup and Restore.
      6. Try Stellar Data Recovery's free option to see if files are recoverable.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 121,380 times.

      Is this article up to date?

      Advertisement