/x : Forces the drive to dismount before scanning, ensuring the process isn't interrupted by other programs.
Press . If Windows displays a message stating that the volume is in use and asks to dismount it or schedule the scan on the next reboot, type Y (Yes) and press Enter . chkdsk on external drive fix
: Forces the drive to "dismount" (disconnect) so the tool can work without other programs interfering. Troubleshooting Common Issues CHKDSK /F /R /X Commands to Scan & Fix Hard Drives /x : Forces the drive to dismount before
Type the following command, replacing X with your drive's actual letter: chkdsk X: /f /r /f : Automatically fixes errors it finds in the file system. chkdsk on external drive fix