Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One of the computers on our network ran out of harddisk space, and it turned out the size of the Windows folder is given as nearly 70Gb (when going to my computer, then the c drive) and then right clicking and selecting properties of the windows folder. However, when selecting all files and folders within that folder and right clicking and selecting properties the total size is only about 4Gb. Hidden files and folders are shown and selected while doing this. All folders are set to show hidden files and folders. Thinking the file system is borked, I did do a file system check on a restart, but the file system was found to be fine. At first offline folders where set to be used, but I did disable that and restart. What can the cause be and how do I fix this?



share|improve this question
Files you do not have permissions for are not counted. Could be a root kit. – KCotreau Jul 7 '11 at 13:38
Use disk cleanup to delete all but the most recent restore point, – Moab Jul 7 '11 at 14:35

I can recommend trying WinDirStat.

It's a good way of visualizing what actually takes up space in a folder.

share|improve this answer
Great program. However, it also gets tricked by WinSxS's size, and so this great program may end up not resolving the specific question that was being asked. – TOOGAM May 28 at 4:39

The cause is hardlinks, or more properly: using a tool which doesn't understand hardlinks to count the folder size.

Hardlinks are a mechanism by which a single file may have more than one name. A very common example is the WinSxS folder. This contains a large list of DLL names. All of those DLLs have other names as well, in other folders. Many of those other names are in the System32 directory. As a result, any naive tool will count them at least twice when trying to figure out the size of \Windows\.

"Rightclinking" suggests that you used Explorer, which indeed doesn't know about hardlinks.

share|improve this answer

One possibility is, it includes the space taken up by symbolic links. See if there are any symbolic links by using this utility:

NTFS links view utility

Search Google on "windows software disk space symbolic links" and you might find other Windows disk space utilities that even show the space taken up by symbolic links, for example, Treesize and ShowSize.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .