+ Post New Thread
Results 1 to 6 of 6
Windows Server 2008 R2 Thread, Defrag to move the unmovable? Best scheduled app? in Technical; Just trying to shrink down some partitions to prepare a local backup drive which I can then export to delete ...
  1. #1

    Join Date
    Nov 2011
    Posts
    607
    Thank Post
    84
    Thanked 21 Times in 19 Posts
    Rep Power
    10

    Defrag to move the unmovable? Best scheduled app?

    Just trying to shrink down some partitions to prepare a local backup drive which I can then export to delete all partitions.

    Both partitions are saying they can only be shrunk minimally because of unmovable files.

    I've never needed to defrag since early xp so not used third party defrag apps.

    Can anyone recommend anything to do a proper defrag that I can schedule from windows schedular. If poss the program should restart the server automatically when finished so I don't have to visit the site.

    Something safe to use on a server.

    Thanks

  2. #2

    Join Date
    Jun 2008
    Posts
    718
    Thank Post
    119
    Thanked 64 Times in 52 Posts
    Rep Power
    31
    You can schedule this easily using GPP. I'm not in front of a computer to give you this at hand. But I do know it is something like this: defrag.exe c: -f

  3. Thanks to Chuckster from:

    dany2010 (27th January 2014)

  4. #3

    Join Date
    Nov 2011
    Posts
    607
    Thank Post
    84
    Thanked 21 Times in 19 Posts
    Rep Power
    10

    Defrag to move the unmovable? Best scheduled app?

    Just tried a scheduled task with defrag command but windows has loaded and the defrag is still not finished so guessing it's not going to move the data still.
    Will check in the morning.

  5. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,747
    Thank Post
    221
    Thanked 2,626 Times in 1,936 Posts
    Rep Power
    778
    Quote Originally Posted by Chuckster View Post
    defrag.exe c: -f
    I think the -f should be /x.

    Code:
    /X      Perform free space consolidation on the specified volumes.

  6. #5

    Join Date
    Jun 2009
    Location
    Poole
    Posts
    147
    Thank Post
    4
    Thanked 40 Times in 30 Posts
    Rep Power
    20
    The unmovable files include the pagefile and the hibernation file. Disabling both of these will allow you to shrink it further. Just re-enable them after.

  7. #6

    Join Date
    Nov 2011
    Posts
    607
    Thank Post
    84
    Thanked 21 Times in 19 Posts
    Rep Power
    10
    Quote Originally Posted by BHMS View Post
    The unmovable files include the pagefile and the hibernation file. Disabling both of these will allow you to shrink it further. Just re-enable them after.
    Hibernation disabled by hyper-v, checked the page files and it seems only the C drive is setup for this.

    Noticed the drive had shadow files enabled. Tried disabling but still no joy.

    About 150 gb unused space that can't be shrunk

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 12th June 2013, 02:34 PM
  2. How to move, uninstall and resize Metro apps
    By Dos_Box in forum Windows 8
    Replies: 0
    Last Post: 13th October 2011, 11:34 AM
  3. Need To Move The Network Documents Folder (Every User Account)
    By pritchardavid in forum Windows Server 2000/2003
    Replies: 10
    Last Post: 11th May 2010, 06:33 PM
  4. Replies: 16
    Last Post: 15th October 2008, 03:15 PM
  5. Replies: 5
    Last Post: 31st August 2006, 05:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •