Wel in cmd it would be CHKDSK D: /F D: being the HD,but to chk it's settings,in run type: diskmgmt.msc in msc,L.
click on the drive,go up to Actions/All/locate Make Active,close out msc restart pc.
Also,in Win Vista & above OS,most have Storage controller service,Win 7 use Intel Matrix Storage Manager,if you run Intel hardware..