Microsoft’s hard disk scanning and repair utility, CHKDSK (“check disk”), was introduced over 30 years ago but still has a useful place today. Users running even the latest Microsoft operating system can still use the command to examine their hard drives for errors and repair them if necessary. Here’s how to run CHKDSK in Windows 8.
We want to take a moment to thank our sponsor this week, AudioTheme. Made by the same people who designed TekRevue, AudioTheme is a one-stop-shop for WordPress themes and plugins built specifically for people who make music. Visit them today and use promo code “tekrevue” at checkout for 10% off your order.
First, launch the Start Screen by pressing the Windows key or clicking the lower left corner of the Taskbar. From the Start Screen, search for the Windows Command Prompt by typing “cmd”. Right-click on the Command Prompt and choose “Run as Administrator” from the bar at the bottom of the screen.
After authenticating as an administrative user, you’ll be at the Windows Command Prompt, a familiar interface for users who remember the days before Windows NT. Type the command “chkdsk” followed by a space, then the letter of the drive you wish to examine or repair. In our case, it’s external drive “L.”
Simply running the CHKDSK command will only display the disk’s status, and won’t fix any errors present on the volume. To tell CHKDSK to fix the drive, we need to give it parameters. After your drive letter, type the following parameters separated by a space each: “/f /r /x”
The “/f” parameter tells CHKDSK to fix any errors it finds; “/r” tells it to locate the bad sectors on the drive and recover readable information; “/x” forces the drive to dismount before the process starts. Additional parameters are available for more specialized tasks, and are detailed at Microsoft’s TechNet site.
To summarize, the full command that should be typed into the Command Prompt is:
chkdsk [Drive:] [parameters]
In our example, it’s:
chkdsk L: /f /r /x
Note that CHKDSK needs to be able to lock the drive, meaning that it cannot be used to examine the system’s boot drive if the computer is in use. In our example, the target drive is an external disk so the CHKDSK process will begin as soon as we enter the command above. If the target drive is a boot disk, the system will ask you if you’d like to run the command before the next boot. Type “yes,” restart the computer, and the command will run before the operating system loads, allowing it to gain full access to the disk.
A CHKDSK command can take a long time, especially when performed on larger drives. Once it’s done, however, it will present a summary of results including total disk space, byte allocation, and, most importantly, any errors that were found and corrected.
The CHKDSK command is available in all versions of Windows, so those on Windows 7 or XP can also perform the steps above to initiate a scan of their hard drive. In the case of older versions of Windows, users can get to the Command Prompt by going to Start > Run and typing “cmd”.
Want more tips like this? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.