I've seen many questions, and even more incorrect or incomplete replies about missing disk space in Vista. You got a 160GB hard drive and you've only installed a few programs, but you're missing a LOT of disk space! Where did it go? There are numerous possible reasons why your disk is getting used up -- sometimes it's being used by useful services, and other times it's just being wasted.
So where does the space go?
- Volume Shadow Copy: This is biggest reason for "missing" space in Vista! Instead of explaining it myself, I'll quote wikipedia:
This service can be very useful, and is a good idea to keep it enabled. However, it does eat disk space. A LOT of disk space. By default it allocates %15 of the disk to store it's data. On a 160GB disk, that's 24GB! A lot of people have been noticing that after a few weeks of using their new system, free space seems to shrink daily. This is because the space is not allocated right away, only when it's needed. It will stop when it reaches %15. At that point, it will delete older versions to make room for newer ones. For all the details about Shadow Copy, read this article at ZDNet for a really good explanation.
- Marketing Many people notice missing space right when they open the box. They bought a system with a 160GB hard drive, but Windows shows the total drive capacity as 149GB. That's a difference of 11GB right off the bat. The reason for this has to do with how you measure capacity to begin with. We measure bytes using progressively larger sizes, starting with K (kilobytes), M (megabytes), G (gigabytes), each one standing for a multiple of 1000. So 1K = 1,000, 1M = 1,000,000 (1000 * 1000), and 1G = 1,000,000,000 (1000 * 1000 * 1000). These are the units that companies use when they advertise the size of their disks, so your 160GB drive is 160,000,000,000 bytes in these measurements.
However, computers are binary systems, and measuring in multiples of 1000 isn't the way they do things. The closest thing we have in binary is 1024. So, for a computer, 1K = 1,024, 1M = 1,048,576 (1024 * 1024), and 1G = 1,073,741,824 (1024 * 1024 * 1024). As a result of this, a computer thinks that 1GB is bigger than what a person typically refers to as 1GB (a difference of 73,741,824 bytes). If we take our example of a disk that's advertised as 160GB, and divide by what a computer thinks is 1GB, we wind up with: 160,000,000,000 / 1,073,741,824 = 149.012, which is what Windows says is the drive capacity.
This measurement makes it seem like the drive is smaller, which is the reason I call this "marketing". Everyone wants to make their drives seem bigger, so they use the larger number, even if it's not exactly accurate.
Because of this confusion, new standards of measurement have been devised to help clear this up. Officially, the term "megabyte" refers to 1,000,000 bytes (1000 * 1000), and the term "mebibyte" refers to 1,048,576 bytes (1024 * 1024). The abbreviation for "megabyte" is "MB", like you're used to, and for a "mebibyte" it's "MiB". Notice the "i" in there. It's subtle, but important to make the distinction. You probably won't see these units in use by large companies for a while, but it's something you should be aware of anyway. See mebibyte for more information.
Here's a table comparing the "marketing" size vs. the computer size for some typical drive sizes:
<caption>Typical drive sizes</caption>
Marketing Computer 80 GB 74.51 GiB 100 GB 93.13 GiB 120 GB 111.76 GiB 140 GB 130.39 GiB 160 GB 149.01 GiB 200 GB 186.26 GiB 250 GB 232.83 GiB 300 GB 279.39 GiB 320 GB 298.02 GiB 350 GB 325.96 GiB 400 GB 372.53 GiB - Essential System Files Another thing that can use up a lot of disk space are some essential system files, specifically, the pagefile and the hibernation file. The pagefile is part of the virtual memory system, and is required by the system to function correctly. It can take up to a few gibibytes of space, 1GiB - 4GiB, depending on how much RAM you have in the system. The other file, "hiberfil.sys", is used to save the state of your system when you hibernate it. This file is about as large as the amount of RAM you have, and is required for hibernation to work. If you disable hibernation, this space should get freed-up, but then you won't be able to hibernate.
- Temporary/Working Files Here's another place that space gets eaten quickly. I recently cleared out my temp folder, and found almost 1GiB of data in there. Since this stuff really is "temporary" data, it's pretty safe to delete. A lot of this comes from installer programs -- when you install new stuff it decompresses data into the temp space. Other files that fall into this category are things like temporary internet files, the index for disk searching, thumbnail cache for thumbnails that show up when you view a folder of pictures or videos, etc... Usually you can use the "Disk Cleanup" wizard to clean this stuff out. If you clean it out, it's probably a good idea to reboot.
- C:\Windows Then, of course, there's Vista itself. Vista can take 6GiB or more on the system. That's not terribly huge, but it is there. Of course, it's sort of required for your system to run, so there's not much you can do about it
.
- Recovery Partition Many, if not most new systems these days come with a "recovery partition" on the disk. This partition often contains all of the software necessary to restore your system to the factory default state. They put it there so if you have serious problems with your software, you can, as a last resort, recover from it. However, this process will delete all of your data.
The partition can be anywhere from about 5-10GiB, but it can vary. There are ways to get rid of it and reclaim that space, but never do so unless you have burned the "recovery discs" onto some DVDs first. The process to make recovery discs should be detailed in the documentation of your system. Once that is done, you can delete the partition, then expand your C: partition to use that space.
- Copies of Installation Media Chances are if you copied some DVDs to your hard disk yourself, you know about it. But there's another way this can happen. Your OEM may have copied the entire contents of the Vista Installation disc to your hard drive. This is useful if you want to perform an Anytime Upgrade because Vista will need those files to perform the upgrade. However, that's going to take up a few GiB of space on your disk. If you can find this folder, sometimes called "WAU", you can safely burn this to a DVD and then delete the folder. Even better would be to make a bootable disc that you can use. You can use vLite (freeware) to burn this type of disc.
Another program that does this is Microsoft Office. When you install Office, it copies the entire contents of the disc onto your hard drive. Unfortunately you cannot remove it, as these files are needed when you do an Office update.
One way you can track down what's taking a lot of space is by using an open source tool like windirstat. Don't go deleting stuff you don't know what it is! Many are the stories of people who reorganized "this c:\windows thing" and for some reason their systems didn't boot anymore!
One principle to keep in mind is that free space can be considered wasted space. If you don't need that space now, let Windows use it for temp files, indexing databases, volume shadow copy, etc... so you can get the benefit of those services. Only when you need that space should you worry about deleting those things.
-
http://bertk.mvps.org/html/diskspacev.html
A good website that also shows you how to decrease the space -
lol very nice, thats why I'm still using server 2003 (same thing as xp pro but less compatible with games but slightly more secure and faster), well until I get Dell, 3 more weeks to go ^^.
ps. I really hate the marketing of HDDs they shouldnt get away with advertising 320GB when you actualy get only 297GB. Almost 25 bloody GB gone -
Actually, it's marketed correctly. 1 megabyte, in literal translation of the word, means 1000000 bytes. A computer megabyte is just close to 1000000 bytes, it's actually 1048576 bytes. So a flash drive that has 512 million bytes of storage is a 512MB disc, but the computer only sees about 489MB.
Edit: Forgot to express my thanks for this post, orev. It's a good explanation for what is actually using the HDD space. -
It is helpful to know that you can though, and that site is good to show you how. -
-
I didn't know about the mebibyte, that's very interesting. What an awesome sounding word. And yes, that table did seem a little bit out of place without that explanation
-
you should also mention that the restore oints are also to blame & that they clear after time
-
-
My new sony vaio FZ shows only 104 GB out of 120 GB. By calculation it should be 111 GB right? where is the missing 7GB?
-
-
-
Crimsonman Ex NBR member :cry:
i personally think this thread should be with the tweak thread
-
Well they should probably be cross-linked.
-
This thread ought to be stickied! Brand new Vista user here, didn't know about Shadowcopy. I've been going NUTS for the past week and a half, wondering why I keep losing 20GB of data. I even did a total re-install of Vista in an attempt to get my space back. Came back, then promply dissapeared after a couple of hours. Now I know I'm not crazy.
-
Bought a Lenovo T60 with 80GB disk and preloaded Vista Business.
After running out of disk space after loading a few apps and some files, images, MP3's and 2 DVD rips, I started to investigate where my disk space was gone, because that should not have happened that soon.
To see what's going on and after reading many posts in several forums and the similar threads in this one, I did the following:
1. performed a Disk Cleanup
2. reduced the shadow storage size to 3GB (to see what happens and who is managing this shadow storage)
3. cold start and got the following results:
SW_Preload (C: ) Windows Properties:
used space 41.7
free space 26.4
capacity 68.2 (there is a 6.3GB non-bootable non-system partition with most likely the restore-to-factory files)
WinDirStat found an unknown 24.6 GB which is almost exactly the size of the Free space (25GB).
Other big directories WinDirStat found:
Windows 8.8 GB
Program Files 3.4 GB
Users 3.4 GB
SWTOOLS 1.4 GB
<Files> 1.3 GB
ProgramData 370.9 MB
then a list of several directories follows, but they don't count to much.
RRbackups directory (RHS attributes) is shown with 0 Size but this is because it's access is denied.
System Volume Information (RH attributes) is also shown with 0 Size and access is denied too.
(The information about access is denied came from the utility TreeSize)
rrbackups is actually the rescue & restore which is part of the Lenovo ThinkVantage Software tools that are coming with the laptop. This became obvious because soon after downsizing the shadow storage to 3GB I got an Rescue & Restore error message telling me that I had reached the limits of my backup storage and it showed me the current size of 3GB which I could increase in the window. I increased it to 12GB, but after a restart it was still 3GB.
To proof that the shadow storage is indeed 3GB:
vssadmin 1.1 - Volume Shadow Copy
Service administrative command-line tool
© Copyright 2001-2005 Microsoft Corp.
Shadow Copy Storage association For volume: (C: )\\?\Volume{5f41068e-d6e1-11db-bc92-806e6f6e6963}\
Shadow Copy Storage volume: (C: )\\?
\Volume{5f41068e-d6e1-11db-bc92-806e6f6e6963}\
Used Shadow Copy Storage space: 2.463GB
Allocated Shadow Copy Storage space:
2.983 GB
Maximum Shadow Copy Storage space: 3 GB
C:\Windows\system32>
So what is this "unknown" space of 24.6 GB???Last edited by a moderator: May 8, 2015 -
I found some information about this issue:
http://blog.windirstat.info/20061013/unknown-space/
http://blog.windirstat.info/20070321/unknown-again/
I guess it's common enough. There's some talk that it could be a lenovo thing, so that might be what you are running into. -
-Amadeus Excello- Notebook Evangelist
Awesome read.
-
So Shadow Copy is where my missing 35 gigs are. Thanks.
-
Thanks for the guide orev
So it is safe to delete the hidden recovery partition?(I have the recovery DVD)
Thanks! -
-
JabbaJabba ThinkPad Facilitator
Bumping this thread so newcomers will notice it. Good job Orev.
-
omg is that really where the missing space was going? i contacted Dell and they said it's a virus that its eating up my space for no reason. I only installed a couple of small programs such as Utorrent, winrar, ccleaner, some real alternative and codec, and aim and i went from 203 to around 186 by the first 2 weeks. He said it could be from the unsafe torrent downloading. Even when i restart it would sometimes lose a 1GB. All i do is download videos,[170mb-200-ish] music and surf. I've ran both Norton and Windows Defender scans and both came up with no viruses. I even tried resetting to factory settings but it still seems to be losing space. is it a virus or this shadow copy thing? [sorry 4 the long post, but i really want to confirm this as his is my first laptop!]
P.S. i have a XPS 1530 w/250GB and came with 203 out of 220. is the 15% out of 250 or 220? so it's going to be around 33-38GB of volume shadow copy? is it a good idea to shrink the volume? -
It's shadow copy. It creates a new snapshot every day until it reaches the limit, then the older ones will get deleted. The 15% is calculated based on the size of the C: drive, not the size of the whole disk.
-
My question would be.. safe to delete? How importaint is shadow copy?
-
Read the article linked to at zdnet for the answer to that. The ultimate answer is up to you, but in general unless you really need that disk space, let the syste, use it for something useful instead of having it sit there unused.
-
I have resized shadow maxsize to 4 GB. Anyone know what steps do i need to do in order to reclaim that "lost" HD space?
i have ran defrag but no luck. -
Are you sure it was actually using all of that space? Mine has 9GB Max, but only has 2GB allocated. It's possible that the system was not using the Max allocated.
Otherwise, download WinDirStat and let it scan your system, maybe you can find where that other space is being used. -
I'm not sure if it was mentioned before here, but a lot of space can be taken by Winsxs folder (C:\Windows). It can get to more than 10GB in size and just store useless files (which obviously you can't delete): mostly backups of old files, hotifxes backups and such...
-
-
BenLeonheart walk in see this wat do?
Is it safe to go to the disk cleanup thing -> More options -> clean up system restore and shadow copies?
and.. also, in the disk cleanup, it shows like 4 gb on the hibernation file cleaner, keep or delete? -
Removing the hibernation file will disable hibernation on your system. I would not recommend that as hibernation is often used as part of the power-saving feature when you are running on battery.
As for restore points, if you really need the space, then it might be ok, but those are like a safety net, so if you delete them and something goes wrong, you cannot restore back to an earlier point. -
BenLeonheart walk in see this wat do?
Alrightie
thanks bro!
I'm pretty sure my system is pretty stable...
and if not, there's always the factory default settings -
what happens when the shadow copy is filled up? does it delete the files and shows the GBs back but it will start going down again right?
-
Yes, the older files will be deleted, so you may see the space go slightly up and down as you delete files and the it gets filled up again.
-
First things i always do......
1. reinstall windows, and create partitions as needed.
2. Delete the hibernation file
3. disable restore points.
4. Install programs as needed.
5. Create a backup IMAGE of my OS with programs installed.
6. Regularly backup files onto external HDD.
If anything ever goes wrong I dont bother messing about with restore points etc, just whack the image back on and viola, freshly installed system in 20 mins, with all my files on a seperate partition - so they arent touched anyway. -
I do that as well...Ultimate is great for that.
I have a similar problem though. About two weeks ago I had to interupt and cancel a completePCbackup in Vista.
I dont know if its related but Im gradually watching diskspace dissappear on the drive now...to a total tune of 2.5Gb in 2 weeks.
Restore is turned off.
Hibernation is off and deleted.
I clean my system daily of internet and unneeded files.
Thoughts? -
I'd just like to say that this is a really great guide. I link to it all the time. Great work, orev!
-
This is intresting......
-
I have a Vista HP box here that has been exhibiting very strange behavior. All of it's free hard drive space has been disappearing. It has a 200 GB drive that was only 1/4 full, and starting a month or so ago it began filling up rapidly.
Recently I went to install something and found that the hard drive was completely full. I deleted about a gig of data, and found that that space was GONE in only a few minutes.
When I fired up WinDirStat, I found that the report queue in Windows/WER was taking up 171 GB!!! 99% of those files were created since the middle of last month.
I'm looking for an explanation of why this is happening and how to stop it. Has anyone seen this before? Any ideas? -
Hard to say what's causing it, but you can clear it if you use disk cleanup.
-
Yes, I did determine that, thanks. I cleared it last night, and it is back to 31GB today, tho it looks nearly empty when I look in that directory. Very odd.
-
I'd hit google to try to find out how to use the information in there to figure out what's causing it. From the sounds of it, you have a program that is constantly crashing and it's going to keep causing problems.
-
I would def. check the restore points because my new laptop isn't but 3 weeks old and I was already using more space than my last computer had period. That was very odd to me because I had about 90 gigs left over on my last one. I cleared the system restore points(never did me any good anyways
). On the rare occasion that I've tried to use one it has never worked right. I figure since I keep everything on my external hdd that I should be good to go. And if not then I re-install and I still have my files anyway.
After I cleared the restore points I noticed an increase of about 80 gigs in disk space. After I saw that I turned it off until I learn my lesson and need it on. -
I'm so going to use vLite once I get my laptop. Strip Vista to minimize resource wasting.
-
-
Another sink on smaller sized drives is the Recycling bin, by default in XP it took 10% (I think) and in Vista it was a little less for me, even so it was around 7GB of wasted space, I find that 1.25GB is a good size since that lets me have a full length TV show plus many large files before it actually deletes things directly.
-
First things first: An excellent article, very thorough and well-written indeed kudos!
actually, people who have purchased a pre-2007 FPP (Retail) Office version may want to use it in their Vista laptop, or take advantage of its portable-use rights to install it on their new laptop, as well as in their desktop. (Portable-use, i.e. two licenses per program bought, is also available in FPP 2007 Office, but deleting MSOCache isn't.)
This is what WinSxS does: Shared assemblies. Your linked article explained why its directory shouldn't, under any circumstances, be deleted. And this explains why it cannot (at least easily) be deleted: Deleting from the WinSxS directory.
-
Oh wow thats where all my space is going.
Im just wondering how i can free it up.
Because i have abslutley no space left.
I have 708 MB free for my hard drive and 5.90 free for my recovery.
i have deleted most of my documents and Aim and things like that. but i still have this problem -
As I mentioned in the main guide, download windirstat http://windirstat.info/ and let it run on the C: drive. It will show you where the space is being used. Remove programs that you don't need first, then try compressing your Program Files folder. If you're still short on space, buy some DVDs and burn some of that data off onto them before you delete it from the computer.
Where's All My Disk Space Going? (Vista)
Discussion in 'Hardware Components and Aftermarket Upgrades' started by orev, Sep 11, 2007.