Windows folder is up to 20.7gb. Is this normal?

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
Just checking to get ATs consensus on this. Over the past few months my c:\windows folder has ballooned to 20.7gb. This seems ridiculously large to me but I'm not really sure.
Is anybody else experiencing this? The only reason I ask is because I have a small SSD(60gb)and space is becoming an issue.

Any one else care to chime in on how large there windows folder is? I'm using Windirstat to check and my OS is Win8.1.

If anyone has any suggestions to curtail this please let me know. It's becoming very frustrating.
 

denis280

Diamond Member
Jan 16, 2011
3,434
9
81
Pagefile and hybernation file size depends of the ammount of ram installed, how much ram do you have.
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
Check how big all its contents except WinSXS are. WinSXS is typically reported incorrectly, and I don't know if WinDirStat reports its size correctly or not (probably not).
 

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
When I installed my SSD I followed this guide on setting up my pagefile and hibernation file sizes. I know it's a bit out dated but I'm running with it. Currently I have 8gb of ram installed.
 
Last edited:

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
Check how big all its contents except WinSXS are. WinSXS is typically reported incorrectly, and I don't know if WinDirStat reports its size correctly or not (probably not).

The WinxSxS folder seems to be the bane of my existence. I cannot get this folder under control. It grows by leaps and bounds no matter what I do. It's up to 8.4gb.
 
Last edited:

ignatzatsonic

Senior member
Nov 20, 2006
351
0
0
The WinxSxS folder seems to be the bane of my existence. I cannot get this folder under control. It grows by leaps and bounds no matter what I do. It's up to 8.4gb.

I'd say you're under control pretty well.

Leaps and bounds meaning 1 GB a month? A year?

I have an 80 GB SSD; 32 occupied; with 20.1 in Windows folder and 8.1 in Winsxs; that's with around 55 applications installed.

I wouldn't be concerned with a 60 GB drive until I got beyond 40 or so of it occupied. Not sure what you've done about hibernation file and page file, but you might also look at the amount of space you have devoted to System Restore. On my PC, that's about 6 GB.
 

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
I'd say you're under control pretty well.

Leaps and bounds meaning 1 GB a month? A year?

I have an 80 GB SSD; 32 occupied; with 20.1 in Windows folder and 8.1 in Winsxs; that's with around 55 applications installed.

I wouldn't be concerned with a 60 GB drive until I got beyond 40 or so of it occupied. Not sure what you've done about hibernation file and page file, but you might also look at the amount of space you have devoted to System Restore. On my PC, that's about 6 GB.
I've lost around 3gig over the past 3 days.
 

postmortemIA

Diamond Member
Jul 11, 2006
7,721
40
91
you can get rid of almost everything from installer folder using disck cleanup tool, and select to delete system files ... that gets rid of windows update installers that are already installed
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
7.8GB, and only 2.2GB that might be recoverable...yeah, you're screwed :). I'm used to seeing a 2:1-10:1 difference between reported and actual, when I take a look.
 

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
7.8GB, and only 2.2GB that might be recoverable...yeah, you're screwed :). I'm used to seeing a 2:1-10:1 difference between reported and actual, when I take a look.
I'm not sure I follow...Are you saying Microsoft is eating my disk space and there isn't much I can do about it? I got a clearer screencap of the dos window.
How am I screwed? I don't what that means.
 
Last edited:

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
you can get rid of almost everything from installer folder using disck cleanup tool, and select to delete system files ... that gets rid of windows update installers that are already installed
I've used the disk cleanup tool many times. I click on "clean up system files" everytime. I check all the boxes available and click ok.
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
In that WinSXS can show up in Explorer, and most programs, including WinDirStat, apparently, as a larger size. In this case, that was 8.4GB. It's not uncommon for it to actually be using only like 3GB, but show up as 15GB or more. If it's actually using 7.8GB, there might be a way to clean out those disabled/backup files, but your WinSXS folder genuinely is kind of large.
 

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
EDIT:Its getting late. Thanks for the help guys. If anyone has any ideas post them and I will give them a try. Thanks for all the suggestions so far.:)
 
