Save this as chkdsk_all_external.bat (run as Admin):
Never unplug the drive or shut down your PC while the scan is running, as this can cause even more corruption. Method 1: The Quick Fix (Windows File Explorer)
you won’t panic. You will open an elevated command prompt, type chkdsk with confidence, and take control of your data. chkdsk on external drive fix
If your drive shows as RAW, chkdsk might report: "CHKDSK is not available for RAW drives." In this case, you can try to repair the partition structure using tools like or recover data first, then reformat the drive. Conclusion
Depending on the size of your drive and the number of errors, this can take anywhere from a few minutes to several hours. Save this as chkdsk_all_external
Identify your external drive number (e.g., Disk 1 or Disk 2) and type select disk X (replace X with the number). Type attributes disk clear readonly and press Enter. Close Diskpart and try running your CHKDSK command again.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. If your drive shows as RAW, chkdsk might
If your external hard drive is acting up—showing errors, becoming inaccessible, or prompting you to format it—Windows has a built-in tool that can often resolve the issue without data loss. That tool is chkdsk (Check Disk).
CHKDSK fixes most logical errors on external drives. Run /f first, then /r if needed. If CHKDSK freezes or can’t complete, your drive likely has physical damage—replace it immediately.
Maintaining Drive Integrity with CHKDSK When an external hard drive or USB flash drive begins to behave erratically—showing file system errors, failing to open specific folders, or triggering "drive is not accessible" warnings—the Check Disk (CHKDSK)