This question is about what things I can do to reduce the size that Windows 8 uses.

Background example:
At present, and with only one program installed (MS Access 2007), I have used about 15GB of my hard disk space. I have little space (it's a 17GB partition of a SSD).

I would like solutions along the lines of:

  • Remove files that are not really needed (e.g. drivers not actually needed by my system)
  • Help files that are not really needed (i.e. documentation)
  • pagefile.sys (assuming I would have 4GB ram and no real need for swapping)
  • hiberfil.sys (used for hibernate and sleep... I need that, though I would regain about 4GB of space by removing it)

Ideally, I would like to delete mostly files that I would most likely not need, but I have no good idea where to start there.

Since my hardware will not change, I would be willing to delete all the drivers that Windows 8 has for hardware I do not have.


A large part of disk space in Windows 8 (and 7) is used up for the "Window backward compatibilty dlls-hell." I'm referring to a feature named "Windows Side by Side" (in folder C:\Windows\winsxs), described at Why does the /winsxs folder grow so large, and can it be made smaller?. By keeping several versions (even when not needed often) of the thousands of DLLs that come with software... well this causes at least some 4-5GB of disk usage.

  • Deleting temporary files is good. Though I would like to focus on the less obvious things like unused driver softwae and help files... I have "too much" disk space usage on a clean install, meaning no temporary files I can delete Nov 4, 2012 at 9:06
  • 1
    I think the pagefile is misunderstood. I wish an expert could clarify things for me, but I remember reading that the pagefile is an essential part of the OS (even though you can disable it) and regardless of how much RAM you have it should be kept on...even if just at the minimum size. Nov 4, 2012 at 13:53
  • I really would not disable pagefile on 4GB of RAM. I tried that back when I had 12GB of RAM and would have errors / process kills during heavier multi-tasking (VS+Chrome+EVE Online+Vindictus/Warframe+MusicBee). @Louis I have it disabled on 48GB of RAM with no ill effects. Not having one does limit the diagnosis possible from a BSOD, but who really cares. Some badly-written programs rely on / misuse the pagefile (Chrome is WAY less responsive switching tabs for me with it on, despite 48GB RAM). I also remember Photoshop wouldn't start without a pagefile configured once upon a time.
    – Arthur Kay
    Aug 11, 2015 at 20:03

6 Answers 6


Reduce before Install

This works the best but is a bit hard to do. This was how I ran Windows 7 on 8 GB Netbook. I haven't tried to do much of this but these wonderful people seem to have tried to do what you want. They got it down to a pretty tight package. I think there was a discussion on SU here.

Disable System Protection

There are step-by-step instructions here.

  1. Navigate to the control panel by searching for Control Panel
  2. Search for System Protection
  3. Open the System Properties dialog
  4. Navigate to the System Protection tab
  5. Choose the disk that Windows 8 is installed on and press configure
  6. Disable system restore

That will save you a little space. enter image description here


17 GiB is awfully little for Windows 8 (just as for Windows 7 and Vista before it). Part of the reason is that Windows includes everything it could ever install right from the start so you don't need to hunt for the installation DVD just because you decide to install Telnet later on (like it was on XP, only there Telnet was included ... anyway).

This article has some tips on reducing the installation footprint on Windows 7 but most tips should apply to Windows 8 as well. Especially reducing the footprint of drivers you'll need need looks promising:

You can use a nice CodePlex tool called DriverStore Explorer to identify and delete obsolete or duplicate drivers from the Windows 7 C:\Windows\System32\DriverStore\FileRepository directory. This has never failed to deliver less than a 1 GB disk space saving on all of the systems I’ve tried it on, notebook and desktop systems alike. See my blog “Another Nice System Drive Cleanup Maneuver: DriverStore Explorer.”

  • 1
    funny! :) investigting myself I found the C:\Windows\System32\DriveStore directory and wondering about "if this is a way to save space" I ended up on your answer to my very own posting. Great Nov 4, 2012 at 12:28

You can also save space using DISM.exe. For example executing the following in an elevated Windows 8 (8.0) command prompt:

DISM.exe /online /cleanup-image /startcomponentcleanup

This will remove some unneeded files from winSxS. I'm still experimenting with this tool but you can get help by executing the /? flag.

dism /?

