Windows 10 disable automatic defragmentation
In addition to the method geotavros described, another method for turning off automatic defrag/optimization can be accomplished by doing the following....
- Click on the
Start Menu
- Start typing
Defrag
and you'll see an option come up calledDefragment and Optimize Drives
. Select that. - Make sure the drive you want to turn off defrag/optimize is highlighted and then click on
Change Settings
. - Uncheck the box that says
Run on a schedule
- Click on OK and you're done.
Alternative process with Command Prompt::
- Run Command Prompt as administrator and run the command
schtasks /Delete /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /F
/TN option specifies the path\name of the task to delete.
/F option forcefully deletes the task and suppresses warnings if the specified task is currently running.