If you connect a USB stick, SD card, or hard drive to your Windows 10 computer and find that Windows cannot repair the disc, it means that the disc's file system is corrupted and ChkDsk cannot repair it. Additionally, you may see this message when you try to run ChkDsk to repair the file system.
The complete error is as follows:
Error checking: example of a hard drive
There was an obstacle repairing this unit. Windows was able to repair the drive. Close this dialog box and then try to repair the drive again.
This is an error that can occur unexpectedly on your internal and external hard drives.
Using Windows Disk Management
If you receive the error message "Windows could not complete formatting", you can first try to use the Windows disk management tool to fix this problem. You just have to follow this path:
Step 1: Right-click on the My Computer icon on the desktop and select the Manage option.
Step 2: Click on "Disk Management" to open Windows Disk Management.
Step 3: Select the Micro SD card, USB stick or flash drive you want to format, right click and press “Format”. If there are partitions on the drive, you must first delete them all.
Run CHKDSK from the command line
Although some users reported the error themselves after the CHKDSK scan, others conveyed the message when repairing a drive with built-in tools. If it is one of these, you can try to do a CHKDSK scan first. The scan checks the hard drive for bad sectors and repairs them if feasible.
You must run CHKDSK from the command line. Open CMD and run the following command:
chkdsk x: / f / r
This is 'x' the letter of the disk.
CHKDSK Windows 10 with elevated command prompt.
CHKDSK Windows 10 with the extended flag performs a number of functions. Even though it may take some time to run, you will avoid damaging your hard drive and losing data in the long run. It is recommended to run it when Windows stops abnormally or when the hard drive is working abnormally.
Step 1: Type cmd in the Windows 10 Cortana search field. Right-click on the best match and select Run as administrator.
In the message that appears, type CHKDSK *: / f (* is the letter of the specific drive you want to scan and repair), then press Enter. This Windows 10 CHKDSK command checks your computer's drive for errors and attempts to correct any errors it finds.
Here I use CHKDSK e: / f as an example (e represents the drive letter I want to scan). The image below shows that there is no file system error with the partition. If errors are found on your hard drive, CHKDSK will help you to correct them automatically.
Run startup repair
Windows has another built-in recovery tool that you can use to analyze and fix problems that may prevent Windows 10 from loading properly.
- On the Choose option screen, click Troubleshooting> Advanced options.
- In Advanced Options, select Start - Repair.
Run the System File Checker tool
- In Administrator: command prompt, type sfc / scannow and press enter.
- Wait until the scan and output command line finishes at the end.
- Restart your computer and check the improvements.
Hardware and device troubleshooting
To open and fix hardware and peripheral problems:
- Click the Start button.
- Click Control Panel to open.
- In the search box in the upper right corner of the Control Panel window, type troubleshooting. Click Troubleshoot, if it is displayed.
- Under Hardware and Sound, click Configure Device. You may be prompted to enter an administrator password or a confirmation, password, or confirmation. The Hardware and Device Troubleshooting window opens.
- Select Next to start fixing problems.
- If an obstacle is detected, you will be prompted to “apply this correction”. This can vary depending on what is found.