Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-invalid-data in Windows 11

ERROR_INVALID_DATA = 13

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 20 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-invalid-data
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time20 min
Requires Admin Rights⚠️ Yes
Requires Reboot🔄 Yes

Solution Steps

  1. 1 Press Windows key + R, type 'cmd', and press Ctrl+Shift+Enter to open Command Prompt as administrator. Type 'sfc /scannow' and press Enter. This scans and repairs corrupted system files. If the error is caused by a corrupted system file, this will fix it. Wait for the scan to finish and restart your PC if it finds issues.
  2. 2 If the error occurs when reading from a hard drive or USB drive, open Command Prompt as administrator and type 'chkdsk C: /f /r' (replace C: with the drive letter that's causing the issue). This checks the disk for errors and repairs them. You might need to restart your PC to run the check. This is like a doctor examining your drive for physical and logical damage.
  3. 3 If the error occurs with a specific program, try reinstalling that program. Press Windows key + I to open Settings, then go to Apps → Installed apps. Find the problematic program, click the three dots, and select 'Uninstall'. Then download the latest version from the official website and install it again. This ensures the program's files are not corrupted.
  4. 4 If the error occurs during file transfer, try copying the file again. If it's a download, delete the incomplete file and download it again. Use a download manager that checks file integrity, like Internet Download Manager, to ensure the file is not corrupted.
  5. 5 If the error occurs when using an external device, like a printer or scanner, update the device driver. Open Device Manager by pressing Windows key + X and selecting 'Device Manager'. Find the device, right-click it, and select 'Update driver'. Choose 'Search automatically for drivers'. This ensures the driver is compatible and not sending malformed data.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free