How can Windows 10 function on as little as 32 GB of disk space?

43

18

There are a number of sub $200 Windows 10 laptops with only a 32 GB SSD hard drive, like Lenovo 100s, HP Stream 13, etc...

Given that the Windows directory itself is over 32GB on my regular laptop, how do these laptops even function? Is there space to store anything? Wouldn't I have an out of hard drive space problem very soon?

AngryHacker

Posted 2015-12-09T20:36:35.757

Reputation: 14 731

4Post Windows 8.1 support bootable .wim images, which means, it can be a reduced foot print – Ramhound – 2015-12-09T20:44:16.510

1There's lots of other space-users in a long-installed Windows system. I've got one here with 2.1 GB in the CBS (update) log alone! Add another 8 GB for installer caches, some 5 GB for hardlinked SxS binaries (take no real extra space but shows up as extra in naive usage algorithms), etc. – Bob – 2015-12-10T01:50:37.703

1There are a lot of hardlinks in the Windows folder. Many disk-usage tools are unaware of these and will count the size of each link, even though only one copy of the data is actually taking space on the disk. – nobody – 2015-12-10T04:30:18.627

118What do you mean, as little as? That's over 20 times what Windows 95 required! Get off my lawn! – user253751 – 2015-12-10T05:39:24.673

4

Are you sure your Windows directory actually is 32GB? On disk? What Explorer tells you - based on summing the file sizes of all the files in the directory - gives incorrect results when you have simlinks and whatnot, which is why everyone thinks the WinSXS folder is bigger than it actually is. See https://technet.microsoft.com/en-au/library/dn251566.aspx

– piers7 – 2015-12-10T06:49:08.953

23@user20574 20 times? IIRC, Win95 was about 50 megabytes. More like 600 times. – oals – 2015-12-10T08:44:19.867

41Windows 3.1 used about 10 MB of disk space. Windows 10 is a better operating system but probably not 30000 times better :-) – RedGrittyBrick – 2015-12-10T11:49:05.050

A 32GB Windows folder is pretty bloated. Have you been running W10m for awhile without doing any cleaning? From a poll I did on G+ (obviously very scientific), the average space was between 19-25GB. – Carcigenicate – 2015-12-10T17:29:19.243

2@user20574 I'd install Windows 95 on it, but it doesn't have a floppy drive :) – AngryHacker – 2015-12-10T18:04:04.413

332GB is damn large. Forget Windows 95, even Windows XP needed like 1.5 GB. – user541686 – 2015-12-10T19:59:28.043

1@AngryHacker: ah, then you need to install Windows 95 in a virtual machine with an image file of the floppy disk mounted... – leftaroundabout – 2015-12-11T01:28:41.023

1The question to ask is: how can an OS install in 32 Gb and not have 31.7+ Gb left over for you. – Kaz – 2015-12-11T18:49:43.477

132 Gb is enough for something like 100 hour-long instructional video lessons, shot in 720P, on how to design and implement an operating system. – Kaz – 2015-12-11T18:51:49.837

2

Sorry for late joining: "as little as 32 GB"?!? NanoLinux [ 1] is an open source, free and very lightweight Linux distribution that requires only 14 MB of disk space including tiny versions of the most common desktop applications and several games. [ 2 ]. ps> MS-DOS 6.22 takes just under 7MB of space... Are you sure you need each of that 32GB? :-)

– Hastur – 2015-12-11T19:49:38.417

1

OSes can be designed to run using even less space: MenuetOS's core kernel, including all drivers necessary to operate a system, loads onto a 1.44MB floppy disk, and it's a real-time multitasking graphical operating system, and even comes with some preinstalled games, a compiler, text editor, etc. The extra GB of data comes from all the drivers/hardware support, language packs, shared libraries, specific file formats used, and so on. Also... backwards compatibility. They could probably get Win10 down to a few GB if they dropped support for all apps below Win7.

– phyrfox – 2015-12-11T22:16:37.570

"...as little as 32 GB of disk space" What a time to be alive to hear that. – Derek 朕會功夫 – 2015-12-12T03:54:49.443

1Windows 10 requires 32 gigs just for the OS files? What the heck is it doing? AFAIK modern full-featured OSes should be on the order of 4..6, maybe 8. The most recent versions of OS X are; an Ubuntu liveusb fits in about 1; and, of course, you can get those tiny Linux distros that take up a fraction of that. – Blacklight Shining – 2015-12-12T06:09:52.643

@RedGrittyBrick Disk space itself isn't really important - if you look at price-per-windows-disk-space, Windows 10 is much cheaper. The Windows 3.1 I had run on a $400 (today-dollars) 20 MiB HDD, while my Windows 10 installation comfortably fits on a $50 SSD - platters are even cheaper, of course. – Luaan – 2015-12-12T10:33:17.267

