How to Determine the Size of the System Volume Information Directory

Due to the strict permissions on the System Volume Information directory finding out its true size is not easy.

Explorer is really bad at such things. It definitely was not made for administrative tasks. It displays the directory size as zero bytes:

System Volume Information Properties_2013-01-11_00-23-39

You need a tool that can dig a little deeper, SetACL Studio. It can bypass security and list everything that is there:

System Volume Information - SetACL Studio

Unfortunately, SetACL Studio does not display the directory size and I do not know any other tool that can display directory sizes while bypassing security. Except for one tool that comes with Windows and is very well known. Alas not for calculating the size of directories, but for copying them. Yes, I am talking about robocopy.

Open an elevated command prompt and try the following:

robocopy "c:\System Volume Information" c:\dummy /l /xj /e /nfl /ndl /njh /r:0 /b

The output you get will be similar to the following:

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :        11        11         0         0         0         0
   Files :        25        25         0         0         0         0
   Bytes :   1.141 g   1.141 g         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Ended : Fri Jan 11 00:31:55 2013

So the size of my System Volume Information is 1.141 GB.

Comments

Related Posts

Finding (Executables in) User-Writeable Directories

Finding (Executables in) User-Writeable Directories
This article presents two different detection types for insecure filesystem permissions on Windows endpoints: scanning for directories that are user-writable, and detecting processes that are started from user-writeable directories. Directory Scan With ListUserWriteableDirectories & SetACL My ListUserWriteableDirectories script is an implementation of the first detection type: it scans the filesystem listing any permissions not known to be safe.
Security

Latest Posts

Scripted WordPress to Hugo Migration

Scripted WordPress to Hugo Migration
After having published in WordPress for almost 20 years, it was time for a change. This site is now rendered by Hugo, a static website generator built for Markdown content hosted in a Git repository. The migration from WordPress (HTML) to Hugo (Markdown) was far from trivial. Since I couldn’t find any tool for the job, I developed my own set of migration scripts that fully automate the migration process. You can find them on GitHub along with extensive documentation.
Website