Windows C space constantly rising

5

I am currently running Windows 7 on my C drive. I've allocated for it 25 Gb thinking it would be enough. It was enough until a while ago. Now it just keeps wanting more. I get low disk space warnings whenever I start the computer. No matter what I do it just keeps eating more.

I've moved big programs to D(>3.5 Gb worth) and it still isn't enough. As soon as I free something it takes a hold of it and goes to anywhere between 0 and 200Mb of free space. I've started going through folders and deleting program data that I thought the programs wouldn't miss(haven't ruined anything until now).

There are only 2 big folders on C: Windows 19.4Gb, Program Files (x86) 2.2Gb and hiberfil.sys 3Gb.

Can't even update Windows because there's not enough space. In the past few days when I close the computer it tries to install an update (Please don't turn off or unplug your computer) and it just stays that way until I force it to turn off.

What can I do? I really can't afford to install at the moment. Not for another month or so.

Iustin

Posted 2011-04-21T05:43:10.233

Reputation: 212

1Welcome to Super User! Just to let you know, this is the perfect place for such questions! And you did a great job at asking it, nice detail and background info. – Wuffers – 2011-04-21T05:45:30.180

Answers

4

Disable hibernate for now Click Start -> Type CMD -> Right Click on CMD and Run as administrator then run the command powercfg -h off then reboot this will remove the hiberfil.sys and not allow you to hibernate. You could also try adjusting the Pagefile size if it is really large.

Your problem is more than likely the Winsxs folder which grows over time as you use more software it keeps multiple copies of DLL's etc for maximum software support.

Riguez

Posted 2011-04-21T05:43:10.233

Reputation: 3 594

I never used hinernate. Maybe sleep once or twice. Regarding the DLL's I knew about them but this doesn't seem to be the issue. The memory disappears in a matter of minutes without me installing other software. Unless Windows is just downloading DLLs whenever it can. – Iustin – 2011-04-21T06:05:28.503

Use Windirstat to check what folders have the largest amount of usage... http://windirstat.info/. I was suggesting disable hibernate as something to do for now... what size if your pagefile if you have a large amount of ram you could possible lower that to a more reasonable size.

– Riguez – 2011-04-21T16:32:16.473

2

The main cause for the constant grow of used disk space is not the constant swap-partition, or (if you do not install any software) C:\Program Files\ but the WinSxS-Folder:

Why does the /winsxs folder grow so large, and can it be made smaller?

akira

Posted 2011-04-21T05:43:10.233

Reputation: 52 754

I knew about that one, but I don't think that is the case. I delete files / programs, and the freed up space just disappears. I don't install other programs in between. So unless Windows is downloading files without my permission, this doesn't seem like it. – Iustin – 2011-04-21T06:22:49.577

have you read the link? every update to the OS increases the winsxs folder ... constantly .. and by measurable amounts. you have stated that your C:\Windows folder is 19gb ... which is a pretty good indicator about where your space is. – akira – 2011-04-21T06:28:32.017

That doesn't seem to be the case. I free up data and it just goes away after I launch any program. The article mentioned Windows Update downloading the DLLs and I don't update after. I tried the first 2 solutions from there and they didn't work. – Iustin – 2011-04-21T12:54:32.450

which is the biggest folder in your C:\Windows? – akira – 2011-04-21T13:41:16.447

Yes, it is WinSxS. I couldn't compress as the first solution said even with administrator. Even if this is the cause, I am searching for a solution. – Iustin – 2011-04-21T14:22:59.483

well, they talked about compressing the backup folder. and about removing the backup completely (look at the "service pack" related solutions) – akira – 2011-04-21T15:09:12.173

1

You could always repartition your drive without reinstalling Windows. There's free software to do that. EASEUS has been good to me: http://download.cnet.com/Easeus-Partition-Master-Home-Edition/3000-2248_4-10863346.html

Compeek

Posted 2011-04-21T05:43:10.233

Reputation: 111

If you go down this path make sure you backup in case something goes wrong like a power failure during transition could leave you with a broken filesystem.... you should always back up anyways :) – Riguez – 2011-04-21T05:54:56.870

Good point to add! I would always make sure your data is backed up, but you could also image your hard drive before partitioning. There's free software for that, too, but frankly I don't think it's worth the hassle. If the partition happens to fail, then as long as you have your important data backed up, it'd be easiest just to install Windows again. – Compeek – 2011-04-21T05:57:10.673

This isn't really an option do to the risk. If I could, I would reinstall. Back up is required in both cases. – Iustin – 2011-04-21T06:06:13.043

Yeah, that's what I figured. You might be interested in the Tech Support Alert article on the best free drive imaging software: http://www.techsupportalert.com/best-free-drive-imaging-program.htm

– Compeek – 2011-04-21T06:27:12.193

1

Use SpaceSniffer to visualise for certain which are the "culprit" directories within Windows. As stated previously, it is most likely WinSxs that is maintaining the large cache of OS components.

http://www.uderzo.it/main_products/space_sniffer/

You'd have to use a partition resizing software like Acronis Disk Director, or backup software with the ability to restore a partition with the option of resizing it to fit a larger disk.

icelava

Posted 2011-04-21T05:43:10.233

Reputation: 1 589

1

Check out WinDirStat to view which files are using up space on your harddrive.

The other responders have given you most of the likely causes. I would go with resizing the Windows partition (no need to reinstall). So if you have enough space on D:, backup your data and then use that space to resize.

codinguser

Posted 2011-04-21T05:43:10.233

Reputation: 196

0

Try running

fsutil usn deletejournal /n C:

if you don't use specialized backup software, and seeing how much space it frees up.

user541686

Posted 2011-04-21T05:43:10.233

Reputation: 21 330

1maybe you should explain what this does and what the consequences are ... otherwise it's as good as rm -fr / – akira – 2011-04-21T11:12:47.133

http://support.microsoft.com/kb/837325 here is the technet entry on the command... it lowers reserved space for the USN journal apparently – Riguez – 2011-04-21T16:34:04.520

@akira: It deletes the USN journal, which is used by backup software to detect changes to the drive. – user541686 – 2011-04-21T17:19:48.070