The “/r” parameter performs the same tasks as “/f”, which fixes errors on the disk, and also tells CHKDSK to locate any bad sectors and recover any readable information it finds there.
In this case, to get CHKDSK to do a full scan and repair pass, we typed “ chkdsk c: /x /r“. In a Windows PowerShell program, parameters are additional commands added to the end of the program name, with “/” characters before each parameter. That’s why, to run CHKDSK in a mode where it will actually fix problems that it encounters, you need to add several parameters. The basic invocation of CHKDSK, simply “chkdsk ”, will scan the disk and display status information, but it will not fix any errors that are encountered. Reboot into recovery mode to perform the scan or create a Windows Recovery Tool, to perform the process.