I decided to defrag my C drive using the GUI and left overnight to run. Eventually though, I became unable to maximize the progress window and therefore, don't know if the process is complete or not.

I tried hotkey tricks, cascading windows etc. but can't maximise the window.

Subsequently, I tried using the Windows command line defrag function to see if I could determine if the defrag process was finished or not, but am unsure if it would take into account the GUI.

In normal circumstances I wouldn't mind force closing the GUI, but I am afraid that doing so during a defrag session will cause damage.

Any advice? Thanks.

  • Look in task manager under processes, see if defrag.exe is running.
    – Moab
    Feb 9, 2021 at 17:26
  • @Moab I don't see defrag.exe but I do see Service Host: Disk Defragmenter in Processes and defragsvc in the Services tab.
    – larld
    Feb 9, 2021 at 17:34

1 Answer 1


First, defrag ONLY applies to Hard Drives, not SSD drives.

If you have a HDD, and defragged it, it will finish and the dialogue likely then disappeared. No issue with that.

If you wish to check, you will need to run it again, wait for it and see the end of it.

If you go to Admin Tools, Optimize and Defragment, then click on Analyse, it will analyse and tell you if the drive is OK 0% or if it needs to be defragged.

Once Set UP: Let defrag run itself automatically. There is no need to run manually and certainly not frequently.

If you have SSD, do not even use it.

This should help you.

  • I made sure to only do it to a HDD but I appreciate the advice. To clarify, are you saying to try and run the GUI again and see what happens? Thanks.
    – larld
    Feb 9, 2021 at 17:36
  • Yes, just run the GUI again and watch it.
    – John
    Feb 9, 2021 at 17:54
  • I clicked Optimise from the properties menu of my C drive but, apart from the minimised GUI icon flashing briefly, nothing happened sadly.
    – larld
    Feb 9, 2021 at 18:17
  • You said you have a HDD and Optimize is only for SSDs. Use the Defrag option (not Optimize)
    – John
    Feb 9, 2021 at 18:18
  • The button labelled Optimise is in a box labelled Optimise and degragment drive. Assuming we are talking about the same program, would fragment/optimise be used interchangeably?
    – larld
    Feb 9, 2021 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .