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. You can also type “ chkdsk /scan” to scan the disk online and attempt to repair it.
Now, type “ chkdsk c: /x /r“, without the quotes, to dismount the drive, scan it for errors, and repair it.The next screen to appear is a User Account Control (UAC) window which will ask for permission to launch the Windows Command Processor and let it make changes to the PC.