Size of folders on hard disk

Posted on 2011-04-26
Last Modified: 2012-06-27
Windows 7:

I've noticed that my main hard disk (partition) is starting to get low on space.  If I open windows explorer I can see the files and folders and if I select a folder from the properties I can view the space taken up on disc.
By doing this I have found that my windows folder has about 23GB of space and the system folders that I can't view take up about 12GB (all folders I can get the sze of taken from the total size of the disc gives...)

This seems rather excessive to me.

Two questions.
Is there a setting to allow me to view the size of a folder directly in windows explorer ?
Is there a setting to allow me to explore the system folders such as system volume information ?
Question by:AndyAinscow
    LVL 12

    Accepted Solution

    A few notes...

    1) The size noted for the Windows folder is inaccurate. Mainly, junctioned folders such as those in the Windows Side-By-Side Assemblies (Winsxs) are counted towards the total size using that method, although they are just pointers to other files (which are also counted). This usually leads to quite a bit of GB extra (for me it's around 10GB) than what is actually being used since it is counting those files many multiple times.

    2) You can see the System Volume Information folder by overwriting the ACL to give administrators access to it (only SYSTEM has access to it by default). However, the most effective way ofchecking space used in that folder is by going to System Properties int he Control Panel, then look at the System Protection tab. Then click "Configure" after choosing your drive. From there you can see how much space is being used by System Restore and VSS shadows, clear all existing restore points, etc.

    3) I'm not sure what you mean by "Is there a setting to allow me to view the size of a folder directly in windows explorer ?". You can view hidden folders by choosing Tools -> Folder Options... -> View -> Show hidden files, folders, and drives. Other than that, the method you are using to view the folder size should be fine (barring the junctioned folders likes those noted in item #1). there are some other tools out there to collect folder, drive, and file stats as well.
    LVL 23

    Expert Comment

    by:Brian Gee
    ^ In addition to segment #3 above, you can also unhide system files from Folder Options by unchecking Hide operating system files (Recommended) to see other files and folders as well.
    LVL 20

    Expert Comment

    Another factor is the allocation unit (cluster) size...

    File space on disk is in cluster units which is a function of the hard drive physical size... The larger the physical disk, the larger the cluster size.

    For example, if you happen to be using a 16K cluster size, you might have as much as 16K EXTRA for each file on your hard drive if they miss the border and require an extra cluster for as few as 1 extra byte! For smallish files, this is also a minimum file size, even if the file a single byte it will "consume" a full cluster of file space on the drive.
    LVL 43

    Author Comment

    Thanks to both.

    Folder size.

    A crude example of a detail view in explorer

    Name           size
    file1              25KB
    file2             173KB
    file3               4KB

    Hence:  Is there a setting to allow me to view the size of a folder directly in windows explorer ?
    LVL 43

    Author Comment

    I've had a look at system protection from system properties/control panel.

    Setting - System protection is deactivated, current usage 0 bytes.
    LVL 43

    Author Comment

    @n2fc - good point but I suspect not too relevant.  I'm trying to find where many GB's have gone to.
    LVL 8

    Assisted Solution

    i think you are looking for tree size of similer which shows you the folder size quickly.
    Treesize is such apps (Freeware)

    for WinxP and 2k3 there is a plugin which shows the folder size in explorer itself like file size..unfortunately it does not work with vista or wndows 7.
    LVL 12

    Assisted Solution

    There is no native way to have Windows show you the size of a folder in explorer view. It wouldn't be practical because it would be very slow. To calculate the size of a folder, it has to enumerate the files and folders within it, then sum their sizes. For small folders, it's not a big deal, but for larger folders (such as many of those under the root of a drive) that would be incredibly slow. NTFS (nor FAT) does not store the size of a folder and all it's children - it's a calculated field. The way around this is a 3rd party product/plugin that tracks folder usage (or recalculates when idle), although I am not aware of any that do this. If you are trying to see where the space has gone, I would just do a search for all files then sort by size - the largest files usually take up the majority of the space on the drive (although not always - sometimes it's a bunch of really small files).
    LVL 7

    Expert Comment

    Try OverDisk from following location.

    LVL 12

    Assisted Solution

    LVL 43

    Author Closing Comment

    I've not tested OverDisk as the website said it was alpha version.

    I agree that recursive searching of folders to calcualate their size is a slow process BUT the properties window of a folder from explorer will do so on an individual basis.  In other words the code to do it already exists in explorer, odd it isn't possible to activate it as an option for all folders rather than going through a lot of hoops to get that info.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Image capture and Deploy method is consist on two phases. In our first phase we capture the image of windows from the PC in which Windows and others softwares are already installed. In second phase we deploy the created image on new PC in which we…
    I found out last night windows update has a problem regarding 4 latest updates that fail.  The way to get all 4 them installed is install sp1 first and restart then one by one with a resart in between as they fail every time if all the four updates …
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
    This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now