General discussion

  • Creator
  • #2322117

    Defrag script


    by california dead head ·

    I want to set my W2000 servers to defrag C:\ once a week at 10:30 p.m. If I set up a scheduled task it launches defrag but then a pop up box appears and waits for you to choose which drive you want defraged. I want it to run and shut down withoutany help from me??? I don’t want disk keeper.

All Comments

  • Author
    • #3416887

      Defrag script

      by timthetoolman ·

      In reply to Defrag script


      I wonder if the defrag command under XP would work on Win2K? I’d be doing a comprehensive backup before I tried it, though!


      E:\Documents and Settings\Tim Medhurst>defrag /?
      defrag [-a] [-f] [-v] [-?]
      volume drive letter or mount point (d: or d:\vol\mountpoint)
      -a Analyze only
      -f Force defragmentation even if free space is low
      -v Verbose output
      -? Display this help text

      E:\Documents and Settings\Tim Medhurst>defrag E: -av
      Windows Disk Defragmenter
      Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc.

      Analysis Report
      19.53 GB Total, 7.21 GB (36%) Free, 5% Fragmented (11% file fragmentation)

      E:\Documents and Settings\Tim Medhurst>


    • #3415958

      Defrag script

      by consultant davea ·

      In reply to Defrag script

      Read about the AutoDefrag utility for Win 2K. This is probably the best answer to your situation.

      Good luck.

    • #3415121

      Defrag script

      by california dead head ·

      In reply to Defrag script

      This question was closed by the author

Viewing 2 reply threads