+5 votes
149 views
Repair Windows 10 CMD Hard Drive | CHKDSK or SFC

in Windows 10 by (551k points)
reopened | 149 views

1 Answer

+3 votes
Best answer

1. Repair Windows 10 hard drive with CMD SFC
2. Repair Windows 10 hard drive with CMD CHKDSK

The hard disk in Windows 10 plays a fundamental role since in it we install the operating system, the applications and it serves as a resource to create backup copies but the hard disk is prone to failures at any time which would affect normal behavior of the system and its dependencies. To avoid this, Windows 10 integrates two tools that help us to verify, correct and manage the status of the hard disk and these tools will be explained by TechnoWikis in detail..

 

If we have problems with our hard drive, it is possible that the system does not work correctly and we cannot detect the error well. Many times it is the software itself that affects the hard drive, so you have to know solutions like the ones in this tutorial to repair your hard drive in Windows 10.

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 


1. Repair Windows 10 hard drive with CMD SFC


SFC (System File Checker), is a utility that is capable of scanning all protected files in order to validate and verify their versions, this allows that if an overwritten protected file is detected, the correct version of the file is recovered. this file from the cache folder (% systemroot% \ System32 \ Dllcache) or also directly from the Windows installation source files in order to replace the failed file and thus ensure the integrity of the file system.

 

Step 1

SFC can be used with the following syntax:
 Sfc [/ Scannow] [/ Scanonce] [/ Scanboot] [/ Revert] [/ Purgecache] [/ Cachesize = x] 
Step 2

For this case, we access the CMD as administrators:

 

image

 

Step 3

In the console we execute the following command:
 sfc / scannow 
image

 

 

Step 4

At the end we will see the following:

 

image

 

Step 5

The / scannow parameter is responsible for carrying out an analysis of all protected system files and will replace the versions that are detected as incorrect with the correct versions from Microsoft, for its use it is possible to access the installation source files of Windows 10.
After this we will execute:
 sfc / verifyonly 
image

 

 

Step 6

At the end of the analysis we will see the following:

 

image

 

 

Step 7

As the name implies, / verifyonly is only responsible for verifying the file system and reporting bugs, but not correcting them. Finally, we execute:
 sfc /scanfile=c:\windows\system32\ieframe.dll 
This is a command that analyzes the described DLL library which has an incidence with the behavior of the operating system. So SFC is a functional tool to repair the hard drive.

 

 

image

 

 


2. Repair Windows 10 hard drive with CMD CHKDSK


CHKDSK (Check Disk) is a utility to check the file system and file system metadata of either the primary drive (requires reboot) or an additional volume in order to look for physical and logical errors.

 

Its use without parameters will cause the CHKDSK utility to only display the status of the volume and does not proceed to correct any errors, to correct errors we must use them with some parameters..

 

Step 1

To use this tool we access the CMD as administrator, first of all, we execute:
 chkdsk c: / f / r (for system drive): 
image

 

 

Step 2

As we mentioned, being the C drive, the analysis will be required when restarting Windows 10. We execute:
 chkdsk e: / f / r (for existing partitions) 
image

 

 

Step 3

This will do a complete analysis on the selected unit, at the end we will see:

 

image

 

 

Step 4

Now we execute:
 chkdsk e: / f / r / scan / perf / i / c 
image

 

 

Step 5

At the end we will see the results obtained:

 

image

 

 

Step 6

To access the help of CHKDSK we will use the command "help chkdsk":

 

image

 

Step 7

Some of the available parameters to use are:

 

  • Volume - Refers to the drive letter, mount point, or volume name to scan
  • / F: Fix hard drive errors
  • / V: applies to FAT / FAT32 systems and displays the full path and name of each of them
  • / R: takes care of detecting bad sectors and recovers as much readable information as possible
  • / L: size: applies for NTFS systems and changes the log file size to the specified number of KB
  • / X: Forces the volume to be unmounted
  • / I applies to NTFS systems and runs a less comprehensive scan of index entries
  • / B: in NTFS evaluate bad clusters of the selected volume
  • / scan - only applies to NTFS and your task is to run an online scan on the chosen volume
  • / perf: applies to NTFS (must be used with / scan), its mission is to take more system resources to carry out the scan faster
  • / markclean: only applies to FAT / FAT32 / exFAT systems and marks the volume as clean if no damage is detected

 

So we have two great utilities to repair the disk in Windows 10.

 

 


by (3.5m points)

Related questions

+4 votes
1 answer
asked Aug 4, 2020 in Windows 10 by backtothefuture (551k points) | 333 views
+3 votes
1 answer
asked Mar 18, 2021 in Windows 10 by backtothefuture (551k points) | 175 views
+5 votes
1 answer
asked Jan 13, 2020 in Windows 10 by backtothefuture (551k points) | 526 views
+4 votes
1 answer
asked Apr 15, 2021 in Windows 10 by backtothefuture (551k points) | 130 views
+5 votes
1 answer
asked Feb 11, 2020 in Windows 10 by backtothefuture (551k points) | 304 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,632 questions
10,764 answers
510 comments
3 users