A blog with focus on experiences with the Windows Client operating systems…
RSS icon Email icon Home icon

  • Manage the scheduled defrag job centrally

    Posted on October 1st, 2009 Andreas Stenhall 2 comments

    Starting with Windows Vista the defragmentation utility is scheduled to run on all drives once per week. The defrag is done in the middle of the night but if the machine is not on at that time, the defrag will start after next power on.

    Anyway, you can disable, change the schedule or in other ways modify the task centrally by for instance deploying a script file by using GPO:s. The following command line disables the scheduled defrag task from running.

    schtasks /change /tn "microsoft\windows\defrag\ScheduledDefrag" /disable

     

    2 responses to “Manage the scheduled defrag job centrally”

    1. [...] the rest here: Manage the scheduled defrag job centrally By admin | category: Script??????? | tags: defrag, defragmentation, from-the-list, [...]

    2. The Vista defragger has its limitations. I personally dont like it even as much as the XP defragger which atleast had a GUI. I have changed to the full version of Diskeeper which has real time automatic defrag. Its far better than any other defrag program I have tried.

    Leave a reply

    You must be logged in to post a comment.