Windows 10: Click the circle or magnifying glass to the right of the Start menu to open the Search bar, type control panel, then click Control Panel. Windows 8: Hover the mouse over the bottom-right corner of the screen to bring up the menu, click Settings, and then click Control Panel.
If your hard drive is set up to defragment automatically, you’ll see the word “On” under “Scheduled optimization” at the bottom of the window. You can change the schedule by clicking Change settings.
If you have an SSD hard drive (solid state), this button will not be available. This is because it’s not necessary to defragment your SSD drive.
The defragmentation process can take anywhere from several minutes to several hours to complete depending on the state of your disk drive. [1] X Research source
If you see a message that says the drive does not need to be defragmented, there’s no need to take any action.