Delete hiberfil.sys on Windows 7
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game Looping
--
Chapters
00:00 Delete Hiberfil.Sys On Windows 7
00:21 Answer 1 Score 4
00:43 Answer 2 Score 27
01:24 Accepted Answer Score 24
01:57 Answer 4 Score 0
02:23 Thank you
--
Full question
https://superuser.com/questions/242715/d...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #hibernate #administrator #thinkpad
#avk47
ANSWER 1
Score 27
To delete restore file you can open command prompt with admin privileges and run command
powercfg -h off
Then reboot, and Windows should automatically delete your hiberfil.sys
. If it doesn't, you can remove it manually.
Then running
powercfg -h on
restores sleep and hibernate functionality.
You can start command prompt with admin privileges by starting command prompt (Windows Key+R (Run), type cmd
) and then right-clicking command prompt icon on task bar and selecting "Run as administrator".
ACCEPTED ANSWER
Score 24
I wanted to do this in the easiest way possible, especially without rebooting.
Open a command prompt as administrator and go to the disk where hiberfil.sys resides. In my case:
C:\Windows\System32\> e:
In e:, check for hidden files:
E:\> dir /A:H
In the listing hiberfil.sys should show up. If so, delete it:
E:\> del /AS hiberfil.sys
I have to warn you: I don't know what happens if you do this with an active hiberfil.sys file. In my case it was on an old hard disk drive and was no longer needed.
ANSWER 3
Score 4
If you really, really want to get rid of the file, you can always boot to something like a Linux or Windows PE boot disk, and then delete it.
If it was placed there by the current OS, it will come right back. However, from your wording, it sounds like it was placed on the old HD by an old OS that was on it.
ANSWER 4
Score 0
For forcing remove of hibernation file and mounting it use this:
sudo mkdir /media/Windows sudo ntfs-3g -o remove_hiberfile <device> /media/Windows sudo umount <device> sudo mount <device> <mountpoint>
Instead of <device>
use the correct device like /dev/sda4
Update
Sorry, I don't know why, but I thought you want to mount it on linux.
So, for removing it you can use a Live-CD, like ubuntu, and execute these command above.