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

  1.    29 Dec 2016 #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 ComputerSystem Spec

  2.    30 Dec 2016 #2

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

  3.    30 Dec 2016 #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 ComputersSystem Spec

  4. TairikuOkami's Avatar
    Posts : 3,475
    Home 1809 x64 10.0.17763.134
       30 Dec 2016 #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 ComputerSystem Spec

  5.    10 Jan 2018 #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 ComputerSystem Spec


 

Related Threads
At times my computer bogs down horribly.* Loading Taskmanager, which can take several minutes, shows Edge taking up 1gb of memory (more or less).* It is usually 100mb or so. I have two other computers using Edge, and they seem fine. Is there any...
Ever since I have migrated to w10 two days ago, whenever I connect to net, I find huge downloads starting to take place. I have closed all "automatic updates", I have disabled all tasks of google/ opera update (disabled there triggers als0,...
every single session since the latest update I inevitably spend half an hour sitting with high cpu usage going to the 'service host unistack service group' and its to the point where I'm curious...what is this? what does it do? is its sole purpose...
Hey guys! First post for me. :) Been taking up the problem of system and service host: local service eating all the ram. So I've been clicking some stuffs at the settings when suddenly I solved my problem unexpectedly! So here's how you do it. :) ...
Hello forum, Hello guys I've had this issue that has really been getting on my nerves for the past couple of weeks now ever since upgrading to windows 10 from windows 7. For some odd reason at random times this Service Host: Local Service...
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 07:47.
Find Us