defrag won't start tasksheduler not start


  1. Posts : 30
    win10
       #1

    defrag won't start tasksheduler not start


    when i look by services task sheduler is start automatically
    and defrag won't start because the task sheduler is not start and i can't change it is grey
      My Computer


  2. Posts : 15,622
    19043.1237
       #2

    Go in Disk Management, right click on drive you want to defrag, select properties, in the tools tab, optimize and defrag...
      My Computer


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

    Try to run this as admin in CMD
    Code:
    reg add "HKLM\Software\Microsoft\Dfrg\BootOptimizeFunction" /v "Enable" /t REG_SZ /d "y" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OptimalLayout" /v "EnableAutoLayout" /t REG_DWORD /d "1" /f
    schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Enable
    sc config defragsvc start= demand
      My Computer


 

  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 23:31.
Find Us




Windows 10 Forums