Skip to content
icône du logo d'amagicsoft
  • Accueil
  • Produits
    • Magic Data Recovery
    • Magic Recovery Key
  • Magasin
  • Blog
  • Plus d'informations
    • À propos d'Amagicsoft
    • Contact US
    • Politique de confidentialité
    • Conditions
    • Accord de licence
    • Politique de remboursement
  • Français
    • English
    • 日本語
    • 한국어
    • Deutsch
    • 繁體中文
Wiki

Commandes CHKDSK : Un guide complet

17 décembre 2025 Smith, Erin Pas encore de commentaires
comment utiliser les commandes CHKDSK
CHKDSK (Check Disk) is a built-in Windows tool that helps maintain and repair file systems on hard drives by checking for errors, bad sectors, and fragmented files. It’s an essential utility for keeping your disk healthy and optimizing performance. It provide several CHKDSK Commands for fixing file system errors, mauvais secteurs, and fragmented files.

Table des matières

How CHKDSK Works

Check Disk scans your hard drive and checks for file system errors, mauvais secteurs, and fragmented files. Depending on the parameters you use, it can also attempt repairs on these issues and récupérer les données perdues from bad sectors.

How to Run Check Disk

To run CHKDSK, follow these steps:

  1. Open Command Prompt as Administrator: Presse Windows + X et sélectionnez Invite de commande (Admin).
  2. Run the CHKDSK Command: In the Command Prompt window, type the desired CHKDSK command with appropriate parameters, for example:

chkdsk C: /f (replace “C:” with your target drive letter).

  1. Reboot the Computer: If scanning the system drive (C:), CHKDSK will schedule the scan for the next reboot. Press Y to confirm.

Complete List of CHKDSK Commands and Parameters

Here is a detailed list of all CHKDSK commands you can use:

Parameter

Description

<volume>

Specifies the drive letter (followed by a colon), mount point, or volume name.

[<path>]<filename>

Use with file allocation table (FAT) and FAT32 only. Specifies the location and name of a file or set of files that you want chkdsk to check for fragmentation. You can use the wildcard characters ? et * to specify multiple files.

/f

Fixes errors on the disk. The disk must be locked. If chkdsk can’t lock the drive, a message appears that asks you if you want to check the drive the next time you restart the computer.

/v

Displays the name of each file in every directory as the disk is checked.

/r

Locates bad sectors and recovers readable information. The disk must be locked. /r includes the functionality of /f, with the additional analysis of physical disk errors.

/x

Forces the volume to dismount first, if necessary. All open handles to the drive are invalidated. /x also includes the functionality of /f.

/i

Use with NTFS only. Performs a less vigorous check of index entries, which reduces the amount of time required to run chkdsk.

/c

Use with NTFS only. Doesn’t check cycles within the folder structure, which reduces the amount of time required to run chkdsk.

/l[:<size>]

Use with NTFS only. Changes the log file size to the size you type. If you omit the size parameter, /l displays the current size.

/b

Use with NTFS only. Clears the list of bad clusters on the volume and rescans all allocated and free clusters for errors. /b includes the functionality of /r. Use this parameter after imaging a volume to a new hard disk drive.

/scan

Use with NTFS only. Runs an online scan on the volume.

/forceofflinefix

Use with NTFS only (must be used with /scan). Bypass all online repair; all defects found are queued for offline repair (for example, chkdsk /spotfix).

/perf

Use with NTFS only (must be used with /scan). Uses more system resources to complete a scan as fast as possible. This might have a negative performance impact on other tasks running on the system.

/spotfix

Use with NTFS only. Runs spot fixing on the volume.

/sdcleanup

Use with NTFS only. Garbage collect unneeded security descriptor data (implies /f).

/offlinescanandfix

Runs an offline scan and fix on the volume.

/freeorphanedchains

Use with FAT/FAT32/exFAT only. Frees any orphaned cluster chains instead of recovering their contents.

/markclean

Use with FAT/FAT32/exFAT only. Marks the volume clean if no corruption was detected, even if /f wasn’t specified.

/?

Displays help at the command prompt.

How to Choose the Right Command

Depending on the issue you’re facing with your hard drive, you can choose different combinations of these parameters to optimize the repair process.

  • For basic disk repairs: Utilisation /f to fix errors on the disk.
  • For bad sector recovery: Utilisation /r to recover readable data from bad sectors and fix file system errors.
  • To perform a more thorough check: Utilisation /r along with /x to dismount the drive before scanning.
  • To speed up the scan: Utilisation /i with NTFS to reduce the check time or /perf to allocate more system resources for faster scanning.
  • For offline repairs: Utilisation /offlinescanandfix to scan and fix the volume when it’s not actively used.

Benefits of Using CHKDSK Commands

  • Repair file system errors: Check Disk can fix corruption in file systems.
  • Recover data from bad sectors: The /r option recovers readable information from bad sectors.
  • Improved performance: Regular use of Check Disk can keep your hard drive in optimal working condition.

Limitations of CHKDSK

  • Data loss: In some cases, Check Disk can delete files if they are located in bad sectors or corrupt areas of the disk.
  • Temps de travail: Depending on the size of your drive and the parameters you use, the scan process can be time-consuming.

Conclusion

