If you are Windows 10 user you may have noticed periods in which the operating system became less responsive, and that may have been caused by the scheduled defrag operations running in the background.
Microsoft Windows 10 runs scheduled maintenance tasks on a regular basis; one of the tasks optimizes any hard drive connected to the system at the time. By default Windows 10 runs the the optimization task once a week, you could change this schedule or completely disable it following steps below.
How to change or disable the optimization schedule
1. Open the disk optimization tool by searching for “optimize” or “defrag” in the taskbar.
2. While in the Optimize Drives window, click the Change settings button.
3. Change the frequency to: Daily, Weekly (default), or Monthly or un-tick “Run on a schedule (recommended)” to disable it.
4. Click OK to apply the settings.