If you’re encountering the storage issue displaying the message ERROR DISK TOO FRAGMENTED with code 0x0000012E on your Windows 11/10 computer, then this post is intended to help you.
When you encounter this issue, you’ll receive the following error message-
ERROR_DISK_TOO_FRAGMENTED, The volume is too fragmented to complete this operation
ERROR_DISK_TOO_FRAGMENTED – 0x0000012E
Use the following fixes if you encounter the ERROR DISK TOO FRAGMENTED error code 0x0000012E on your Windows 11/10 computer.
- Run Disk Cleanup Tool
- Run CHKDSK
- Defrag your drive
- Perform System Restore
- Reset Windows 11/10
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Run Disk Cleanup Tool
With time, temporary junk files take up space on the C drive, hence, making the performance of a system slower. Windows 11/10 has a built-in tool to delete temporary files, called Disk Cleanup. Run the Disk Cleanup Tool to remove junk files.
2] Run CHKDSK
Using CHKDSK is also one solution that has proved to be effective in fixing the issue.
To run CHKDSK, do the following:
- Press the Windows key + R.
- In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin mode.
- In the command prompt window, type the command below and press Enter.
chkdsk /x /f /r
You will receive the following message:
Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N).
Press the Y key on the keyboard and then reboot your computer to let CHKDSK to check and fix the errors on the computer’s hard drive.
After CHKDSK completes, check to see if the issue is resolved.
3] Defrag your drive
Since you’re encountering this ERROR DISK TOO FRAGMENTED issue which is storage-related, you might want to try defragmenting your hard drive. Defragmentation is a useful procedure that optimizes all your stored data allowing you to access it faster.
It is best to use the command line, by executing the following command:
To defrag a specific drive, say Drive C, open a command prompt and type:
defrag c:
You can use the following parameters or switches with the Defrag command to fine-tune your control further:
-r This is the default setting and defragments file fragments that are less than 64 MB.
-w Perform FULL defragmentation of files of ALL sizes.
You can also use free disk defragmenter software for Windows 11/10.
4] Perform System Restore
If you noticed that the error started to occur recently, it’s entirely possible that the issue was facilitated by a change that your system has gone through recently.
If you have no idea what change might have ended up breaking your drive, you can use System Restore (any changes like application installs, user preferences and anything else made after the restore point will be lost) to revert to a date where you’re certain that the printer was working properly.
To perform System Restore, do the following:
- Press the Windows key + R.
- In the Run dialog box, type rstrui and hit Enter to open up the System Restore Wizard.
- Once you arrive at the initial screen of System Restore, click Next to advance to the next window.
- At the next screen, start by checking the box associated with Show more restore points.
- After you’ve done this, select a point that has an older date than the one in which you first started to notice the error.
- Click Next to advance to the next menu.
- Click Finish and confirm at the final prompt.
At the next system startup, your older computer state will be enforced. If the issue is still unresolved, try the next solution.
7] Reset Windows 11/10
If the problem still persists, you can try to reset your computer. Resetting Windows 11/10 can help fix various issues. Perform a Cloud Reset and see if that helps make the problem go away.
Hope something here helps you.
How to fix a fragmented drive?
Data on a fragmented disk is broken into pieces and allocated in a non-sequence form, making it harder to read for Windows. That’s why disk fragmentation decreases the performance of a computer. Therefore, it is important for users to optimize and defragment the hard disks regularly. Windows 11/10 has a built-in tool to fix a fragmented hard disk, called Defragment and Optimize Drives. Click on Windows Search and type disk defragment. Select the Optimize Drives option. The tool will launch. Now, select the hard drive and click on the Optimize button.
How do I fix the error code 0x8007023e?
The error code 0x8007023e on a Windows computer can occur in different scenarios, like while installing a Windows Update and while activating the Windows license. In different cases, you have to apply different fixes. For example, if you receive the Windows Update error 0x8007023e, you can try running Windows Update Troubleshooter, resetting the Windows Update Components, repairing the corrupted system image files, etc.
Read next: Blue Screen after installing Graphics driver on Windows.