CHKDSK commands are valuable tools for maintaining and repairing your hard drive. They can check and fix file system errors, recover data from bad sectors, and help optimize the overall performance of your system. However, if your data is already lost or Check Disk is unable to access a corrupted partition, you will need a specialized data recovery tool.

Si CHKDSK cannot repair your drive or if data is lost, Magic Data Recovery is your reliable solution. It can recover files even if your partition is corrupted, and Check Disk failed to fix the issues. Download Magic Data Recovery now to safely restore your data and regain access to your files.

Télécharger Magic Data Recovery

Prise en charge de Windows 7/8/10/11 et Windows Server

FAQs About CHKDSK Commands

1. Which is better, CHKDSK r or f?

The /r option is more comprehensive because it checks for bad sectors and attempts to recover data. The /f option only fixes file system errors. Use /r for a more thorough repair.

2. How to run a CHKDSK repair?

To repair your disk, use the command chkdsk C: /f (or replace "C:" with the drive letter of your target volume). You can also use /r for bad sector recovery.

3. How do I repair corrupted files with CHKDSK?

To repair corrupted files, run chkdsk C: /r, which checks for bad sectors and attempts to recover data.

4. How to recover CHKDSK deleted files?

If CHKDSK deletes files, consider using a data recovery tool like Magic Data Recovery to recover your lost files from the corrupted or damaged drive.

5. Should I run SFC or DISM?

SFC (System File Checker) is best for repairing Windows system files. DISM (Deployment Imaging Service and Management Tool) is more suited for resolving image corruption issues.

6. How to repair a slow hard disk?

Run chkdsk C: /r to fix slow hard drives caused by bad sectors. Additionally, defragmenting your drive or using system optimization tools can help.
  • WiKi
Smith, Erin

Erin Smith est reconnue comme l'une des rédactrices les plus professionnelles d'Amagicsoft. Elle a continuellement perfectionné ses compétences rédactionnelles au cours des 10 dernières années et a aidé des millions de lecteurs à résoudre leurs problèmes techniques.

Navigation de l’article

Précédent
Suivant

Recherche

Catégories

  • Récupération de Bitlocker
  • Récupération de fichiers effacés
  • Récupération de fichiers formatés
  • Récupération du disque dur
  • Récupération de la clé de licence
  • Récupération des fichiers perdus
  • Récupération de la carte mémoire
  • Actualités
  • Récupération du mot de passe
  • Récupération de photos
  • Récupération du SSD
  • Récupération d'une clé USB
  • Guide de l'utilisateur
  • Récupération vidéo
  • Wiki

Messages récents

  • Exécuter CHKDSK sur la carte SD Étapes simples pour corriger les erreurs
    Exécuter CHKDSK sur la carte SD : Étapes faciles pour corriger les erreurs
  • Qu'est-ce que le TRIM ?
    Qu'est-ce que le TRIM ?
  • Récupérer les fichiers supprimés par Shift dans Windows 11/10
    Comment récupérer les fichiers supprimés par Shift dans Windows 11/10

Tags

Comment faire Magic Data Recovery Magic Recovery Key WiKi

Postes connexes

Exécuter CHKDSK sur la carte SD Étapes simples pour corriger les erreurs
Wiki

Exécuter CHKDSK sur la carte SD : Étapes faciles pour corriger les erreurs

17 décembre 2025 Vasilii Pas encore de commentaires

CHKDSK (Check Disk) is a built-in Windows command-line utility used to scan and repair file system errors on storage devices, including SD cards. When applied to an SD card, CHKDSK examines the logical file structure—such as directory entries, file allocation tables, and file system metadata—to identify corruption, bad sectors, or inconsistencies that may prevent the […]

Qu'est-ce que le TRIM ?
Wiki

Qu'est-ce que le TRIM ?

17 décembre 2025 Vasilii Pas encore de commentaires

TRIM is an operating system–level command that informs solid-state drives (SSDs) which data blocks are no longer needed and can be cleared internally. Unlike traditional hard disk drives(HDDs), SSDs cannot overwrite existing data directly. They must erase memory blocks before writing new information. By identifying unused blocks in advance, this mechanism helps the drive preserve […]

comment exécuter chkdsk
Wiki

CHKDSK : votre guide ultime pour réparer les erreurs de disque

17 décembre 2025 Smith, Erin Pas encore de commentaires

Dans ce guide complet, nous allons nous plonger dans CHKDSK - ce que c'est, ce que fait chkdsk, et les étapes précises pour exécuter chkdsk. Nous explorerons ses avantages, ses limites et les risques potentiels. Plus important encore, nous fournirons un filet de sécurité fiable pour les scénarios dans lesquels l'exécution de CHKDSK pourrait entraîner l'inaccessibilité des partitions ou la perte de données, [...]

icône du logo d'amagicsoft

Notre vision est de devenir une marque de logiciels et un fournisseur de services de renommée mondiale, offrant des produits et des services de premier ordre à nos utilisateurs.

Produits
  • Magic Data Recovery
  • Magic Recovery Key
Politique
  • Conditions
  • Politique de confidentialité
  • Politique de remboursement
  • Accord de licence
Entreprise
  • À propos d'Amagicsoft
  • Contact US
  • Magasin
Suivez-nous

Copyright © 2025 Amagicsoft. Tous droits réservés.

  • Conditions
  • Politique de confidentialité