How to Recover Deleted Files in Windows 11

Accidentally deleting files is common, and while most people panic and worry that the file is gone forever, it’s still possible to recover deleted files in Windows 11.

When you hit delete on a file, Windows doesn’t immediately remove it from your hard drive. Instead, the file space occupied is marked as free and available for new data. If you act quickly, you can often recover the file before new data is overwritten. So, if you accidentally deleted an important file, don’t worry! This guide will show you how to recover deleted files in Windows 11.

Using Undo Delete (Ctrl + Z)

The Undo Delete feature is the easiest method to recover deleted files in Windows 11. This feature only works if you delete the file with the Delete key or by right-clicking and selecting Delete.

Note: if you emptied the Recycle Bin, used a third-party file deletion tool, or shift-deleted a file, this method will not work.

After deleting the file or folder, press Ctrl + Z on your keyboard. This will undo your last action, which in this case, is the delete operation.

You can also use the Undo Delete feature by right-clicking an empty area in the folder where the deleted file is located and selecting Undo Delete from the menu.

Select Undo Delete.
Select Undo Delete.

Using Recycle Bin

The Recycle Bin is a temporary storage location for all the files and folders you delete from your computer. By default, the Recycle Bin is located on the desktop. As in the previous method, this only works if you deleted the file using the Delete key or by right-clicking and selecting Delete.

  1. Open the Recycle Bin.

    The Recycle Bin icon.
    The Recycle Bin icon.
  2. Locate the deleted file or folder you want to recover and right-click it. Select Restore from the menu. The file or folder will be restored to its original location.

    Click Restore.
    Click Restore.

Using File History

File History is a feature that automatically backs up files in your system folders such as Documents, Music, Videos, Desktop, and Downloads. This feature is turned off by default, but you can easily turn it on from the Settings app.
Note: This feature only backups data located at C:\Users\<username>.

  1. Open the Start menu, search for “File History,” and select the top result.

    Open File History.
    Open File History.
  2. You will notice a message that says File History is currently turned off. Next to this message, click the Configure File History settings link.

    Click the Configure File History settings link.
    Click the Configure File History settings link.
  3. In the left-hand pane, click Select drive to choose the drive where your backup will be saved. This drive can be external or internal.

    Click Select drive.
    Click Select drive.
  4. After choosing the drive, click OK.

    Choose the drive where your backup will be saved.
    Choose the drive where your backup will be saved.
  5. Now, in the main File History window, click Turn on. Your files will start backing up automatically.

    Click Turn on.
    Click Turn on.
  6. To restore files using File History, open File History and select the Restore personal files option in the left-hand pane.

    Select the Restore personal files option.
    Select the Restore personal files option.
  7. You will see all the backed-up copies of your files and folders. Select the version that you want to restore and click the Restore button.

    Click the Restore button.
    Click the Restore button.

Using the Previous Version

Previous versions come from two different sources: File History and System Restore. So, this feature only works if you have previously turned on File History or created System Restore points.

Note: If you just added files, I recommend backing them up before going through this technique since it will return the previous version, which may not contain the new files.

  1. To use this feature, right-click the folder that contained the deleted file, then select Properties.

    Choose Properties.
    Choose Properties.
  2. In the Folder Properties window, switch to the Previous Versions tab.

    Switch to the Previous Version tab.
    Switch to the Previous Versions tab.
  3. You will see a list of all the available restore points. Select the restore point you want to use and click the Restore button.

    Select the restore point you want to use and click the Restore button.
    Select the restore point you want to use and click the Restore button.

Using OneDrive

OneDrive is more than just a document storage service. You can also upload other files such as images, videos, and music.

All you have to do is upload your file to OneDrive, and whatever happens to these files on your computer, you can always download them again. To retrieve your file using this method, you need to have your file backed up on OneDrive.

