I have a hard drive plugged into a dock that has Windows 7 installed on it, I would like to do a SFC on it, because when I do it internally it says some files can't be repaired, what is the command?
41 Answer
AEisen Sep 8, 2010 at 3:08 AM I'm not sure about a Windows repair, but a Windows Vista based OS (Vista, PE, 7, 2008) will be able to run System Files Checker on an offline Windows directory.
SFC /scannow /OFFWINDIR=remotedrive:\Windows /OFFBOOTDIR=remotedrive:
Example:
SFC /scannow /OFFWINDIR=F:\Windows /OFFBOOTDIR=F:\
Following that, you can always run chkdsk /b on the drive once that finishes (unless it's pre-Vista, in which case it's chkdsk /r)
See the answer listed here.