snippetbashTip
chkdsk — Check file system and volume metadata for errors. More information: <https://learn.microsoft.com/win
Viewed 0 times
volumecommandandclifilechkdskchecksystem
windows
Problem
How to use the
chkdsk command: Check file system and volume metadata for errors. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.Solution
chkdsk — Check file system and volume metadata for errors. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.Specify the drive letter (followed by a colon), mount point, or volume name to check:
chkdsk {{volume}}Fix errors on a specific volume:
chkdsk {{volume}} /fDismount a specific volume before checking:
chkdsk {{volume}} /xChange the log file size to the specified size (only for NTFS):
chkdsk /l{{size}}Code Snippets
Specify the drive letter (followed by a colon), mount point, or volume name to check
chkdsk {{volume}}Fix errors on a specific volume
chkdsk {{volume}} /fDismount a specific volume before checking
chkdsk {{volume}} /xChange the log file size to the specified size (only for NTFS)
chkdsk /l{{size}}Context
tldr-pages: windows/chkdsk
Revisions (0)
No revisions yet.