Is it safe to remove .sys file?

  1.    12 May 2018 #1

    Is it safe to remove .sys file?


    Hey guys my computer running out of disk space, and i would like to remove some files and its include pagefile.sys , hiberfil.sys and swapfile.sys. Is it safe to remove them? if so how to remove them?
      My ComputerSystem Spec

  2. TairikuOkami's Avatar
    Posts : 3,479
    Home 1809 x64 10.0.17763.165
       12 May 2018 #2

    pagefile.sys is used by Windows to expand RAM. You do not want to disable it.
    swapfile.sys is something similar like pagefile, but used for store apps.

    You can safely get rid of hiberfil.sys by disabling hibernation.

    Enable or Disable Hibernate in Windows 10 | Windows 10 Tutorials


    mikelferdinan said: View Post
    my computer running out of disk space
    Your Windows has probably upgraded, you might want to run Disk Cleanup.

    Open and Use Disk Cleanup in Windows 10 | Windows 10 Tutorials

    You can also compress Windows to re-gain some space.

    Compress or Uncompress Windows 10 with Compact OS | Windows 10 Tutorials
      My ComputerSystem Spec

  3.    12 May 2018 #3

    There are lots of safe ways to reclaim disk space on your OS drive in Windows 10, above and beyond the tutorials that @TairikuOkami cites in his preceding post. If you poke through the TenForums tutorials you'll find some additional items worthy of note as well, including:

    Free Up Drive Space in Windows 10

    Clean Up Component Store (WinSxS folder)

    I also recommend digging into and learning about these tools, all of which can also help to reclaim space on the OS drive
    1. DriverStore Explorer (aka RAPR.exe): identifies and supports removal of duplicate and obsolete device drivers
    2. UnCleaner: best cleanup tool for temporary and scratch files around
    3. PatchCleaner: moves or removes orphaned installer (.msi and .msu) files

    I've written extensively on this topic for TechTarget, CIO.com and other websites. TechTarget has pulled all of my posts on this subject together here, if you'd like to read more of that stuff: Disk cleanup Archives - Windows Enterprise Desktop.

    HTH,
    --Ed--
      My ComputersSystem Spec

  4.    15 May 2018 #4

    I turn off hibernate, thanks for the tips, but i found out winsxs consuming lots of my disk space.
    Click image for larger version. 

Name:	Sketch.png 
Views:	40 
Size:	40.3 KB 
ID:	188739
    I knew i cant just delete them all, but is there a way to reduce it?
    Is there any side effect ?
      My ComputerSystem Spec


  5. Posts : 1,501
    Windows 10 Pro (32-bit) 16299.15
       15 May 2018 #5

    mikelferdinan said: View Post
    I turn off hibernate, thanks for the tips, but i found out winsxs consuming lots of my disk space.
    Click image for larger version. 

Name:	Sketch.png 
Views:	40 
Size:	40.3 KB 
ID:	188739
    I knew i cant just delete them all, but is there a way to reduce it?
    Is there any side effect ?
    You can try the options in these tutorials. The first one should give some idea how much you might save:
    Analyze Component Store (WinSxS folder) in Windows 10
    Clean Up Component Store (WinSxS folder) in Windows 10
    It might give you some savings but it won't reduce it totally.

    You might want to take a backup image first though.
      My ComputerSystem Spec

  6.    15 May 2018 #6

    mikelferdinan said: View Post
    Hey guys my computer running out of disk space, and i would like to remove some files and its include pagefile.sys , hiberfil.sys and swapfile.sys. Is it safe to remove them? if so how to remove them?
    What type of computer is this....a laptop or desktop? If it's the later, you can add a extra HDD and use it as a storage drive to save everything to it.

    If it's a laptop you have the option of a portable USB external HDD.
      My ComputerSystem Spec


 

Related Threads
This has happened only after I applied the 1703 update: I insert a USB drive. I click on the 'Safely Remove' icon in the notification area. I click 'Eject'. No 'Safe to remove' message appears. This behavior never varies, even if I don't read or...
Hi, Question: I'm on a desktop. Can I safely remove my current HD which has my current working Win10 and connect a new HD and do a fresh install of Win10 on it for troubleshooting some USB 3.0 issues I'm having? After which I would then go back to...
In device manager I got several drivers with the same name. Are these duplicates and can I delete them leaving only one of course? Look at the screenshot. Circled in red you'll find the duplicates.
I have a old windows 7 safe mode boot screen that migrated over to windows 10. I works on windows 10 but I don't need it any more so I want to get rid of it. I just don't want to mess up in removing it... I'm using this tutorial... Can't get...
I have my Documents, Contacts, Downloads, Pictures, Music and Videos folders located on my HDD (E:/), but I still show the same folders on C: drive but they're all empty. Is it safe to delete these folders since they're located & pointed to on the...
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 11:35.
Find Us