ChkDsk

ChkDsk Command Line Options, Switches, Parameters in Windows 10

ChkDsk Command Line Options, Switches, Parameters in Windows 10

Check Disk or Chkdsk.exe is a built-in Windows utility used to check for errors in the disk media and in the file system. If you face problems ranging from blue screens to inability to open or save files or folders, one can run the Check Disk utility. Whenever we need to detect and fix the file system or disk corruption, we run the built-in Windows Check Disk tool. The Check Disk utility or ChkDsk.exe checks file system errors, bad sectors, lost clusters, and so on. Check Disk can run automatically, in the case of an abrupt shutdown or if it finds the file system to be 'dirty'.

We can say that there are “two versions” of this utility in Windows 10/8/7 and Windows Vista. One is the basic version which most of us use and the other is the command-line version, which has more sets of options. The basic version of the Check Disk utility can be accessed as follows:

Open Computer > Right-click Drive > Properties > Tools tab > Check Now.

Here you have options to Automatically Fix File System Errors and Scan For And Attempt Recovery Of Bad Sectors.

You may have to schedule the chkdsk at reboot if the drive to be checked, is in use.

Command Line ChkDsk

And then there is this command-line version of chkdsk, which offers you several options, apart from just allowing you to set up regular disk checking using the Task Scheduler.

To use the command line check disk version, open a Command Prompt using the 'Run As Administrator' option. Type chkdsk at the prompt. This will run Chkdsk in a Read-Only mode and display the status of the current drive.

Typing chkdsk /? and hitting Enter will give you its parameters or switches.

To get a report for, say, drive C, use chkdsk c:.

You can also use the following parameters at the end of the command to specialize its operations.

The following are valid on FAT32 / NTFS volumes.

The following are valid on NTFS volumes only.

The following switches work in Windows 10, Windows 8 on NTFS volumes only:

These switches are supported by Windows 10 on FAT/FAT32/exFAT volumes only:

Also note:

So you could run a command like the following to check and repair disk errors on your C drive:

chkdsk c: /r

Cancel a CHKDSK scan

To cancel a scheduled check, at a command prompt, type

chkntfs /x d:

and hit Enter. Here d is the drive letter.

Users of Windows 10/8 may have noticed that Disk Error Checking is a bit different from the earlier versions of Windows. Read this post on Disk Error Checking in Windows to learn more.

This post on how to format External Drive or run Check Disk using Command Prompt may interest some of you.

Gry Jak wyświetlić nakładkę OSD w pełnoekranowych aplikacjach i grach dla systemu Linux?
Jak wyświetlić nakładkę OSD w pełnoekranowych aplikacjach i grach dla systemu Linux?
Granie w gry pełnoekranowe lub korzystanie z aplikacji w trybie pełnoekranowym bez rozpraszania uwagi może odciąć Cię od istotnych informacji systemow...
Gry 5 najlepszych kart do przechwytywania gier
5 najlepszych kart do przechwytywania gier
Wszyscy widzieliśmy i uwielbialiśmy strumieniowe rozgrywki na YouTube on. PewDiePie, Jakesepticye i Markiplier to tylko niektórzy z najlepszych graczy...
Gry Jak stworzyć grę na Linuksie
Jak stworzyć grę na Linuksie
Dziesięć lat temu niewielu użytkowników Linuksa przewidywało, że ich ulubiony system operacyjny pewnego dnia stanie się popularną platformą do gier dl...