Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have a small SSD and I want to reclain the space currently used by the hiberfil.sys (~4GB) by disabling hybernation or perhaps preferably, move it to an HDD.

I see under "power Options" that "Sleep/Hibernate After" is set to "Never", yet I have this 4 GB hiberfil.sys file.

I don't see any other options pertaining to Hybernation.

how do I remove this file and keep it from coming back or relocate it to another drive, an HDD where I would not mind the frivelous writes to take place.

share|improve this question

marked as duplicate by nc4pk, fixer1234, DavidPostill, Ben N, mdpc Jan 28 at 1:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 9 down vote accepted

open an administrator command shell (cmd.exe or powershell.exe) and type:

% powercfg -h off

and then reboot

share|improve this answer
1  
Thanks. I would prefer to move the hybernate file rather than turn it off but it looks looks like it has to be on teh same drive as your OS. – Chad Jun 3 '10 at 3:44
3  
@Chadworthington: hiberfil.sys can't be moved, since NTLDR uses it before it knows where the registry is, while drive letter assignments are stored in the registry. – harrymc Jun 3 '10 at 7:00
    
Worked for me without reboot. (Windows 7 SP1 x64) – Kromster Jan 17 at 7:22

Not the answer you're looking for? Browse other questions tagged .