1. Press the Windows key + R to bring up the Run dialogue box.
2. Type “dfrgui” and press Enter.
3. The Disk Defragmenter window will open.
4. Select the drive you want to defragment, and then click the “Analyze” button.
5. Once the analysis is complete, click the “Defragment” button, and then wait for the process to finish.
6. Once the defragmentation is finished, click the “Close” button.