If you're a fan of disabling things in Windows like myself, I think you'll need the Windows Update and Windows Modules Installer services running to get the best from DISM.exe.

  • I would very much like to test your suggestion, if only I could :) Being -as yourself- a huge "fan of disabling" I ended up disabling Windows itself my linux setup is much leaner. ::: ::: Anyways does DISM is not related to system restore, is it? Deployment Image Servicing and Management (DISM) Do you know what it actually does or how come you run across it? You would not have stopped something for mere guessing, did you? Nov 13, 2013 at 8:19
  • No, there's a quite few examples of this kind of usage (with the /startcomponentcleanup switch) of DISM around such as here: tiny.cc/827h6w I've seen a similar guide here on SE too. I only mentioned the help switches (/?) because it gave me better understanding of the tool and helped me restore my database with the /restorehealth switch as it wasn't working properly at first. DISM was developed for sys admins and offline deployment images I believe, but the /online switch extends to running systems. It's using dism that has broken your install?
    – woowaa
    Nov 13, 2013 at 20:46
  • In the end it didn't save me that much space and I used another method to just delete the 3gb restore.tmp in the Winsxs directory. I'm more often using linux myself, and can fit 3+ chunky linux system installs in to the space Winodws takes up on my SSD, even after these tweaks.
    – woowaa
    Nov 13, 2013 at 20:50

There are applications such as WinReducer that can reduce the installation size of Windows pre-installation by modifying the .iso file and excluding unwanted functions, languages, drivers, etc. It takes a bit of work to go through the process (as it depends on some other applications) and takes some time to process but it worked when I tried it recently with Windows 8.1 64-bit and used YUMI to put the iso on a USB.

I didn't go too crazy, removed languages and scanner/printer drivers, Modern UI apps and a few more things. First the iso file size didn't seem much smaller than the original but I ended up with a total of 9GB disk use after installation.

It does provide options to reduce it a lot more but it warns that they are experimental or some important functions can break. I'm sure it will be developed or other applications will come along to be better at leaving dependencies of other functions alone when you remove support for a function.


It's not recommended to disable Hibernation on Windows 8, as it is used for the Fast Startup feature. Upon shutdown, the Fast Startup feature closes the user sessions, but hibernates the kernel session to hiberfil.sys. This system state is then used to speed up the next boot.

Windows allocates an equivalent amount of your system’s RAM to hiberfil.sys. So, if you have a lot of RAM, hiberfil.sys will be larger than it needs to be for Fast Start. To remedy this, open an elevated Command Prompt and issue "powercfg.exe /hibernate /size 50" to set hiberfil.sys to 50% of installed RAM. (You can't reduce it below 50%)

However, if you leave your computer on all the time, or rarely reboot, you might not care about Fast Startup and can turn off Hibernation. Then again, HDD's and even SSD's now are so cheap, space isn't as big an issue as with your IBM AT. ;-)

  • What does this 50% relate to? And if it's 50% of the RAM size, can you explain how things would still work when more than 50% of the RAM is actually in use when going to sleep? Sounds like a dangerous setting to me (but I'm not on Windows).
    – Arjan
    Feb 22, 2015 at 17:59
  • Ah, it's compressing RAM contents: What happen if we reduce the size of hiberfil.sys, and, beware: "if the hibernation file is too small then a "Stop Error" will occur and the codes will suggest how much you need to increase the hibernation file size by."
    – Arjan
    Feb 22, 2015 at 18:25
  • 1
    Don't forget that Windows 8 Fast Start is only saving the kernel, not open applications or files. So, you won't need as large a hibernation file for that. Both Win 7 and 8 state a minimum requirement of 2 GB RAM (64-bit OS). Win 7's hibernation file is defaulted to 75% of installed RAM, meaning they felt it was enough to store the kernel and open applications. So it seems fairly safe that the kernel alone would "fit" in 50% of RAM. Of course, I have 8 GB of RAM so I'm stuck with a 4 GB hibernation file!
    – ID Kline
    Feb 22, 2015 at 18:53
  • 2
    The powercfg command just sets the hibernation file size. You can turn off Hibernation in Control Panel / Power Options. This also disables Fast Start. Read How to Turn "Fast Startup" On or Off for a Hybrid Boot in Windows 8 and 8.1 for a better explanation. :-)
    – ID Kline
    Feb 22, 2015 at 21:47
  • 1
    This too: Delivering fast boot times in Windows 8
    – ID Kline
    Feb 22, 2015 at 21:55

You can use the Disk Cleanup Utility in Windows-8 as also in the previous Windows versions to delete temporary and unwanted files.

Go to Control Panel > Administrative Tools > Disk Cleanup

I'm sure your pagefile.sys and hiberfile.sys would not be affected as you will need to alter them manually if needed.

  • I mentioned the pagefile.sys and the hiberfil.sys to provoke some thinking and to share already ways to safe diskspace (when you have enough RAM - maybe4GB - you can dispense of the pagefile.sys). The pagefile.sys can be disabled via Control Panel\System and Security\System and selecting "Advanced System Settings". There one can disable swapping via the Advanced->Performance settings found in this dialoge. If the RAM is enough there will be no noticable effect and about 3-4GB more diskspace Nov 4, 2012 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.