Note: The free version of this service only gives you 5 GB of storage. You must buy one of their subscription plans if you need more.

  1. Open a web browser and go to OneDrive. Log in with your Microsoft account.
  2. You can see all the files and folders stored in your OneDrive account in the main window.

    The files and folders stored in your OneDrive account.
    The files and folders that are stored in your OneDrive account.
  3. Locate the file or folder you want to restore, left-click it and select Download.

    Locate the file or folder you want to restore and download it.
    Locate the file or folder you want to restore and download it.

Using Older Backup

A system image (also known as a backup image) is a single file that contains a compressed replica of your hard drive. When you restore a system image, your computer returns to its exact state when you made the image (it will recover all the files). There’s no need to reinstall, repair, or configure anything.
You can use this method if you regularly create backups of your system. If you do not have any backups, I recommend using one of the other methods mentioned in this article.

  1. Open the Settings App.

    Open the Settings app.
    Open the Settings app.
  2. Go to  System > Recovery.

    Select System > Recovery
    Select System > Recovery.
  3. Click Restart now under Advanced startup.

    Click Restart Now.
    Click Restart now.
  4. Go to Troubleshoot > Advanced options  > System Image Recovery.

    Go to Troubleshoot > Advanced options  > System Image Recovery.
    Go to Troubleshoot > Advanced options  > System Image Recovery.
  5. Select your system image backup and follow the instructions of the recovery wizard to complete the procedure.

    Select your system image backup and follow the instructions.
    Select your system image backup and follow the instructions.

Using CMD or PowerShell

You can use the Command Prompt or PowerShell to restore deleted files. This method will help you repair missing or corrupted system files.

  1. Click the Windows button and type “cmd.” Right-click the Command Prompt icon and select Run as administrator.

    Select Run as administrator.
    Select Run as administrator.
  2. Type the following command and press Enter:
    chkdsk volume: /f
    attrib -h -r -s /s /d volume:\*.*
  3. Replace “volume” with the drive letter where you want to recover files, for instance, d:
    The chkdsk command.
    The chkdsk command.

    The attrib command.
    The attrib command.
  4. If you want to use PowerShell, click the Windows button and type “PowerShell.” Right-click the PowerShell icon and select Run as administrator.

    Run PowerShell as administrator.
    Run PowerShell as administrator.
  5. Follow the same command above.

Using Microsoft’s Windows File Recovery

Windows File Recovery is a command-line tool available through the Microsoft Store. You can use this program to recover data that has been unintentionally erased from your local storage device (including internal drives, external drives, and USB devices). Network file shares and cloud storage retrievals are not supported. According to Microsoft, the syntax for using it is:

winfr source-drive: destination-drive: [/mode] [/switches]
  1. Open the Microsoft store and search for “Windows File Recovery.”

    Search for Windows File Recovery.
    Search for Windows File Recovery.
  2. Click Get to download and install the tool.

    Click Get.
    Click Get.
  3. Open the Windows File Recovery. It will automatically take you to the command prompt window.
  4. Type the following command and press Enter:
    winfr C: E: /regular /n \Users\<username>\Documents\

    While replacing <username> with your Windows username.

    Type the command.
    Type the command.
  5. This command will scan your C drive and save all the recovered files on your E drive. You can replace the drive letters according to your missing files and want them saved.

Using Third-Party Applications

If you cannot recover the deleted files using any of the methods mentioned above, you can use third-party data recovery tools. Many tools can be effective. Here is an example of a popular one:

EaseUS Data Recovery Wizard

EaseUS Data Recovery Wizard is a popular application that can recover deleted files from your computer. It supports many file types, including documents, photos, videos, music, etc. This application can recover files from your hard drive, external hard drive, USB flash drive, memory card, and more.

  1. Go to the EaseUS website and click Try for Free to download the application.

    Click Try for Free.
    Click Try for Free.
  2. Install and launch EaseUS Data Recovery Wizard on your computer.
  3. Select the drive which you want to recover files from and click Scan.
    Click Scan.
    Click Scan.

    The scanning process will start and take some time to complete.

  4. After scanning, you can see all the recoverable files in the main window. Select the files you want to recover and click Recover to save them on your computer.

    Select the files you want to recover and click Recover.
    Select the files you want to recover and click Recover.

Was this article helpful?

Leave a Comment