Windows 10: Defragsvc keeps starting up automatically

Page 1 of 2 12 LastLast

  1. Posts : 248
    Windows 10 64-bit home
       3 Weeks Ago #1

    Defragsvc keeps starting up automatically


    All evening something keeps calling up svchost.exe (defragsvc) (it's listed in the resource manager under Processes with Disk Activity, and under Disk Activity as defrag.exe). The hard drive keeps grinding away, but I checked and it's disabled in the scheduler.

    If I move the mouse around it stops temporarily. Why does it keep coming up? I don't want it to defrag automatically.
      My ComputerSystem Spec

  2.    3 Weeks Ago #2

    'defragsvc' is the defragment/optimize service. By default it's scheduled to run weekly. If you want to change; Start button\Windows Administrative Tools\Defragment and Optimize Drives.
      My ComputerSystem Spec


  3. Posts : 248
    Windows 10 64-bit home
    Thread Starter
       3 Weeks Ago #3

    Off
    Drives are not being optimized automatically.

    That's what I'm saying. It's off, so why is it running by itself?
      My ComputerSystem Spec

  4.    3 Weeks Ago #4

    Hey rivre,
    Check Services to see if Optimize Drives startup is Automatic. If that's not it, then I'd check Task Scheduler.
      My ComputersSystem Spec


  5. Posts : 248
    Windows 10 64-bit home
    Thread Starter
       3 Weeks Ago #5

    Eagle51 said: View Post
    Hey rivre,
    Check Services to see if Optimize Drives startup is Automatic. If that's not it, then I'd check Task Scheduler.
    Optimize drives is set to manual. Defrag is disabled in the Task Scheduler.

    Should I set to Optimize drives to disabled? Is there a downsize to that? If I disable it, will I still be able to manually run defrag, or would I have to set it back to manual again when I want to run it?

    If it's set to manual, why is it running on it's own? Could something else be triggering it to run? But what?
      My ComputerSystem Spec

  6.    3 Weeks Ago #6

    Any chance you got some 3rd party app that's starting it, maybe something in Task Manager > Start Up

    Note: You can try disabling Optimize Drives, just to see, but I wouldn't leave it that way.
      My ComputersSystem Spec


  7. Posts : 248
    Windows 10 64-bit home
    Thread Starter
       3 Weeks Ago #7

    Nope, just double-checked, but not too many things are enabled at startup. Only what's necessary and a few utilities that I have set to run at startup like SunsetScreen. Nothing unusual that would suggest it would trigger a defrag.
      My ComputerSystem Spec

  8.    3 Weeks Ago #8

    Latest Windows 10 has night light built in.

    Regarding your problem, you could try disabling the service if you don't use it.
      My ComputersSystem Spec


  9. Posts : 248
    Windows 10 64-bit home
    Thread Starter
       1 Week Ago #9

    This continues to be a problem. If I leave the PC alone for a few minutes, it starts up. Defrag is disabled in the task scheduler. So why is it still running automatically? How can I stop this behavior? It's very much an inconvenience to me.

    Somebody else had posted the same issue 2 years ago, and there was no solution posted there either.

    Automatic disk defrag every 5 minutes when idle
      My ComputerSystem Spec


  10. Posts : 3,082
    10.4 Home 1709 x64
       1 Week Ago #10

    Run CMD as admin and copy/paste:
    Code:
    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
    schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
    sc config defragsvc start= disabled
    net stop defragsvc /y
    It is better to use 3rd party software to defrag. It is way faster and more informative.

    Windows defrag takes ages and sometimes it actually never ends.

    14 Free Defrag Software Tools (Updated February 2018)
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hi chaps, I'm having a strange problem of Internet Explorer launching automatically when I boot. Not only that but I've found my Gog Galaxy program, (a game download client) automatically start up too. In the case of Galaxy I have Launch at...
Hi all! I'm facing this issue that is really annoying since I can't find out what is the cause. It started about one week ago, I notices some programs were not starting at windows start (ex: Coretemp, Malwarebytes). Moreover, the pc always got...
Andy android emulator for Windows is starting automatically during windows startup and is placing a hidden icon on the secret icons area on the taskbar next to the clock. What should i do?
starting win 10 in General Support
Hi first post so be gentle. I have just upgraded to win 10 from win 7 home prem. Using a sony vaio laptop I now have to press Ctrl when the windows icon appears and ctrl alt del to progress the program to run further. this is not a logon issue...
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 09:10.
Find Us