Disk Defragmenter cannot start because scheduler service is not running

Discussion in 'Windows 7' started by Julian2010, Jul 27, 2010.

  1. Julian2010

    Julian2010 MDL Novice

    Jul 27, 2010
    6
    0
    0
    I would use some help, people, tried but failed lots of things.
    Lately a found I could not use Disk Defragmenter, not even a 3Th party like
    WinOptimizers. I turn something off, but can't figure out what.
    Windows 7 64 bit
    ---------------------------------------------------------------------------
    "Disk Defragmenter cannot start because scheduler service is not running
    Start the task scheduler service and try again"

    I go to Windows Task Manager->Services to task scheduler line rightClick to Start Service
    and I get this, "The operation could not be completed. Access is denied".
    ----------------------------------------------------------------------------
    Then tried on some other services lets start them but won't let me stop them again????.

    :D
     
  2. kvic

    kvic MDL Junior Member

    May 25, 2007
    70
    4
    0
    Have you tried to type (services.msc) without quotes , in the search box and turn it on that way?
     
  3. WCCobra

    WCCobra MDL Junior Member

    Apr 21, 2010
    58
    10
    0
    Follow what kvic said, and make sure the Task Scheduler service running.
     
  4. KotaXor

    KotaXor MDL Senior Member

    Aug 3, 2009
    259
    6
    10
    Hi, task scheduler need to be in "automatic".
    The change button in task scheduler in "services.msc" is "grey" out as such unable to change.
    You need to go to registry to change it.
    Just copy the below into notepad and change the extension to .reg and merge into registry.
    Hope this helps.


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
    "AtTaskMaxHours"=dword:00000048
    "DisplayName"="@%SystemRoot%\\system32\\schedsvc.dll,-100"
    "Group"="SchedulerGroup"
    "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
    74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
    00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
    6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
    "Description"="@%SystemRoot%\\system32\\schedsvc.dll,-101"
    "ObjectName"="LocalSystem"
    "ErrorControl"=dword:00000001
    "Start"=dword:00000002
    "Type"=dword:00000020
    "DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,45,00,76,00,65,00,\
    6e,00,74,00,4c,00,6f,00,67,00,00,00,00,00
    "ServiceSidType"=dword:00000001
    "RequiredPrivileges"=hex(7):53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,\
    00,65,00,51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,\
    65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\
    00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
    67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,\
    00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,\
    65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,\
    00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,\
    6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,\
    00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,\
    54,00,63,00,62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
    00,53,00,65,00,52,00,65,00,73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,\
    76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
    "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
    00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Parameters]
    "ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
    00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
    73,00,63,00,68,00,65,00,64,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,\
    00
    "ServiceDllUnloadOnStop"=dword:00000001
    "ServiceMain"="ServiceMain"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Enum]
    "0"="Root\\LEGACY_SCHEDULE\\0000"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001
     
  5. Julian2010

    Julian2010 MDL Novice

    Jul 27, 2010
    6
    0
    0
    yes I've done it but all options are grayout.
    but not all services, just the one I want.
    I login as administrator!!!
    It's frustrating, dammthing.
    Thanks kvic/WCCobra
     
  6. Julian2010

    Julian2010 MDL Novice

    Jul 27, 2010
    6
    0
    0
    Hi look what. "Cannot import <>.reg, file is not a registry script.
    You can only import biary files from within the registry editor."
    And inside registry Editor "Cannot Import note.reg:The key selected is invalid".
    Thanks for the trouble KotaXor.
     
  7. KotaXor

    KotaXor MDL Senior Member

    Aug 3, 2009
    259
    6
    10
    There is a slight typo error....there should be no space "Services".
    Don't know why I am unable to edit my previous post though.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
    "AtTaskMaxHours"=dword:00000048
    "DisplayName"="@%SystemRoot%\\system32\\schedsvc.dll,-100"
    "Group"="SchedulerGroup"
    "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
    74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
    00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
    6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
    "Description"="@%SystemRoot%\\system32\\schedsvc.dll,-101"
    "ObjectName"="LocalSystem"
    "ErrorControl"=dword:00000001
    "Start"=dword:00000002
    "Type"=dword:00000020
    "DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,45,00,76,00,65,00,\
    6e,00,74,00,4c,00,6f,00,67,00,00,00,00,00
    "ServiceSidType"=dword:00000001
    "RequiredPrivileges"=hex(7):53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,\
    00,65,00,51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,\
    65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\
    00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
    67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,\
    00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,\
    65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,\
    00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,\
    6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,\
    00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,\
    54,00,63,00,62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
    00,53,00,65,00,52,00,65,00,73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,\
    76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
    "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
    00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Parameters]
    "ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
    00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
    73,00,63,00,68,00,65,00,64,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,\
    00
    "ServiceDllUnloadOnStop"=dword:00000001
    "ServiceMain"="ServiceMain"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Enum]
    "0"="Root\\LEGACY_SCHEDULE\\0000"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001
     
  8. kvic

    kvic MDL Junior Member

    May 25, 2007
    70
    4
    0
    Also make sure The Event Log Service is running.
     
  9. Julian2010

    Julian2010 MDL Novice

    Jul 27, 2010
    6
    0
    0
    I very much appreciate your help mates, but no longer needed.
    You see I had a mayor computer failure, Ethernet card(on motherboard)
    video card.Fixed them. Install O/S again(VAZ loader is great¡¡).
    And now all runs O.K.(I'll do a System Image this time).
    Thanks again. Julian.
     
  10. jlgager

    jlgager MDL Developer

    Oct 30, 2009
    365
    3,230
    10
    Glad you figured it out!