Service Host: Disk Defragmenter taking up huge amounts of CPU 24/7


  1. Posts : 1
    Windows 10
       #1

    Service Host: Disk Defragmenter taking up huge amounts of CPU 24/7


    Seriously, it's starting to concern me how it's permanently taking up this much of my CPU...

    Here's a link showing how much of the CPU it's taking up, it's been like this for days now.
    https://i.imgur.com/k94cXGa.png
      My Computer


  2. Posts : 1
    windows 10
       #2

    Exact same problem... If you figure out the solution, please post!
      My Computer


  3. Posts : 7,254
    Windows 10 Pro 64-bit
       #3

    Hi guys welcome to the forum.

    If you aren't concerned too much about having your disks defragged or you have SSDs you can easily disable the service.

    In the search box on the taskbar, type defrag and open the program that comes up.
    Once the program is running you can disable the scheduled service and that should disable the resident service as well (if it hasn't, post back here).
    Last edited by swarfega; 30 Dec 2016 at 11:54.
      My Computers


  4. Posts : 5,452
    Windows 11 Home
       #4

    Additionally, you can disable it like this. Run CMD as admin and copy/paste:

    schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
    reg add "HKLM\Software\Microsoft\Dfrg\BootOptimizeFunction" /v "Enable" /t REG_SZ /d "n" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OptimalLayout" /v "EnableAutoLayout" /t REG_DWORD /d "0" /f
      My Computer


  5. Posts : 456
    Windows 10 Pro
       #5

    I found a way to disable the defragsvc.

    1. Run services (services.msc)

    2. Highlight "Optimize Drives" and click on properties.

    3. There is a drop box that allows you to chose Automatic, Manual, or Disable. I chose Disable and it hasn't come on since. Choosing Manual did not work. It still kept coming on continuously. I suspect something is broken but not a problem anymore.

    4. Ran a stopwatch on my phone for 10 minutes & kept taskmanager open to see if anything would spike again. No spike after this. I noticed that before I did this, about every 2 minutes that stupid defragger would run.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:14.
Find Us




Windows 10 Forums