Solved

Location of hiberfil.sys

Posted on 2002-04-23
8
10,617 Views
Last Modified: 2010-08-05
Hi,

Enabling Hibernate will create a hiberfil.sys file in the boot drive. As I have 1GB of RAM, the created file was 1GB in size.

However, this means that now I have very little space left on my boot drive. I have other drives (D:, E:, F:), each with more than 12GB free.

So my question is, is it possible for me to change the location of the hiberfil.sys?

Thanks!
0
Comment
Question by:DragonSlayer
  • 5
  • 2
8 Comments
 

Expert Comment

by:rogierg
ID: 6962608
I don't think it can be changed. From what i've read it is hardcoded to %systemdrive% changing this variable is not possible because it is used by Windows.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6962709
Hi Dragon. You aren't going to like this.

http://www.tricomm.org.au/techsupport/faq/showquestion.asp?faq=12&fldAuto=284
"Can I change the location of hiberfil.sys under Windows 2K? I'm running Win 2K Pro on a 2G FAT C:
--------------------------------------------------------------------------------
Sorry to be a bearer of bad tidings, but you're out of luck on all counts. Like
the files Boot.ini, NTLDR and Ntdetect.com, Hiberfil.sys has to be in the root
folder of the drive that holds the Windows 2000 boot sector information. In
your case, this is drive C:. Similarly, the system folders Dllcache and Driver
Cache have to be where Windows 2000 Setup installs them."


The Crazy One
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6962731
About the only work around to this would be not to use Hibernation or move your Program Files folder to a differnt partition if you have not already done so. You can easily change the location where he Program Files folder resides by opening Tweak to the My Computer tab and make changes from the "Special Folders" section. Also since the "Common files" folder (shared files) is usually housed as a sub folder to the Program Files folder and is listed as a specific Special Folder you would also need to change the location of it as well if you intend on moving the entire Program Files folder to a different partition.

Tweak

http://download.cnet.com/downloads/0-1461985-100-2830963.html

or
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp

or
http://www.microsoft.com/windowsme/guide/tweakui.exe
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6964019
Another thougth is that Win2000 allows you to designate where the pagefile.sys is housed.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 14

Author Comment

by:DragonSlayer
ID: 6964485
Yeah, my pagefile.sys is already located in another drive (I don't use much of the swap file anyway, according to the Performance Monitor).

But due to some hindsight my boot partition was created too small (only 3GB), and changing the path for Program Files is a bit ugly, because I would have to reinstall many programmes (I believe most programmes would have hard-coded their installation path into the registry instead of checking the path of Program Files everytime).

If this is really impossible, CrazyOne, would you like the points or do you think I should delete this Q?


DragonSlayer.
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 200 total points
ID: 6964525
Dragon this free utility will help with the program paths in the registry. I have used it and it does work quite well.

http://www.pcmag.com/article/0,2997,s=1478&a=4506,00.asp
Change Your Address

By  Neil J. Rubenking  
 
When you install a program in Windows, the system builds a web of connections that makes moving the program very difficult. If disk space constraints force a move, or if adding a new device causes drive letters to change, the system can lose track of essential files. References to the program are stored in shortcuts, INI files, and the system Registry. COA2, an update of our Change of Address utility, tracks down all references to the old address and replaces them with the new address. When the changes are complete, the utility presents you with a list of changes and gives you the option to undo any of them. Note that COA2 does not actually move any files. It reports moves and name changes to the system. This new version offers Windows 2000 support and an improved user interface.
0
 
LVL 14

Author Comment

by:DragonSlayer
ID: 6964544
OK, thanks CrazyOne!

Well, that's better than none, so I'll give you the points :)
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6964623
:>)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A Short Story about the Best File Recovery Software – Acronis True Image 2017
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now