Last edited:

code65536

Golden Member
Mar 7, 2006
1,006
0
76
Have you tried running the following from an elevated command prompt?
Code:
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Say you have a system file that was updated twice. Your system will have the RTM version, the first updated version, and the second updated version. Standard cleanup will remove the first updated version, so that you can still uninstall the second updated version and return to RTM. ResetBase will remove both the RTM version and the first updated version and make it impossible to uninstall the latest update. I've never needed to uninstall a update, so I like to use ResetBase a lot. Especially after the huge 8.1U1 update, a ResetBase could help reclaim 1GB or more.


The other folder to be aware of is C:\Windows\Installer (it's a hidden folder). If you have Office installed, it will be huge because every single patch that had ever been applied, even the superseded ones, will be stored there. And no, there is no way to clean that crap up. And don't go deleting stuff in there either, or you will seriously mess a lot of things up. Not much you could do about this, really, except write angry letters to Microsoft complaining about how idiotic this piece of junk they call the Microsoft Installer is. (I hate MSI with a fiery passion because it's so hideously overengineered and optimized for things that virtually nobody gives a flying f*ck about--like being able to mix and match updates in weird combinations and contorted install orders--at the expense of things that are actually important, like disk space efficiency and performance.) But don't hold your breath; people have been hating MSI's gross complexity ever since the days of Visual Studio 2005 SP1 (which rather infamously took hours to install).
 
Last edited:

Charlie98

Diamond Member
Nov 6, 2011
6,292
62
91
The other folder to be aware of is C:\Windows\Installer (it's a hidden folder). If you have Office installed, it will be huge because every single patch that had ever been applied, even the superseded ones, will be stored there.

Yea... I have parts of 3 different Office versions on my desktop... my installer file is almost 6GB... :mad:
 

Mushkins

Golden Member
Feb 11, 2013
1,631
0
0
Wow, reading this thread kinda feels like I stepped back in time. People scraping and pawing and running obscure tweaks to try to recover an extra gig or two.

These days, a base Win7 install is easily between 8-12 gigs. Over time and updates it can balloon up past 20 gigs depending on how much stuff you have installed.

By far the easiest solution is to simply buy more space. Grab a secondary drive for general file storage and non-critical apps, you can seriously get a TB for about $80. Or you can move to a bigger SSD if you need the performance. Alternatively you can move to Windows 8.1, the latest update had some massive optimizations made to reduce overall Windows storage needs in a push to make it viable for more devices.
 

code65536

Golden Member
Mar 7, 2006
1,006
0
76
Wow, reading this thread kinda feels like I stepped back in time. People scraping and pawing and running obscure tweaks to try to recover an extra gig or two.

These days, a base Win7 install is easily between 8-12 gigs. Over time and updates it can balloon up past 20 gigs depending on how much stuff you have installed.

By far the easiest solution is to simply buy more space. Grab a secondary drive for general file storage and non-critical apps, you can seriously get a TB for about $80. Or you can move to a bigger SSD if you need the performance.
Let's waste space just because we can? :p

I extensively use virtual machines--those things don't have a whole lot of storage, and I also like to limit each virtual HDD to 25GB (the size of a BD-R disc; it's convenient for backup). Also, my mother has a laptop with a 64GB SSD (a hand-me-down SSD that I had retired when I replaced it with something bigger; that SSD used to be in a desktop that had a large spinning drive to handle the bulk data). I was surprised how little space it had left the last time I checked in on that system. Yea, we could pop in a 120GB drive, but this is a casual-use web/mail/office system, so we don't like the idea of spending more money on it (and that would defeat the purpose of my recycling that 64GB drive :p).

Alternatively you can move to Windows 8.1, the latest update had some massive optimizations made to reduce overall Windows storage needs in a push to make it viable for more devices.
That's not really true. 8.1U1 does not take any less space than 8.1. The space savings being alluded to are for WIMBoot. Instead of installing Windows by decompressing the Windows system image into a bunch of loose files, WIMBoot installs Windows by keeping that compressed system image intact and booting directly from it. It saves several GB through the compression of the image, and some more by eliminating the need for a separate recovery image (since a perfect reset of the system can now be done by just clobbering everything but the original image, which remains read-only).

This obviously will incur a penalty (for run-time decompression) and has its limits (it won't fix the problem of "update cruft" accumulating over time since updates are not compressed back into the image and the original superseded files are never removed), and it's something that a system builder does at the factory (there is no pretty UI to do this: it requires a lot of command-line fun, in addition to, of course, reinstalling the OS).

It's aimed mostly at tablets, like my Dell Venue 8 Pro (with 32GB of storage, I really do feel the pain on that system), but as I said, merely upgrading to 8.1U1 won't confer me any benefits on the space front. I'll need to nuke, repartition, and reinstall (and by "reinstall", I mean "reinstall manually from the command line using the ADK and WinPE, not with a friendly GUI") before I could reap any of the benefits of WIMBoot. (I will do it eventually, but after having read all the documentation to see what it all entails, I'm not exactly looking forward to it.)
 
Last edited:

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
in a followup to the previous technet article post you can look at this as well

http://technet.microsoft.com/en-us/library/dn251565.aspx

which you can run this and it should free up some more space

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

Have you tried running the following from an elevated command prompt?
Code:
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Say you have a system file that was updated twice. Your system will have the RTM version, the first updated version, and the second updated version. Standard cleanup will remove the first updated version, so that you can still uninstall the second updated version and return to RTM. ResetBase will remove both the RTM version and the first updated version and make it impossible to uninstall the latest update. I've never needed to uninstall a update, so I like to use ResetBase a lot. Especially after the huge 8.1U1 update, a ResetBase could help reclaim 1GB or more.

Sorry I haven't gotten back to this thread. Work an family has been really hectic lately so I haven't had time. Thanks for the suggestions so far.

I ran the above command in an elevated dos prompt and received the following error.

Error:14098
The component store is corrupted
The DISM log file can be found at C: \windows\logs\dism\dism.log


Any idea what the problem is? A google search turns up very little beyond recommending a fresh install of Windows. Checking the log is like reading Latin. I have no idea what I'm looking at or for.

EDIT:Well I give up. I've run the /ScanHealth and /CheckHealth arguments and both outputs tell me that the image is repairable but when I run the /RestoreHealth argument Windows tells me the image in not repairable.
If anyone has any suggestions or ideals I'm all ears but for right I guess I'll just live with the fact that my windows installation is fubared.
 
Last edited:

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
Success!!....kind of. I opened Powershell using elevated privileges and used the command Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase.
It reduced the size of my WinSxS folder by 3gb. I'm still on the hunt for more space though. My WinSxS folder is still around 5.75gb and going by what Cerb suggested that is still rather large.

EDIT:WOW looks like I was a total doof. Dahak linked this command in his post but I completely missed the .exe extension on the DISM command.
 
Last edited:

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
No, that's fairly normal. What I meant was that it isn't uncommon for it to be that large, but due to the hard links, can look like it's maybe 20GB--or, to look like it's 8GB, but be 3GB. It stores many identical files, each linked to the exact same content. So 10 copies of a 20MB file looks like 200MB of space used in Explorer, but actually only takes up 20MB, plus the minimal space by the metadata in the file system to point all those other file names to the same data.
 

bbhaag

Diamond Member
Jul 2, 2011
7,051
2,460
146
Thanks for the clarification Cerb. I'm still gonna be on the hunt for more space though. A larger SSD like some members suggested is not an option right now. I'm building a new PC for my son so computer funds are tight. I need to make the most out of this little Plextor.:)