Many windows users have reported the error code 0x0000012e on their windows 11 system. This is because the hard disk on their system is fragmented and they need to defragment their hard disk quite often for the system to run smoothly. What do you mean by disk fragmentation? Why is it necessary to perform on the system? Disk fragmentation means the files, folders are scattered over the disk and the system needs to arrange it properly for better efficiency. This usually happens whenever you delete any huge set of files from the system or download and install any application / software. Disk defragmentation app gathers all the scattered files and rearranges it. We have come up with a few solutions to the disk too fragmented error code on your system in this post.
Fix 1 – Delete / Clear any junk files
Step 1: Press Windows key on your keyboard and type disk cleanup.
Step 2: Then, hit the Enter key.
Step 3: Next, Select the Windows C: drive from the list and click OK button to proceed.
Step 4: Select all the files to delete by selecting all the checkboxes and finally click OK button as shown in the below screenshot.
Step 5: Then, Click Delete files button in the next window to continue.
Step 6: As soon as you click Delete files , disk cleanup will start deleting all the junk files that you have selected earlier.
Step 7: Once done, your hard disk is cleared from the unwanted junk files.
Step 8: Please check if the error code still appears.
Hope this solved your issue. If not, then try other fixes mentioned below in this post.
Fix 2 – Defragment your disk
Step 1: Press windows key on your keyboard and type defragment and optimize drives.
Step 2: Hit the Enter key to open the app.
Step 3: Select the Drive (Eg:- Windows C: drive) from the list and click Optimize button just below the Status section as shown below.
Step 7: This will optimize the drive you have selected and your system will run smoothly afterwards.
NOTE:- All the SSD will show as days since last retrim and for Hard disk drive will show as days since last run. Don’t worry, both are the same.
Please check if the problem is solved.
Hope this should fix your issue.
Fix 3 – Check Hard Drive Health
Step 1: Press windows + R keys together on your keyboard to open Run dialog box.
Step 2: Type cmd and hit the CTRL + SHIFT + Enter key to open Command prompt as admin.
Step 3: Click Yes on the UAC prompt to continue.
Step 4: Then, Type wmic and hit Enter key.
Step 5: Once done, type diskdrive get status and hit Enter key to get the results.
Step 6: Now you can see if the status of the hard disk health and make a backup copy of files from the hard disk.
That’s it.
Fix 4 – Restore System using System restore
Step 1: Press Windows + R keys together to open Run dialog box.
Step 2: Type rstruiĀ in the Run box and press the Enter key to open System restore wizard.
Step 3: In the system restore window, click Next button to proceed.
Step 4: Select the system restore point from the list as shown below.
Step 5: Then, click Next button.
Step 6: At last, click Finish button to continue restoring the system as shown in the below screenshot.
Step 7: This might take several minutes so please wait patiently till it gets completed.
After your system is restored, check if the problem still persists.
Hope this solved your issue.
Fix 5 – Perform CHKDSK on your system
Step 1: Press Windows + R keys together on your keyboard to open Run box.
Step 2: Type cmd in the run box and press CTRL + SHIFT + ENTER keys together to open command prompt as admin.
Step 3: Click Yes on UAC prompt to continue.
Step 4: Type the following command in the command prompt and hit Enter key.
chkdsk /x /f /r
Step 5: After you hit Enter key, It will say Chkdsk cannot run when the volume is still in use.
Step 6: Next, Type Y and hit Enter key to schedule the volume for chkdsk next time the system restarts as shown in the below image.
Step 7: Then, Restart your system once and observe that the chkdsk is performing on your system.
Step 8: Wait till it finishes and check if the problem still persists.
Hope this solved your issue.
That’s it guys!
Hope this post was helpful in solving the issue.
Please let us know which fix helped you in the comments section below.
Thank you for reading!