MKLINK, HIBERFIL.SYS amd SSD space

Diddlededum

New member
Member
Local time
11:14 AM
Messages
70
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 Computer

OS
Win 7 Pro 64 bit
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
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 Computer

OS
Win 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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
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..

http://www.sevenforums.com/general-discussion/8822-mystery-problem-resume-sleep.html
http://www.sevenforums.com/bsod-hel...-screen-bsod-does-not-recover-sleep-mode.html
Black Screen on waking up screen on WIn 7 [Solved] - Windows XP - Windows 7
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
Here's a couple of SF tutorials that might help you:
Power Options and Sleep Mode Problems
http://www.sevenforums.com/tutorial...up-shutdown-sleep-hibernate-reboot-trace.html

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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Thanks for the links but I've adctually tried them all already with no success. I posted my problem here:

http://www.sevenforums.com/performa...p-fans-full-needs-shutdown-2.html#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 Computer

OS
Win 7 Pro 64 bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Back
Top