Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Location of hiberfil.sys

Posted on 2002-04-23
Medium Priority
Last Modified: 2010-08-05

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?

Question by:DragonSlayer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2

Expert Comment

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.
LVL 44

Expert Comment

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

"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
LVL 44

Expert Comment

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.




Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

LVL 44

Expert Comment

ID: 6964019
Another thougth is that Win2000 allows you to designate where the pagefile.sys is housed.
LVL 14

Author Comment

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?

LVL 44

Accepted Solution

CrazyOne earned 800 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.

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.
LVL 14

Author Comment

ID: 6964544
OK, thanks CrazyOne!

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

Expert Comment

ID: 6964623

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
An overview of cyber security, cyber crime, and personal protection against hackers. Includes a brief summary of the Equifax breach and why everyone should be aware of it. Other subjects include: how cyber security has failed to advance with technol…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

636 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