dany2010 Posted January 27, 2014 Posted January 27, 2014 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
Chuckster Posted January 27, 2014 Posted January 27, 2014 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 1
dany2010 Posted January 27, 2014 Author Posted January 27, 2014 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.
Arthur Posted January 27, 2014 Posted January 27, 2014 defrag.exe c: -f I think the -f should be /x. /X Perform free space consolidation on the specified volumes.
BHMS Posted January 28, 2014 Posted January 28, 2014 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.
dany2010 Posted January 28, 2014 Author Posted January 28, 2014 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now