?
Solved

Location of hiberfil.sys

Posted on 2002-04-23
8
Medium Priority
?
10,875 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
Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

 
LVL 44

Expert Comment

by:CrazyOne
ID: 6964019
Another thougth is that Win2000 allows you to designate where the pagefile.sys is housed.
0
 
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 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.

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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…
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

807 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