chkdsk
Check file system and volume metadata for errors. More information: https://docs.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}} /f
- Dismount a specific volume before checking:
chkdsk {{volume}} /x
- Change the log file size to the specified size (only for NTFS):
chkdsk /l{{size}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.