Tüm Chkdsk Komutları ve Bunların Kullanımı
Here’s how to view the chkdsk scan output logs:
chkdsk Repair Command: How to Use it on Windows 11
Check Disk, commonly known as chkdsk, is a vital Windows utility to monitor the health of your disks. Whenever your hard drives start acting up and you start getting disk errors, the Check Disk utility can be a boon to have.
But, with dozens of chkdsk command parameters out there, it can be a confusing prospect to know when to use the chkdsk command and which parameters to call. To aid you in your task of maintaining the health of your drives, here’s everything you need to know to run the chkdsk repair command.
Contents show
- What is chkdsk and what does it do?
- When to use chkdsk (Check Disk) on Windows
- How to use the chkdsk repair command
- What do the various chkdsk parameters mean?
- Can I use chkdsk on an external drive?
- Will chkdsk repair corrupt files?
- How to see chkdsk scan output logs?
What is chkdsk and what does it do?
The Check Disk utility is integral to Windows and is used to scan the (non-physical) hard drives of your PC and ensure that they are free of corrupt files.
Check Disk analyzes the integrity of the file system and the file metadata on a disk and looks for logical and physical errors. Logical errors are corrupted entries in the disk’s master file table (an important structure that tells the drive how the files are arranged) and are fixed automatically by the Check Disk utility.
Check Disk fixes minor issues like time stamp misalignments and file size data on the drive while bigger problems like physical errors are marked and flagged so that they are not used and the damage is contained. All this ensures that the data on the disk is not compromised and your disk remains healthy and functional.
Even though the workings of the Check Disk utility are not easy to understand, one doesn’t exactly need to know the particulars to know when to run it.
When to use chkdsk (Check Disk) on Windows
Running the Chkdsk utility is recommended if your computer starts showing boot errors, including, but not limited to ones listed below:
- Blue Screen of Death errors
- 0x00000024
- Fatal error reading boot.ini
- 0x0000007B
Besides these, if you find that your disks are throwing errors ever so often and a lot of files are getting corrupt, running chkdsk should be able to scan and fix the soft bad sectors for you.
These problems can arise due to a variety of reasons. If your system shuts down by itself or you experience system crashes frequently, you can expect system file corruption to take place over time.
How to use the chkdsk repair command
The Check Disk utility is run by a simple chkdsk repair command, which can be run using either the Command Prompt or PowerShell. You will, however, need to run your chosen Windows terminal with administrator privileges. To do so, press Start, type cmd, and then click on Run as administrator.
Now, type the following command:
Then hit Enter. With this simple command, as there are no drives or parameters highlighted, the Check Disk utility only runs in read-only mode.
If you don’t want to dismount your drive and run an online scan instead (the disk remains active), type the following command:
chkdsk c: /scan /forceofflinefix
Then press Enter. Check Disk utility will identify the problems and queue them up to be resolved when the volume is offline.
You can also scan a volume and fix issues as you’re using it. For this, type the following command:
chkdsk c: /r /scan /perf
Then press Enter. Check Disk will fix the problems with the selected disk while you’re using it.
What do the various chkdsk parameters mean?
Other than the chkdsk command and the specified disk volume, everything else is an additional parameter that tells the Check Disk utility exactly what to do. Here are a few important chkdsk command parameters and what they do:
Command Parameter Intended Result /f This command fixes any errors found with the disk /scan This runs an online scan (volume doesn’t need to dismount) but does not repair the volume. /r This tells chkdsk to look for bad sectors and retrieve readable information from them. If /scan is not specified, /f is implied /x Implies /f and will force dismount the volume if required. /perf Allows chkdsk to use more system resources and run the scan faster (requires the /scan command). /spotfix Dismounts the volume briefly to fix issues that were sent to the log file. /? Provides help with chkdsk commands (those listed above and various others). Other than these common command parameters, chkdsk supports a bunch of other commands as well. To get a full list, check out this Microsoft document.
Popular chkdsk commands
- chkdsk /f /r — Fixes bad sectors too and retrieves readable info.
- chkdsk /f /r /x — Dismounts the volume, fixes bad sectors too, and retrieves readable info.
How to use chkdsk for boot partitions
The boot partition is your system drive, the one that your computer boots up with. For most people, this is the C: drive, and it needs to be handled differently so that the Check Disk utility can scan and fix it properly.
Safe to say that chkdsk cannot do so if the computer is being used. However, the Check Disk utility will give you the option to restart the computer and run the command before the computer boots up, so that it has all the access that it needs. To do so, type the following command:
Then press Enter. You will get a message telling you that Check Disk “cannot lock current drive… because the volume is in use by another process”. Instead, it will ask you if you’d like to schedule it the next time the system restarts. Type Y and press Enter.
If you’d like, you can restart the system now and get on with the scan.
An alternate way to check disk in Windows 11
The Check Disk utility can also be run from the disk’s properties itself. Here’s how to do so:
Press Win + E to open File Explorer and then click on My PC in the left pane. Right-click on the drive that you want to check and select Properties.
Click on the Tools tab to switch to it.
Now, under “Error checking”, click on Check.
Check Disk may tell you that there’s no need to scan the drive if there are no drive errors found. But if you want to scan it anyway, click on Scan drive.
The scan will now begin.
Frequently Asked Questions (FAQs)
The Check Disk utility can be hard to understand and use, especially with the different command paramters that it supports. Here we answer a few commonly asked user queries so that you know what all is possible with chkdsk.
Can I use chkdsk on an external drive?
Yes, you can use chkdsk on any drive, even if it’s an external one. Just make sure to specify the name of the drive when you’re running the chkdsk command. You can also use the alternate method given above to do so.
Will chkdsk repair corrupt files?
The chkdsk utility can scan and fix most corrupt errors found on a disk. Just make sure you’re running it with administrator privileges.
How to see chkdsk scan output logs?
Here’s how to view the chkdsk scan output logs:
Press Win + R to open the RUN dialog box, type eventvwr, and hit Enter.
This will open Event Viewer. Click on Windows Logs to expand the tree.
Then click on Application.
Now, on the right, scroll through the logs and find one that has Chkdsk as its “Source”.
Double-click on it to get the output logs.
So this is how you cann use the chkdsk repair command on Windows 11. We hope you now have a better understand of what the Check Disk utility can do and when you should do it.
Tüm Chkdsk Komutları ve Bunların Kullanımı
Sisteminiz çöktüğünde veya kapandığındabeklenmedik şekilde, Windows Chkdsk veya Diski Denetle adında bir disk kurtarma aracı çalıştırabilir. Bu araç sabit sürücüyü herhangi bir hataya karşı tarar ve mümkün olduğunca fazla veri kurtarmaya çalışırken bu hataları düzeltmeye çalışır. Sadece bu değil, chkdsk yardımcı programı da sisteminiz BSOD (Ölümün Mavi Ekranı) ile karşılaştığında, hasarlı veya eski sabit sürücü durumunda kötü sektörler, küme sorunları, dosya sistemi aksaklığı, vs.
Anlatabileceğiniz gibi, chkdsk çok kullanışlı bir yardımcı programdırBu hayatınızı kolaylaştırır. Genel olarak, Windows chkdsk aracını gerektiğinde ve gerektiğinde otomatik olarak çalıştırır. Ancak, chkdsk aracını el ile de çalıştırabilirsiniz. Bunu yapmak istiyorsanız, Windows 10’daki tüm veya önemli chkdsk komutlarını bilmek daha iyidir. Size bu konuda yardımcı olmak için tüm chkdsk komutları ve bunların kullanımı.
Chkdsk Komutlarının Listesi
Chkdsk, yardımcı programı doğru ve verimli bir şekilde çalıştırmanıza yardımcı olmak için çok çeşitli komut satırı anahtarları ve parametrelerine sahiptir. Aşağıda tüm chkdsk komutları ve anlamları bulunmaktadır.
hacim – Bu parametre, chkdsk yardımcı programının hedef sürücüyü / klasörü tarayabilmesi için bir sürücü harfi veya birim adı belirlemenizi sağlar. Örneğin, D sürücüsünü taramak için D: .
Dosya adı – Bu parametre, herhangi bir parçalanma için belirli bir dosyayı taramak için kullanılır. Bu parametre yalnızca FAT ve FAT32 dosya sisteminde çalışır. Gerçi gerçek dünyada, bu parametreyi bu kadar fazla kullanmayacaksınız.
/ F – Chkdsk’in tarama sırasında bulduğu hataları otomatik olarak düzeltmesini sağlamak için bu anahtarı kullanın.
/ R – Bu anahtar, kötü sektörleri tarar ve mümkünse, bu sektörlerden okunabilir bilgileri kurtarır.
/ L: boyut – Bu anahtar yalnızca NTFS dosya sisteminde çalışır. Anahtar, NTFS işlemleriyle ilgili dosya günlüğü boyutunu değiştirmenize olanak sağlar. Genel olarak, bu sadece sunucu yöneticileri içindir.
/ X – Bazen, eğer ses monte edilmişse,tarama ve kurtarma işlemlerinde sorunlara neden olabilir. Bu durumlarda, bu anahtarı kullanabilirsiniz. Kullanıldığında, gerekirse, herhangi bir tutamağın geçersiz kılınmasıyla sonuçlanan hedef hacmi çıkarmaya zorlar. Ne yaptığını bilmiyorsan, yok bu anahtarı kullanın.
/BEN – Bu anahtar, indeks taramasını daha az güçlü yapar. Söyleyebileceğiniz gibi, bu önceliği düşük öncelikli taramalar yaparken veya zaman aşımına uğradığınızda kullanabilirsiniz. Ayrıca, bu anahtar yalnızca NTFS dosya sisteminde çalışır.
/ C – Yukarıdaki anahtar gibi, bu sadece NTFS dosya sistemiyle çalışır. Kullanıldığında, bu anahtar klasör yapısı ile döngü kontrolünü atlar.
/ B – Bu anahtar, chkdsk aracını, birimdeki hatalı kümeleri yeniden değerlendirmesini sağlar.
/ Tarama – Bu parametre çevrimiçi bir taramayı çalıştırır ve yalnızca NTFS dosya sisteminde çalışır.
/ ForceOfflineFix – Bu anahtar, chkdsk aracını çevrimiçi onarım üzerinde çevrimdışı onarımı zorlamaya zorlar. Bu anahtarı kullanmayı seçtiyseniz, / scan parametresinin yanında kullanılmalıdır.
/ Terch – Bu parametre chkdsk önceliğini arttırır, böylecedaha yüksek sistem kaynak kullanımı pahasına taramaları mümkün olduğu kadar hızlı çalıştırabildiğini Tahmin edebileceğiniz gibi, bu parametreyi kullandığınızda, sınırlı kaynaklar nedeniyle sisteminizdeki diğer programların yavaşlamasına neden olabilir. Bu anahtar yalnızca NTFS dosya sisteminde çalışır ve / scan parametresiyle birlikte kullanılmalıdır.
/ Spotfix – Adından da anlaşılacağı gibi, bu parametre birimde bulunan sorunları tespit etmeye çalışır. Yalnızca NTFS dosya sisteminde çalışır.
/ SdCleanup – Çöp, Güvenlik Tanımlayıcı verilerini toplar. Yalnızca NTFS dosya sisteminde çalışır.
/ OfflineScanAndFix – Bu parametre chkdsk aracını çevrimdışı bir taramayı çalıştırmaya ve sorunları çevrimdışı olarak düzeltmeye zorlar.
/ FreeOrphanedChains – Bu parametre, içerisindeki verileri kurtarmak yerine, artık tüm çeneleri serbest bırakır. Yalnızca FAT, FAT32 ve exFAT dosya sistemlerinde çalışır.
/ MarkClean – Bu parametre, taranmış birimi, hata yoksa temiz olarak işaretler. Yalnızca FAT, FAT32 ve exFAT dosya sistemlerinde çalışır.
Chkdsk Komutlarını Kullanma
Chkdsk komutunu kullanmak oldukça basittir vebasit. Genellikle, çoğu yalnızca sabit diskin tamamındaki veya belirli bir bölümündeki sürücü hatalarını taramak ister. Bu yüzden sık kullanılan komutları göstereceğim. Chkdsk kullanmak için, komut istemini admin olarak açmanız gerekir.
Temel chkdsk komutu şöyle görünür.
chkdsk [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]
C sürücünüzü taramak istiyorsanız, aşağıdaki komutu kullanın. Elbette, başka bir sürücüyü taramak istiyorsanız, sadece C’yi istediğiniz sürücü harfiyle değiştirin.
chkdsk C:
Bir diski kontrol etmek ve onarmak için aşağıdaki komutu kullanabilirsiniz. Tıpkı daha önce olduğu gibi, C’yi istediğiniz sürücü harfiyle değiştirebilirsiniz.
chkdsk C: /f /r
Hepsi bu. Chkdsk yardımcı programı hakkında daha fazla bilgi için bu Microsoft dokümanlar sayfası.
Checking and fixing hard drive errors – CHKDSK
The CHKDSK command is intended to check and eliminate logical errors on the hard disk. Below we will consider the features of its working and other functions of the utility.
Content:
- Checking the hard drive in running Windows
- Checking the drive using command prompt
- Commands for working with CHKDSK at the command prompt
- Restoring information from a problem hard drive
The CHKDSK command is a built-in utility whose main function is to check and fix hard drive error. Besides, with CHKDSK you can quickly find and repair damaged sectors, as well as errors in the drive disk system.
Thus, CHKDSK is an important utility that allows you to increase the lifetime of your hard drive, as well as increase its speed, so absolutely every Windows user should know how to use and test their drives with built-in tools. Below are a few ways to test disks from a running operating system and the command prompt.
Checking the hard drive in running Windows
To check the logical partitions on your hard drive using CHKDSK in running Windows, you need:
Step 1: Open the “This PC” directory, right-click on the necessary logical partition, and select “Properties”.
Step 2: In the window that opens, go to the “Tools” tab and select the “Check” button.
Step 3: Confirm the drive check and click on the “Show details” button after completing the check.
Step 4: All information and drive test results will be available in the “Information” column.
Checking the drive using command prompt
In some situations, the user may need to run the CHKDSK utility from the command prompt. This feature will allow checking and recovering the drive in case the system does not start, and the Windows GUI remains unavailable.
Read more: How can I check my Windows computer for viruses?
To run the command prompt from the OS recovery environment, it is necessary:
Step 1: Use your Windows installation disk or bootable flash drive and click on “System Restore” after the language selection window. Go to the recovery environment and click on “Troubleshooting”.
Step 2: In the next window, you should select “Advanced options”, after which you can find the “Command Prompt” button.
It is also always possible to run the disk check utility via command prompt from a running system. Important: To use the full potential of CHKDSK, you should run the command line with administrator rights only. Otherwise, the CHKDSK utility will perform the check without troubleshooting the detected problems..
You can launch the command prompt or Windows PowerShell as administrator by right-clicking on the “Start” button and selecting “Command Prompt (admin)”.
Commands for working with CHKDSK at the command prompt
From the command line, you can quickly check the hard drive (a similar check described at the beginning) without rebooting the system. To do this, enter the command “CHKDSK” and confirm the action with the Enter button.
To check the disk and fix logical errors on it you should use the command «chkdsk C: /F /R», where C is the name of the required disk.
Read more: Recovering Encrypted Data
Press the «Y» key to confirm the drive check after rebooting.
In addition to full analysis, and if possible correction of damaged sectors the utility can only check and solve errors the file system only. For this purpose, you should use the command “chkdsk C: /F” and confirm the action “Y”.
The full list and description of the utility features can be found by entering the command “chkdsk /?”
It should be noted that disk problems can be caused not only by software errors, but also by physical wear and tear, mechanical surface damage and other factors that cannot be corrected with the built-in CHKDSK utility.
To get a complete picture of the state of your device, you can use Victoria’s free disk checking software. Learn how to use, fix and diagnose HDDs with Victoria in the article: “Using Victoria software to test and fix your hard drive”.
Restoring information from a problem hard drive
Hard drive problems are always a big threat to important information and documents stored on your computer. To be ready for any circumstances, we recommend that you always have at hand a special program for effective recovery of RS Partition Recovery files. This utility will help you recover all lost information even in the most difficult cases.
With RS Partition Recovery you can restore:
- Randomly deleted files and documents.
- Formatted photos and media files..
- Data deleted by viruses.
- Information that was lost by changing the file system и disk structure.
Frequently Asked Questions
What is the CHKDSK utility? CHKDSK is a system utility designed to work with disks. CHKDSK has no graphical interface. All commands are done from the command prompt or Windows PowerShell. How to check and fix errors on the system disk in non-functioning Windows? Launch Windows Recovery mode and select “Command prompt”. Then run the command: “chkdsk C: /F /R”. If you want to scan and fix errors on any other drive — replace “C” with your drive letter. My operating system stopped booting. I wanted to check the system disk for errors and accidentally formatted it. The problem was that I had some important data on it. How can I get it back? In such cases, it is better to use RS Partition Recovery right away. The program is designed just for such situations and successfully restores data in 99% of cases. Can I use CHKDSK to repair a RAW disk error? Unfortunately, no. CHKDSK is concerned with finding and fixing logical errors on the disk, while a RAW error is a file system error. In that case, the best solution is to recover important data with RS Partition Recovery and then format the disk. How can I view the results of a disk scan (logs)? On Windows search, type “Windows Event Viewer” and in the opened program go to Windows Logs -> Application. Then right-click and choose “Find”. Type “chkdsk” and press “Enter”. In the search results that open, find the last event with Event ID 1001 and the source Wininit. Then open the “General” tab. There you will find a detailed log of the drive scan.
About Den Broosen
Author and site editor for RecoverySoftware. In his articles, he shares his experience of data recovery on a PC and the safe storage of information on hard drives and RAID arrays.
Comments are closed, but trackbacks and pingbacks are open.