Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: MKLINK, HIBERFIL.SYS amd SSD space

15 Feb 2014   #1
Diddlededum

Win 7 Pro 64 bit
 
 
MKLINK, HIBERFIL.SYS amd SSD space

I have two drives, an SSD for the OS (C and a platter drive for data (D. I want to be able to hibernate my PC but don't want HIBERFIL to wear out my SSD as I have lots of memory (24GB) being written to the SSD every time I hibernate.

Can anyone please advise me whether it's possible to move my HIBERFIL.SYS to the platter D-drive and link back to the C drive using MKLINK?


My System SpecsSystem Spec
.
15 Feb 2014   #2
TanyaC

Linux Mint 17 Cinnamon | Win 7 Ult x64
 
 

Hi,

I think you might be out of luck. The HIBERFIL.SYS has to be able to be found by Windows bootloader, so it needs to be on the C:\ drive. I don't think the mklink command will help you.

I may be wrong, and others will certainly chime in if I am.

Another option might be to use sleep mode.

You can turn off hibernate useing the DOS command powercfg -h off. This will give you back the space your HIBERFIL.SYS file is using and will stop windows dumping memory to that file. (You will need to do this with administrator privileges).

Now, the pagefile.sys is one file you can move, resize or disable. There are lots of differing opinions on this. But - that is another story.
My System SpecsSystem Spec
15 Feb 2014   #3
Diddlededum

Win 7 Pro 64 bit
 
 

Thanks - unfortunately my PC crashes when I enter sleep mode (or rather, gives me a blank screen when it awakes which requires a forced restart that I guess doesn't do the machine much good). Sounds like I just have to accept I'll have to turn it off at the end of each day.
My System SpecsSystem Spec
.

15 Feb 2014   #4
LMiller7

Windows 7 Pro 64 bit
 
 

The hiberfil.sys file must be on the Windows volume. The problem is that this file is accessed very early in the boot process when only a very simple file system is available and there is no ability to access or even the knowledge of other drives. A resume from hibernation loads everything from hiberfil.sys and bypasses the normal boot process. Links created by mklink require the NTFS file system which is not functional until much later in the boot process.

The pagefile can be moved because it isn't needed until much later in the boot process.
My System SpecsSystem Spec
15 Feb 2014   #5
TanyaC

Linux Mint 17 Cinnamon | Win 7 Ult x64
 
 

Quote   Quote: Originally Posted by Diddlededum View Post
Thanks - unfortunately my PC crashes when I enter sleep mode (or rather, gives me a blank screen when it awakes which requires a forced restart that I guess doesn't do the machine much good). Sounds like I just have to accept I'll have to turn it off at the end of each day.
It is not right for the screen to just go black on resuming from sleep. You don't have to accept things the way they are...

Have you tried running the SFC /SCANNOW function?

If you feel so inclined, have a read through these threads..

Mystery Problem: Resume from Sleep
Black Screen (BSOD) - does not recover from sleep mode
Black Screen on waking up screen on WIn 7 [Solved] - Windows XP - Windows 7
My System SpecsSystem Spec
15 Feb 2014   #6
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Here's a couple of SF tutorials that might help you:
Power Options and Sleep Mode Problems
Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace

I wouldn't be concerned with wearing out the SSD, it should last a lot longer than you will probably use the PC, even using hibernate.
There are many threads discussing this, if you want to research it.

With 24 GB of RAM, the size of the hiberfil.sys file could be an issue for you.
You can decrease the size to 50% of RAM, but that would still be a 12 GB hiberfil file.
The default is 75% of RAM.
Your specs don't show what size SSD you have, and you haven't said how much space is used...
How much RAM do you normally use?

I've also seen on some systems, S3 sleep may have issues and S1 sleep works.
My System SpecsSystem Spec
16 Feb 2014   #7
Diddlededum

Win 7 Pro 64 bit
 
 

Thanks for the links but I've adctually tried them all already with no success. I posted my problem here:

http://www.sevenforums.com/performan...ml#post2691936

in case someone could help. Basically, Sleep S1 state works OK in so far as I can wake up the display with mouse or keyboard but it's not exactly sleeping as the PC fan remains on etc. But if I put my desktop to S3 (adjusted in BIOS) sleep it won't wake up properly - the mouse or keyboard doesn't start it so I have to press the power button, and when I do that a quiet fan comes on (I'm thinking perhaps the CPU fan not the video card fan?) and the screen is blank and standby. I have to do a forced restart (hold down power button for 5 seconds). When I do that all the fans come on, but the screen remains blank. So I have to do a second forced restart, and that brings up the BIOS POST screen, beep and "Starting Windows".

I did a Macrium backup so I could go back to my current setup, then I reinstalled Windows 7 from disk without any updates, and only added the latest video driver - no other software. Even on that absolutely basic spec the monitor wouldn't come back on after sleep. But I used to have no problems resuming from sleep. So I have no clue what's changed.
My System SpecsSystem Spec
16 Feb 2014   #8
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

You could try an older video driver to see if that fixes this.

If that doesn't help you could try using a trace to see if it can find the problem.
Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace

You probably would need help from cluberti (tutorial author) using the trace.
You could send cluberti a VM and ask him to look at this thread and see if he thinks a trace can help with this.
My System SpecsSystem Spec
Reply

 MKLINK, HIBERFIL.SYS amd SSD space




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
MKLINK Create and Use Links in Windows
How to Create and Use Links with MKLINK in Windows As so many other things in computing, Windows Links seem more complicated to understand and use than what they really are in reality. This tutorial will tell you how to create and use links using MKLINK to redirect system queries made to a...
Tutorials
Problem making a soft link (MKLINK /D)
Had a recent system crash caused by kicking the power cord out (made certain THAT won't happen again). I have run CHKDSK /R C: Very simple system C: drive contains Windows 7, application programs, and a small amount of user data (it is a 256 GB SSD) J: drive is mounted from a Synology box...
Customization
MKLINK - Can not create what is already there
Not correct sentence but it is original in Swedish. Because i am not a fan of printscreen, so i will post what i have written: C:\Windows\system32>mklink /d "C:\Users\Susanne\AppData\Local\Opera Software\Ope ra Stable" "E:\" I am not really shure about the differens between "j" and "d",...
General Discussion
I get a Syntax error while making MKLINK Junctions
Answer As soon as possible please. Here is a screenshot. http://i.imgur.com/0dmN8.png I am trying to follow an insane boost up method of Minecraft. So, i follow what the YT Vid tells, i do it but nothing happens. Why did that error show up? Did i do something wrong? Here is the command...
General Discussion
HELP! mklink /J i wanna undo
Hello everyone basicly i wanted to make my minecraft faster, i found this tutorial ( How to Insanely Speed Up Minecraft! - YouTube ) on youtube. So i followed on, but i didnt get a big result out of it. the problem is now that ive made this function in cmd: mklink /j %appdata%\.minecraft...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App