Categories
Knowledge Support Support Categories exacqVision Hardware

Running Windows Chkdsk Command

Title

Running Windows Chkdsk Command

Description 

Chkdsk, also known as Microsoft Check Disk, is a utility that can be used in almost all Windows versions. The Chkdsk commands used to scan through entire hard drives to find and fix any errors.

Chkdsk should be run whenever file system corruption is suspected whether by odd behavior or when indicated in the  exacqVision Server or Windows System logs.

Product 

  • Microsoft Windows

Syntax

Chkdsk volume /f /r /x

Recommended Parameters

  • /f Fixes errors on the disk. The disk must be locked. If Chkdsk cannot lock the drive, a message appears that asks you if you want to check the drive the next time you restart the computer.
  • /r Locates bad sectors and recovers readable information. The disk must be locked. It includes the functionality of /f, with the additional analysis of physical disk errors.
  • /x Forces the volume to dismount first, if necessary. All open handles to the drive are invalidated. It also includes the functionality of /f.

Run Chkdsk from Command Prompt

  • Click the Window Key, type cmd in the search box.
  • Right-click on cmd, cmd.exe or command prompt, depending on your version of Windows and select “Run as Administrator”. Enter your Administrator password if prompted.
  • When the Command Prompt opens, type the following command replacing “c” with the drive letter of the volume to be checked and press enter.
  • Chkdsk c /f /r /x
    • Note: If one or more of the files on the hard disk are open, you will receive the following message:”Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”
      Type Y, and then press ENTER to schedule the disk check, and then restart your computer to start the disk check.

    Run Chkdsk from Properties Window

    • Press Windows key + E to open File Explorer 
    • Navigate to the HDD/SSD to scan 
    • Choose Properties 
    • Select the Tools Tab the click the “Check Now” or “Check” button under Error-checking
    • Windows 7
      • You will be prompted about actions to take before the scan is run 
      • Automatically fix file system error 
      • Scan for and attempt recovery of bad sectors
      • Note: If the drive is in use a message will prompt you to schedule disk check, select to do so. 
      • Reboot the machine 
    • Window 10 
      • Scan Drive 
      • If errors are found, you can decide to fix them
      • Select to scan the disk, a progress window will appear with approximate time to completion 
      • When scanning finishes
      • A message will display with the results and a Show Details link to see the Chkdsk log in Event Viewer.