Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Windows File Recovery Not Working

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Windows File Recovery (the command-line tool from Microsoft) is not working, the most common causes are running it without administrator rights, using the wrong syntax, or trying to recover to the same drive. The fix usually involves launching Command Prompt as Administrator, using the correct command structure, and following the recovery rules for source and destination drives. Below is a step-by-step guide that covers the standard fixes and common pitfalls.

What You'll Need

  • A Windows 10 or Windows 11 PC (the tool is built-in for these versions).
  • Administrator access to the PC.
  • The drive letter of the drive where the file was lost (e.g., C:, D:).
  • The drive letter of a different drive where you will save the recovered files (e.g., E:). This must be a separate physical drive, not a different partition on the same drive.
  • Knowledge of the file name or file type you want to recover (e.g., filename.docx or .jpg).

Step-by-Step

  1. Open Command Prompt as Administrator. Click the Start button, type cmd, right-click on “Command Prompt” and select “Run as administrator.” If prompted by User Account Control, click “Yes.”
  2. Check the tool’s version and help. Type winfr /? and press Enter. This shows the correct syntax and available switches. Note that the exact options may vary slightly depending on your Windows version, but the core commands below are standard.
  3. Understand the basic syntax. The general command is: winfr source-drive: destination-drive: [/mode] [/switches]. For example, to recover a file named “report.docx” from the C: drive to an external drive E:, you would type: winfr C: E: /n \report.docx.
  4. Use the correct mode. There are two modes: Regular (default) and Extensive. Regular mode works for recently deleted files (e.g., from the Recycle Bin or after a quick format). Extensive mode scans deeper and is for more severe cases (e.g., after a full format or corrupted drive). To use Extensive mode, add /x to the command. For example: winfr C: E: /x /n \report.docx.
  5. Specify the file or folder to recover. Use the /n switch followed by the file name, folder path, or wildcard. For example: /n \Users\YourName\Documents\*.docx to recover all Word documents in that folder. You can use multiple /n switches in one command.
  6. Make sure the destination drive is different. Windows File Recovery will not work if the destination drive is the same as the source drive. For example, you cannot recover from C: to C:. Use an external drive, a USB stick, or a different internal drive.
  7. Run the command. After entering the full command, press Enter. The tool will ask for confirmation (press Y) and then start scanning. Wait for the process to finish; it can take a long time, especially in Extensive mode.
  8. Check the recovered files. The recovered files are saved in a folder named Recovery_ on the destination drive. Open that folder to see if your files are there.

Common Mistakes

  • Not running as Administrator. The tool requires elevated privileges. If you run it from a normal Command Prompt, it will fail with an error.
  • Using the same drive for source and destination. This causes an immediate error. Always use a separate physical drive.
  • Wrong syntax. Forgetting the backslashes in the file path (e.g., /n report.docx instead of /n \report.docx) or missing the drive letters.
  • Using the wrong mode. Regular mode may not find files after a full format or severe corruption. If you don’t know, try Extensive mode, but it takes longer.
  • Typing the file name incorrectly. The tool is case-insensitive, but the path must be exact. If you are unsure, use a wildcard like *.docx.

Tips

  • Stop using the drive immediately. After you realize a file is missing, avoid writing new data to that drive. New data can overwrite the deleted file, making recovery impossible.
  • Use wildcards to broaden the search. If you don’t remember the exact name, use * to match any characters. For example, /n \*.pdf finds all PDFs on the drive.
  • Try Regular mode first. It is much faster. If it finds nothing, then run Extensive mode.
  • Recover to a drive with enough free space. The destination drive must have space for the recovered files. The tool will warn you if there is not enough.
  • Use the /r switch for a damaged drive. If the drive has bad sectors, add /r to the command to use a segmented file recovery mode. This may take longer but can handle errors.

Troubleshooting

If the tool still isn’t working, try these steps in order:

  1. Check for error messages. Read the error text carefully. Common errors include “Access is denied” (you are not admin) or “The system cannot find the file specified” (wrong path).
  2. Update Windows. Go to Settings > Update & Security > Windows Update and check for updates. The tool is updated via Windows Update, and an older version may have bugs.
  3. Run in a different command prompt. Use Windows PowerShell (Run as Administrator) instead of Command Prompt. The commands are the same.
  4. Try a different destination drive. If the destination drive is full, formatted with an unsupported file system (the tool supports NTFS, FAT32, exFAT, and ReFS), or has errors, the tool may fail. Try another drive.
  5. If the drive is not recognized. Make sure the drive is connected and has a drive letter assigned. Open File Explorer to confirm.
  6. If all else fails, use a third-party recovery tool. There are reputable free and paid recovery programs (like Recuva or TestDisk) that have a graphical interface and may be more user-friendly. Always download from the official website.

Frequently Asked Questions

Why do I get “Access is denied” when running winfr?

You are not running Command Prompt as Administrator. Right-click Command Prompt and select “Run as administrator.”

Can I recover files from a drive that was formatted?

Yes, but you must use Extensive mode (/x). Regular mode only works for recently deleted files. Extensive mode scans the entire drive and can recover files after a format, but it takes much longer.

Can I recover files to the same drive?

No. The destination drive must be different from the source drive. This is a safety measure to avoid overwriting data.

What file systems are supported?

Windows File Recovery supports NTFS, FAT32, exFAT, and ReFS. If your drive uses a different file system (like ext4), the tool will not work.

How long does the recovery take?

Regular mode can take minutes to an hour depending on the drive size. Extensive mode can take several hours or even days for large drives. Be patient.

Can I recover files from an external drive?

Yes, you can. Connect the external drive, note its drive letter, and use it as the source. The destination must be a different drive.