Right-click and select Run as Administrator . (This is crucial for the command to have permission to "lock" the drive for repairs). Step 3: Enter the CHKDSK Command
Resolving directory errors caused by "unsafe removal" (unplugging the drive without clicking Eject).
By following the steps in this guide—from using the /x flag to force dismounts, clearing read-only attributes with Diskpart, and booting into the Recovery Environment—you can successfully execute the even on drives that Windows has given up on. chkdsk on external drive fix
The system will commence various stages of checking. The process may take anywhere from a few minutes to several hours depending on the size of the drive and the number of errors. 4. Alternative: Run CHKDSK via GUI (Error Checking Tool)
In the Command Prompt window, type the following command, replacing X with your actual external drive letter: chkdsk X: /f /r Use code with caution. Right-click and select Run as Administrator
: Tells CHKDSK to locate bad sectors on the drive and recover readable information from them (implies /f ). Step 5: Wait for the Scan to Complete
If CHKDSK says the drive is write-protected, check for a physical lock switch on the side of your SD card or USB drive. If there isn't one, the drive may be failing and stuck in "Read Only" mode to protect your data. By following the steps in this guide—from using
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.