How to defrag Windows 11 hard drive to boost your computers performance?

This post offered byMiniToolshows you three simple ways to defrag your PC to make it work smoother.

If you find the computer runs slowly, try one way now to optimize the hard drive by defragging.

3 Steps to Defrag Windows 10 Computer Hard Disk Drive

Since more and more data is written and deleted, more and more fragments are created.

One reliable solution isdefragmentation.

Not only HDDs but also SSDs (just not as much frequently as HDDs) need defragmentation.

drive optimization Windows 11

Well then, how to defrag a Windows 11 PC to get better PC performance?

3 ways are introduced below.

The following is how to defrag Windows 11 PC.

automatically defrag Windows 11 hard drive

  1. fire up the Windows parameters app via the shortcut combinationWin + I.

Under theSystemtab, go to clickStoragefrom the right section.

Scroll down and clickAdvanced storage prefs.

defrag Windows 11 using Command Prompt

ChooseDrive optimizationand theOptimize Driveswindow will open.

Choose the drive that you want to defrag and clickOptimizeto begin the defragmentation.

For example, if you want to simply defrag your drive C, use the command defrag C:.

defrag hard drive via a batch file

To analyze your C drive if it needs the defrag or not, bang out defrag C: /A.

To defrag all your drives at once, bang out defrag /C and press Enter.

Just use the correct command line based on the given parameters on the CMD window.

PressWin + R, typenotepad,and clickOK.

Save the file as a .bat file.

Run this file with admin privileges to defrag the hard drive.

Thats all the information about how to defrag Windows 11 hard drive.

Just choose one for defragmentation to boost the performance of your setup.