Difference between chkdsk /r and chkdsk /r /p

Solved
francoistexas Posted messages 59 Registration date   Status Membre -  
 moh algeria teh -
Hello
I wanted to know the difference between chkdsk /r and chkdsk /r /p
Configuration: Windows XP Firefox 2.0.0.3

16 réponses

Hipparchia Posted messages 21 Registration date   Status Membre Last intervention   48
 
Instead of saying that some are wrong and others are right, I tell you that you are all right (isn't life beautiful!)
Zicman is right: "You don't need to look far; the back of the CD XP is not the same as the ms-dos of the command prompt."

There is indeed a place where /r (to repair) doesn’t work, and another where you can run chkdsk c: /p /r without any issues.
The /p, by the way, does not

There are two ways to do a check disk:

1) By opening the command prompt via a session (XP for example), on a powered-on PC.
You can open a small CMD and then run chkdsk g /r to initiate the check disk on an external disk identified by the letter G, for example.

2) By booting from the XP CD, selecting repair, and after choosing the partition to fix (1, 2, 3, etc., depending on the installation performed on your hard drive), also having a command prompt (here, "repair console")

chkdsk /p /r works well, and it is indeed the best way to do it on a HDD with OS, because if you try to repair a hard drive from PC A while using PC B, you might have retrieved your hard drive, but the installation files of XP may have errors.

With /r at the end, it reinstalls the damaged components. It’s very practical.

But a little FIXBOOT afterward is often useful if the PC still doesn’t start. (don’t do this when you’ve connected the HDD to another computer, but on the original PC)

Windows documentation is not exhaustive either, as it forgets to mention that /r does not work from the command prompt of the installed system :D
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb491051(v=technet.10)?redirectedfrom=MSDN

chkdsk [drive:] /p /r
Parameters
none
Used without parameters, chkdsk displays the status of the disk in the current drive.

drive :

Specifies the drive that you want chkdsk to check.

/p
Performs an exhaustive check even if the drive is not marked for chkdsk to run. This parameter does not make any changes to the drive.

/r
Locates bad sectors and recovers readable information. Implies /p.
43