Yuav ua li cas Siv Chkdsk Command hauv Windows

Cov txheej txheem:

Yuav ua li cas Siv Chkdsk Command hauv Windows
Yuav ua li cas Siv Chkdsk Command hauv Windows
Anonim

Short rau "check disk," chkdsk hais kom ua yog Command Prompt hais kom siv los xyuas cov ntawv teev tseg thiab kho lossis rov qab cov ntaub ntawv ntawm tus tsav yog tsim nyog.

Chkdsk kuj tseem ua rau muaj kev puas tsuaj lossis ua haujlwm tsis zoo ntawm lub hard drive lossis disk li "phem" thiab rov qab tau cov ntaub ntawv tseem tsis zoo.

Image
Image

Chkdsk Command Availability

Cov lus txib chkdsk muaj los ntawm Command Prompt hauv Windows 10, Windows 8, Windows 7, Windows Vista, thiab Windows XP operating systems.

Cov lus txib chkdsk kuj muaj nyob ntawm Command Prompt hauv Advanced Startup Options thiab System Recovery Options. Nws kuj tseem ua haujlwm los ntawm kev rov qab Console hauv Windows 2000 thiab Windows XP. Chkdsk yog DOS Command ib yam nkaus, muaj nyob rau hauv feem ntau ntawm MS-DOS.

Qhov muaj qee qhov chkdsk cov lus txib keyboards thiab lwm yam chkdsk hais kom ua syntax yuav txawv ntawm kev khiav hauj lwm rau kev khiav hauj lwm.

Chkdsk Command Syntax

