Windows 10: Defragsvc keeps starting up automatically

Page 2 of 2 FirstFirst 12

  1. Posts : 332
    Windows 10 64-bit home
    Thread Starter
       07 Feb 2018 #11

    TairikuOkami said: View Post
    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)
    Thanks. What do those registry tweaks do exactly? I don't like to add registry tweaks/settings unless I know exactly what each one does. If I run those and I still want to run Windows 10 manually, will I be able to?

    I used to use 3rd party defrag software but not since moving to Windows 10. I do have defraggler and IObit Smart Defrag installed but I never use them actually. Windows does sometimes take a long time, especially since it sometimes runs tons of passes and it never bothers to tell you how many more it's planning on making. But I've never run into an issue where it hasn't finished at some point.
      My ComputerSystem Spec

  2. AddRAM's Avatar
    Posts : 2,105
    Windows 7 Pro x64 Windows 10 Pro x64
       07 Feb 2018 #12

    Why only now do you mention you have 2 other defragging tools installed.

    If you never use them, than uninstall them, they could be causing the problem. Windows does a fine job on its own.

    If you keep your drives at 0% defragmented, you`re good.
    Attached Thumbnails Attached Thumbnails DeFrag.JPG  
      My ComputersSystem Spec


  3. Posts : 332
    Windows 10 64-bit home
    Thread Starter
       07 Feb 2018 #13

    AddRAM said: View Post
    Why only now do you mention you have 2 other defragging tools installed.

    If you never use them, than uninstall them, they could be causing the problem. Windows does a fine job on its own.

    If you keep your drives at 0% defragmented, you`re good.
    Because I have already checked and they are fully disabled. It's windows defrag service that is running, not the 3rd party tools. I just checked again in both programs, and all auto modes are disabled, and the software does not run at startup. And those programs are not in the resource manager when the windows defrag service is running. I have them installed because I like to have options. As mentioned above, some like 3rd party tools so that they know how far along they are in the process. Windows keeps it a secret so it may be 10 more minutes, it may be 2 more hours. Some 3rd party tools do a much better job at letting you know the status.

    It shouldn't matter how defragmented my drives are or aren't - if it is disabled in the scheduler (it is) and in the screen you show above (it is) then it shouldn't be running. But it does anyways.
      My ComputerSystem Spec

  4. TairikuOkami's Avatar
    Posts : 3,408
    10.6 Home 1809 x64
       08 Feb 2018 #14

    rivre said: View Post
    Thanks. What do those registry tweaks do exactly?
    Disabling Disk Defragmentation

    The rest is to disable the scheduled task and the service.


    rivre said: View Post
    If I run those and I still want to run Windows 10 manually, will I be able to?
    Yes, they just disable automatic defragmentation.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

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 06:30.
Find Us