is it safe to delete pagefile.sys & hiberfil.sys

Page 1 of 2 12 LastLast

  1. Posts : 309
    Win10 10.0.18362 Build 18362
       #1

    is it safe to delete pagefile.sys & hiberfil.sys


    is it safe to delete pagefile.sys and hiberfil.sys????????
    Attached Thumbnails Attached Thumbnails is it safe to delete pagefile.sys & hiberfil.sys-pagefile.jpg  
      My Computer


  2. Posts : 2,487
    Windows 10 Home, 64-bit
       #2

    Do you knowingly use hibernation? You've got a laptop, so maybe you do?

    I don't use hibernation, so I turned it off. Saves a few GB of hard drive space.

    Discussing the page file is like discussing religion.....few minds are ever changed. I'd guess most here just leave it alone and let Windows manage it.
      My Computer


  3. Posts : 309
    Win10 10.0.18362 Build 18362
    Thread Starter
       #3

    ignatzatsonic said:
    Do you knowingly use hibernation? You've got a laptop, so maybe you do?

    I don't use hibernation, so I turned it off. Saves a few GB of hard drive space.

    Discussing the page file is like discussing religion.....few minds are ever changed. I'd guess most here just leave it alone and let Windows manage it.
    i use sleep mode
      My Computer


  4. Posts : 44,251
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Disabling hibernation -
    powercfg.exe /hibernate off
    also disables fast startup.

    Whilst fast startup can help with HDDs, if you have a SSD it's no loss - and fast startup can be problematic for some users.

    Hybrid sleep also requires that hiberfil.sys be present.

    Don't mess around with pagefile.sys unless you know a considerable amount about memory management in Windows.
      My Computers


  5. Posts : 309
    Win10 10.0.18362 Build 18362
    Thread Starter
       #5

    dalchina said:
    Disabling hibernation -
    powercfg.exe /hibernate off
    also disables fast startup.

    Whilst fast startup can help with HDDs, if you have a SSD it's no loss - and fast startup can be problematic for some users.

    Hybrid sleep also requires that hiberfil.sys be present.

    Don't mess around with pagefile.sys unless you know a considerable amount about memory management in Windows.
    C:\Users\Admin>powercfg.exe /hibernate off
    Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution.
      My Computer


  6. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    Hello @makhan10,

    makhan10 said:
    C:\Users\Admin>powercfg.exe /hibernate off
    Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution.

    Did you run the command in an Elevated CMD Prompt?
      My Computer


  7. Posts : 309
    Win10 10.0.18362 Build 18362
    Thread Starter
       #7

    Paul Black said:
    Hello @makhan10,

    Did you run the command in an Elevated CMD Prompt?
    nope, i just did that and it runs ok

    thnx everybody once again
      My Computer


  8. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    makhan10 said:
    nope, I just did that and it runs ok

    thnx everybody once again
    You are VERY welcome.
      My Computer


  9. Posts : 44,251
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    Thank you very much for taking the time to reply.


    makhan10 said:
    C:\Users\Admin>powercfg.exe /hibernate off Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution.
    You should see something like this:
    is it safe to delete pagefile.sys & hiberfil.sys-1.png

    Should be ok from an admin Powershell prompt too.

    C:\Users\Admin>
    - suggests you weren't even using a command prompt.

    Note you could have resolved that for yourself by using Google or reading the relevant tutorial.
      My Computers


  10. Posts : 42,076
    windows 10 professional version 1607 build 14393.969 64 bit
       #10

    If you use the HP notebook as a desktop replacement and there is no installed battery then it always behaves like a desktop.
    Turning hibernation off should not be a problem.

    In contrast if you use the notebook frequently on battery or live in an area with occasional power outages having hibernation can reduce the likelihood of data loss.


    https://support.hp.com/us-en/document/c01724583
    https://support.hp.com/us-en/document/c03383935
    https://docs.microsoft.com/en-us/tro...le-hibernation
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:30.
Find Us




Windows 10 Forums