chkdsk [volume:] [ /F] [ /V] [/R ] [/X ] [/I ] [/C ] [/L : size] [/perf ] [/scan ] [ /?

Chkdsk Command Options
piav qhia
volume: Nov yog tsab ntawv tsav ntawm qhov muab faib uas koj xav kuaj xyuas qhov yuam kev.
Qhov kev xaiv chkdsk no yuav kho txhua qhov yuam kev pom ntawm disk.
/V Siv qhov kev xaiv chkdsk ntawm FAT lossis FAT32 ntim los qhia tag nrho txoj hauv kev thiab npe ntawm txhua cov ntaub ntawv ntawm disk. Yog siv rau ntawm NTFS ntim, nws yuav qhia cov lus ntxuav (yog tias muaj).
/R qhov kev xaiv no qhia chkdsk nrhiav cov haujlwm tsis zoo thiab rov qab tau cov ntaub ntawv nyeem tau los ntawm lawv. Qhov kev xaiv no txhais tau tias /F thaum /scan tsis tau teev.
/X Qhov kev xaiv lus txib no txhais tau /F thiab yuav yuam kom tshem tawm qhov ntim yog tias tsim nyog.
qhov kev xaiv no yuav ua kom tsis muaj zog chkdsk hais kom ua los ntawm kev qhia cov lus txib kom khiav nrawm dua los ntawm kev hla dhau qee yam kev kuaj xyuas tsis tu ncua.
Tib yam li /I tab sis hla dhau cov voj voog hauv cov qauv ntawv kom txo tau lub sij hawm uas chkdsk hais kom ua.
/L: size Siv qhov kev xaiv chkdsk no los hloov qhov loj (hauv KB) ntawm cov ntaub ntawv teev cia. Lub default log file loj rau chkdsk yog 65536 KB; koj tuaj yeem tshawb xyuas cov ntaub ntawv teev npe tam sim no los ntawm kev ua / Lyam tsis muaj "qhov loj" xaiv.
/perf qhov kev xaiv no tso cai rau chkdsk khiav nrawm dua los ntawm kev siv ntau qhov kev pabcuam. Nws yuav tsum tau siv nrog /scan.
/scan Qhov kev xaiv chkdsk no khiav online scan ntawm NTFS ntim tab sis tsis sim kho nws. Ntawm no, "online" txhais tau hais tias lub ntim tsis tas yuav tsum tau muab tshem tawm, tab sis tuaj yeem nyob hauv online / nquag. Qhov no muaj tseeb rau ob sab hauv thiab sab nraud hard drives; Koj tuaj yeem siv lawv txuas ntxiv mus thoob plaws qhov kev tshuaj ntsuam.
/spotfix Qhov kev xaiv chkdsk no cuam tshuam lub ntim tsuas yog luv luv txhawm rau txhim kho cov teeb meem uas tau xa mus rau cov ntaub ntawv teev tseg.
/? Siv cov kev pab hloov nrog chkdsk hais kom ua los qhia cov ncauj lus kom ntxaws txog cov lus txib uas teev saum toj no thiab lwm yam kev xaiv uas koj tuaj yeem siv nrog chkdsk.

Lwm yam tsawg dua siv chkdsk cov lus txib keyboards muaj ib yam nkaus, xws li /B rov ntsuas cov pawg tsis zoo ntawm lub ntim, /forceofflinefix uas khiav kev luam theej duab online (scan thaum lub ntim ua haujlwm) tab sis tom qab ntawd yuam kev kho kom ua haujlwm offline (thaum lub ntim tau raug tshem tawm), / offlinescanandfix uas ua haujlwm offline chkdsk scan thiab tom qab ntawd kho cov teeb meem uas tau pom, thiab lwm yam uas koj tuaj yeem nyeem ntxiv txog los ntawm /? hloov.

The /offlinescanandfix kev xaiv yog tib yam li /F tsuas yog tias nws tsuas yog tso cai rau ntawm NTFS ntim xwb.

Yog tias koj siv chkdsk hais kom ua los ntawm Recovery Console hauv cov laus versions ntawm Windows, siv /p rau /F saum toj no los qhia chkdsk ua qhov kev kuaj xyuas thiab kho qhov tsis raug ntawm lub hard drive.

Chkdsk Command Piv txwv

chkdsk

Hauv qhov piv txwv saum toj no, vim tsis muaj tsav lossis kev xaiv ntxiv tau nkag, chkdsk tsuas yog khiav hauv hom nyeem nkaus xwb.

Yog tias pom muaj teeb meem thaum khiav qhov yooj yim chkdsk cov lus txib, koj yuav xav kom siv cov piv txwv hauv qab no los kho cov teeb meem.

chkdsk c: /r

Hauv qhov piv txwv no, chkdsk cov lus txib yog siv los ua qhov kev txheeb xyuas dav dav ntawm C: tsav los kho qhov tsis raug thiab nrhiav cov ntaub ntawv rov qab los ntawm cov haujlwm tsis zoo. Qhov no yog qhov zoo tshaj plaws siv thaum koj tab tom khiav chkdsk los ntawm sab nraud ntawm Windows, zoo li los ntawm cov ntawv rov qab uas koj yuav tsum tau qhia tias tsav twg los luam theej duab.

chkdsk c: /scan /forceofflinefix

Qhov chkdsk cov lus txib no khiav online scan ntawm C: ntim kom koj tsis tas yuav tshem lub ntim los khiav qhov kev xeem, tab sis tsis yog kho tej teeb meem thaum lub ntim ua haujlwm, cov teeb meem raug xa mus rau ib kab uas yuav raug daws hauv kev kho offline.

chkdsk c: /r /scan /perf

Hauv qhov piv txwv no, chkdsk yuav kho cov teeb meem ntawm C: tsav thaum koj siv nws, thiab yuav siv ntau npaum li cas cov peev txheej raws li kev tso cai kom nws yuav khiav sai li sai tau.

Chkdsk Related Commands

Chkdsk feem ntau siv nrog ntau lwm yam Command Prompt commands thiab Recovery Console commands.

Chkdsk cov lus txib zoo ib yam li cov lus txib scandisk siv los kuaj xyuas lub hard drive lossis floppy disk rau qhov tsis raug hauv Windows 98 thiab MS-DOS.

Pom zoo: