Location of hiberfil.sys

Posted on 2002-04-23
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, 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.



Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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 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.,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.
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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