How To Delete Hibernation File

SOLVED Discussion in 'General Discussion' started by ran dee, Jan 10, 2017.

  1. ran dee

    ran dee

    Joined:
    Jan 10, 2017
    Messages:
    4
    Likes Received:
    0
    i can't delete the hibernation file on my new hp laptop.. never used hibernation and its not listed on the power button, but there is a 1,37 GB hibernation file listed under system and reserved in settings. typing powercfg.exe -h off in command prompt doesn't work. thanks
     
    ran dee, Jan 10, 2017
    #1
    1. Advertisements

  2. ran dee

    davehc Microsoft MVP

    Joined:
    Nov 19, 2013
    Messages:
    2,035
    Likes Received:
    322
    Location:
    Denmark
    Right click the start and select the command prompt (Admin)
    Copy and paste
    powercfg -h off
    and press Enter
     
    davehc, Jan 10, 2017
    #2
    clifford_cooley likes this.
    1. Advertisements

  3. ran dee

    Trouble Noob Whisperer Moderator

    Joined:
    Nov 19, 2013
    Messages:
    8,951
    Likes Received:
    1,083
    Location:
    Northwest Indiana U.S.A.
    Hello and welcome to the forum.
    After typing
    powercfg.exe /hibernate off
    in an elevated command prompt (Command Prompt (Admin)
    Did you reboot the computer to determine if the hiberfil.sys file was still present?
    Generally I believe that it deletes itself.
    IF not then with hibernation set to off, you should be able to delete it manually.
     
    Trouble, Jan 10, 2017
    #3
    clifford_cooley likes this.
  4. ran dee

    clifford_cooley

    Joined:
    Feb 22, 2014
    Messages:
    887
    Likes Received:
    113
    Location:
    Arkansas
    I think Davehc and Trouble has you fixed up. There is no need in me echoing what they said.
     
    clifford_cooley, Jan 10, 2017
    #4
  5. ran dee

    ran dee

    Joined:
    Jan 10, 2017
    Messages:
    4
    Likes Received:
    0
    Doesn't work, "Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution" Still says 1,37GB under Hibernation file, when I've never used the Hibernation file.
     
    ran dee, Jan 11, 2017
    #5
  6. ran dee

    ran dee

    Joined:
    Jan 10, 2017
    Messages:
    4
    Likes Received:
    0
    Please see my reply to davehc. How can I delete it manually?
     
    ran dee, Jan 11, 2017
    #6
  7. ran dee

    davehc Microsoft MVP

    Joined:
    Nov 19, 2013
    Messages:
    2,035
    Likes Received:
    322
    Location:
    Denmark
    Did Trouble's text also fail? I have just tried both on 2 computers and they worked 100%??

    You did use the command prompt (Admin)? The error you have indicated would show if you used the standard Command prompt.
     
    davehc, Jan 11, 2017
    #7
  8. ran dee

    Grizzly

    Joined:
    Oct 26, 2016
    Messages:
    321
    Likes Received:
    53
    Location:
    North Carolina
    That is exactly what happened. ran dee, you need to run the command prompt as Administrator otherwise you get the error message you have experienced.
    search for CMD.exe . in the search result rightclick on cmd.exe and choose [run as administrator]. confirm the UAC message that you want to run it. then try that command again (powercfg.exe -h off )
     
    Grizzly, Jan 12, 2017
    #8
  9. ran dee

    davehc Microsoft MVP

    Joined:
    Nov 19, 2013
    Messages:
    2,035
    Likes Received:
    322
    Location:
    Denmark
    I do think that my explicit explanation of how to open the Administrative command prompt should have been sufficient?
     
    davehc, Jan 12, 2017
    #9
    Grizzly likes this.
  10. ran dee

    Grizzly

    Joined:
    Oct 26, 2016
    Messages:
    321
    Likes Received:
    53
    Location:
    North Carolina

    apparently not....;);)
     
    Grizzly, Jan 13, 2017
    #10
  11. ran dee

    clifford_cooley

    Joined:
    Feb 22, 2014
    Messages:
    887
    Likes Received:
    113
    Location:
    Arkansas
    He did. If your explanation helps, it is the OP's fault for not following instructions. You only repeated what both davehc and Trouble commented.
     
    clifford_cooley, Jan 13, 2017
    #11
  12. ran dee

    Grizzly

    Joined:
    Oct 26, 2016
    Messages:
    321
    Likes Received:
    53
    Location:
    North Carolina
    true that is but some users do not know how to run a program with elevated admin rights. That's why I tried to explain it a little more in detail on how to get it to the elevated level.
     
    Grizzly, Jan 13, 2017
    #12
  13. ran dee

    ran dee

    Joined:
    Jan 10, 2017
    Messages:
    4
    Likes Received:
    0
    Thanks! It worked. Thanks to everyone who helped out, appreciate it.
     
    ran dee, Jan 14, 2017
    #13
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. acerguy
    Replies:
    2
    Views:
    708
    acerguy
    Aug 20, 2015
  2. Gregsen

    Can't delete a File

    Gregsen, Oct 1, 2015, in forum: Crashes, BSODs and Debugging
    Replies:
    1
    Views:
    721
  3. Sprikda

    Slow Folder Rename / File Delete / File Copy PLEASE HALP

    Sprikda, Feb 25, 2016, in forum: Crashes, BSODs and Debugging
    Replies:
    0
    Views:
    1,721
    Sprikda
    Feb 25, 2016
  4. Stevekir
    Replies:
    1
    Views:
    679
    Norton
    Sep 15, 2016
  5. BEH

    SOLVED How to unzip a file in Windows

    BEH, Sep 20, 2016, in forum: Windows 10 Support
    Replies:
    3
    Views:
    217
    Tim Locke
    Sep 20, 2016
  6. Stevekir
    Replies:
    3
    Views:
    553
    Stevekir
    Oct 19, 2016
  7. blau
    Replies:
    5
    Views:
    325
    Indo Roowet
    Feb 2, 2017
  8. Adela
    Replies:
    28
    Views:
    248
    Adela
    Feb 14, 2017
Loading...