Also if you want to get rid of hibernating you can simply run via cmd:
powercfg -hibernate off
Which will get rid of the hiberfil.sys, and allow you to gain back a few gigs of space.
Christopher M. Harper
MANAGER OF INFORMATION TECHNOLOGY
University Relations / Michigan State University
401 Olds Hall, East Lansing, MI 48824-1047
Email: [log in to unmask] / Direct: 517.355.9980
Web: http://ur.msu.edu / Cell: 517.290.5496
From: MSU Network Administrators Group [mailto:[log in to unmask]] On Behalf Of Dave Graff
Sent: Friday, June 13, 2008 11:26 AM
To: [log in to unmask]
Subject: Re: [MSUNAG] Shrinking the primary partition in Vista?
There is a few things that could be going on, most likely related to drive
fragmentation and physical location of hiberfil.sys and pagefile.sys or
other files loaded in memory that cannot be moved. The first thing I would
be trying is a reboot in safe-mode to disable as many processes/services as
possible and then disabling the system page file and hibernation support
(temporary) and running a defrag followed by resizing the volume. That
should move a majority of your data to the front of the drive and free up
more space for repartitioning. If doing that in safe-mode isn't supported,
and I'm not sure on that since I haven't tried it myself, then doing a
selective startup with msconfig that disables startup items and do the same
process. Then re-enable your page file and startup entries once you are done.