1@BlacklightShining Device drivers on their own take more than 8 GiB. That's the price of having Plug and Play that actually works. In any case, it doesn't take up 32 GiB - it's more like 16 GiB for the 32-bit version, and 20 GiB for the 64-bit (which of course includes the 32-bit "emulation" subsystem), including all those Documents and Settings etc. Also note that the installation files are just 3 GiB - most of the size is from things that compress easily, but can't be compressed for some reason. – Luaan – 2015-12-12T10:37:53.190

@BlacklightShining the fresh 64-bit Windows 10 install takes just about ~9-12GB with compact OS. If you use some installer-customization solutions like NTLite to remove unnecessary drivers that could easily stripped down to a few GBs – phuclv – 2018-03-25T05:12:02.863

Answers

54

Windows 10 uses CompactOS, which compresses Windows files, to make them smaller:

Compact OS Compact OS installs the operating system files as compressed files. Compact OS is supported on both UEFI-based and BIOS-based devices. Unlike WIMBoot, because the files are no longer combined into a single WIM file, Windows update can replace or remove individual files as needed to help maintain the drive footprint size over time.

This can be done automatically by the Windows setup or by manually applying an Image :

DISM.EXE /Apply-Image /ImageFile:INSTALL.WIM /Index:1 /ApplyDir:C:\ /Compact:ON

or in a running Windows via this command:

COMPACT.EXE /CompactOS:always

magicandre1981

Posted 2015-12-09T20:36:35.757

Reputation: 86 560

It will probably have a lower performance to load files, but since these are machines with SSD, it will be still better than with uncompacted in HD. – Zanon – 2015-12-10T21:28:24.450

6@Zanon Yet these are also machines with the slowest processors still on the market, and decompression is done by the CPU. Also, these devices usually use slower eMMC instead of SSD. So performance will in some cases be considerably worse than HDD devices. Source: I owned one of these devices. – Peter – 2015-12-11T13:44:57.230

4Use compact.exe /compactos:query in a cmd window to check if your system is in compact mode or not – nixda – 2015-12-11T22:01:54.563

Unfortunately switching on CompactOS mode recovered only less than a GB in the end with my mother's HP Stream 11. – icelava – 2018-06-01T05:25:20.550

@icelava Use TreeSizeFree to find hidden data junk. Microsoft is awre of issues and it looks like they try to build a special edition for such low end devices.

– magicandre1981 – 2018-06-01T14:02:19.800

In reality I had to perform several space-scavenging activities to allow the Windows 10 April 2018 update bulk in. https://answers.microsoft.com/en-us/windows/forum/windows_10-update/how-to-squeeze-major-windows-updates-into/e89f9319-5068-40c5-a7f9-301194449c79

– icelava – 2018-06-09T13:15:06.767

@icelava have you tried TreeeSizeFree or not? – magicandre1981 – 2018-06-09T16:19:28.713

16

I'm not sure what you have on your laptop but a clean Win 7 install is usually about 12GB's and Windows 10 is spec'd at 16GB's for 32 bit and 20GB's for 64 bit. All that extra on yours might be bloatware from the manufacturer. The 10 GB or so left after the Win 10 install is plenty for a 'netbook', if you want to call it, that will surf the web and word process. There are so many cloud saving options out there it is less important for data to be stored locally.

https://www.microsoft.com/en-us/windows/windows-10-specifications

Also, I would bet that these will have the Home edition and maybe a Home Starter edition like older Win 7 cheapies that won't even let you change the backround. Very small footprint on those.

Cand3r

Posted 2015-12-09T20:36:35.757

Reputation: 2 629

