Windows – Running Windows disk defragmentation on boot in Windows 10

bootdefragmenthard drivewindowswindows 10

My PC shows that the system reserved and the windows partitions are fragmented above 10%. I kept the defrag option running within Windows but there is no impact on the fragmentation percentage.

I was wondering if I can run defragmentation when system boots up, so the files are not locked. But I cannot find any way to schedule a defragmentation on boot.

Is there a way to do it, the way Check Disk utility runs at boot in its own UI?

Edit:

In the screenshot, the system partition and windows partition are both fragmented. Funny thing is, after every click of "Analyze button", it displays different values. I have tried to use command prompt during boot, but that didn't allow the defrag command. I will try to take a picture of that and post it here.

Partition in question

Screenshot of the smart defrag tool
Smart Defrag

Best Answer

I was wondering if I can run defragmentation when system boots up?

You can use IObit Smart Defrag for this. It has an option to perform a "Boot Time Defrag":

IObit Smart Defrag is another free tool that is worth keeping on the disk drive. (Get the portable version.) This not only defragments files, but it also has a Boot Time Defrag.

enter image description here

This runs a defragmenter utility just after the PC is switched on and before Windows loads. Turn on all the tick box options and click Configure.

IObit Smart Defrag

Select the Only next boot option, click Apply and then OK. Reboot the computer to defrag the system files that are in use.

Source Defragment the disk after upgrading to Windows 10 for speed