To run the chkdsk command, Hold the Windows Key and X. Choose Command Prompt (Admin). Type chkdsk /f and press Enter. You will then be asked to type in either Y or N if you wish to schedule the Disk Checking when the System Restarts. Choose Y and then type shutdown /r and press Enter. The system will then reboot and you will be able to see the disk checking take place.
You may also use the /r parameter (which includes the functionality of the /f parameter). The /r parameter adds additional feature to locate bad sectors and recovers readable information. If you want to run chkdsk on an external drive, or if the file system error was presented when working on the external drive, you can run the chkdsk command in the following format, by replacing X: with the drive letter. To read about chkdsk, it’s parameters and other details click (here)