3The Windows directory on my (Win7) machine is 26GB, and I'm certain I don't have any "manufacturer bloatware". I assume the extra is from updates and stuff (or maybe it's counting /winsxs?) – BlueRaja - Danny Pflughoeft – 2015-12-10T05:14:40.340

@BlueRaja-DannyPflughoeft I don't use Windows 10, but in earlier versions, the "rollback" feature (which is enabled by default) could accumulate enormous amounts of data. – Kevin Krumwiede – 2015-12-10T05:17:02.553

2

@BlueRaja-DannyPflughoeft You are correct, it is update, here is a good comparison http://arstechnica.com/gadgets/2015/07/faster-booting-smaller-footprint-make-windows-10-an-easy-upgrade-for-old-pcs/ Win 7 with all updates can push 33GB on disk

– Cand3r – 2015-12-10T13:17:52.643

Will W10 have the same problem with the OS directory growing steadily due to patches over time? Or due to MS's non-enterprise policy for Windows being that you must install all patches; will they automatically remove files needed to uninstall patches after a certain amount of time to stop them from exploding the directory size? – Dan is Fiddling by Firelight – 2015-12-10T17:00:58.323

@DanNeely I can't find it now but I did read somewhere that it depends on regular, compressed, or WIM install. Magicandre1981's answer above talks about the compressed install and how Windows can 'maintain its footprint'. – Cand3r – 2015-12-10T17:46:53.410

1@BlueRaja-DannyPflughoeft If you run Disk Cleanup as Administrator, you can see how much space the uninstallers for various Windows updates are consuming (and remove them if you want). – jamesdlin – 2015-12-11T22:51:23.877

1@BlueRaja-DannyPflughoeft How do you measure the disk footprint? Explorer doesn't take all those hardlinks and virtualized folders into account, so it massively overreports the disk usage (it might very well be that your OS directory only takes ~16 GiB). Updates do take a lot of space (you can remove them with Disk Clean-up), as well as other installers (Windows preserves installers to allow Remove/Repair). .NET also takes quite a bit if you're a developer - in my case, over 4 GiB. – Luaan – 2015-12-12T10:47:30.093

10

Many of the Windows 8.1 devices have moved to "WIMBoot". This runs the PC from a compressed Windows image file. https://technet.microsoft.com/en-us/library/dn594399.aspx

Windows image file boot (WIMBoot) lets you set up a PC so that it runs directly from a compressed Windows image file (WIM file). WIMBoot can significantly reduce the amount of space used by Windows files. This helps you provide more free space to users, and helps you manufacture Windows on PCs with smaller drives.

Leopoldo Sparks

Posted 2015-12-09T20:36:35.757

Reputation: 299

4@bwDraco no, not correct, because WIMBoot is removed in Windows 10 because it caused setup install failures. It uses CompactOS, see my answer – magicandre1981 – 2015-12-10T05:37:31.100

2The linked article specifically states: Applies To: Windows 8.1. While not conclusive evidence, as the article hasn't been updated for a year, Microsoft is pretty good about revisiting older articles and updating them if they apply to more recent versions of a product, so this can at the very least be seen as indicative. – a CVn – 2015-12-10T10:24:36.553

6

Windows 10 uses compress boot which free's up 2-3GB. Windows 10 install using compress boot will only take up 7-9GB. Also there is no longer a need to make a separate partition for the recovery image which will free up an additional 4GB.

user531764

Posted 2015-12-09T20:36:35.757

Reputation: 61

5

I've just done a clean install of Windows 10 and Office 365 on a 32GB HP Stream 7 and it's taking 13.9GB including about 400MB of my OneDrive files. It also supports a 32GB SD card (rumour has it that 64GB also works) which on Windows 10 can be used for personal folders and applications.

I've not forced the OS to compact using the procedure described here

David Marshall

Posted 2015-12-09T20:36:35.757

Reputation: 6 698

1When I got HP Stream with 32GB eMMC, Windows 10 64bit preinstalled. It had 13 GB free first. I uninstalled some HP stuff I decied not to use. I created two more users (one with existing Microsoft account). Then the computer decided to update. Now I'm down to 1GB and I'm thinking how to get out of this. There are no big games, no big applications, nothing. I consider: 1) removing all the users and leaving only admin there (e.g. browser caches always explode quickly, better have it for a single user), 2) compact, 3) switching to Linux. – virgo47 – 2017-06-05T07:44:00.737

@virgo47 same here. No apps, after 1 update there is insufficient free space for the next update. – hoosierEE – 2018-03-25T00:01:37.660

@hoosierEE The computer didn't boot the next day, and all ways to self-repair it failed. That update demaged HP repair partition, for other repair paths it wanted me to boot the system (which wasn't possible). There is Linux now, I'm not totally happy with any desktop environments I tried, but at least it works. :-) – virgo47 – 2018-03-26T06:22:42.360

Heh, "at least it works" would be nice brutally honest tag line for Linux. – hoosierEE – 2018-03-27T12:05:47.907

2

In addition to the existing answers, a clean OS install of Windows 10 is somewhere around 10 GB, depending on what exactly is installed. I did even manage to get it down to 7 GB once. This will grow over time as patches are applied, browsers build up huge caches on disks, and logs grow. When space gets scarce, Windows will do some cleanup on its own, and let the user know to run Disk Cleanup (right click on the drive->Properties).

If you run Disk Cleanup, and also click "Clean up system files", then check all the boxes, your Windows folder will become considerably smaller than 32 GB.

Additionally, any program you install stores a footprint directly in the Windows Directory, in folders like Windows/Installer, or Windows/InfusedApps/Packages.

Peter

Posted 2015-12-09T20:36:35.757

Reputation: 4 199

1

I can say with authority that Windows 10 runs well with a 32 GB SSD, since i've created a couple of virtual machines having exactly that amount of space and 1.2 GB of RAM, running also a SQL Server 2012 with no problem.

Aditionally, Microsoft guarantees Windows 10 good performance having at least 20 GB of hard disk space:

https://www.microsoft.com/en-us/windows/windows-10-specifications#sysreqs

Nevertheless, I encourage you to install just the basic application for daily tasks, and trying to use as many web applications as you can since space would be limited :)

Juan Pablo Orradre

Posted 2015-12-09T20:36:35.757

Reputation: 11