Restrict Folder Size

S

Steve Kennedy

I'd like to restrict the size a specific folder/directory using Windows
XP. The drive is formatted with NTFS.

Please tell me how to set a size capacity on a specific folder.

Note: This is a stand-alone computer (not on a network). However, it
does have internet access.

Thanks,
-Steve
 
W

Wesley Vogel

Type: disk quota in the Search box in Help and Support.

The closest thing that I can think of.

See: Disk quotas overview in Help and Support to see what it is.

Also...
Disk Quota
http://en.wikipedia.org/wiki/Disk_quota

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
R

Rock

I'd like to restrict the size a specific folder/directory using Windows
XP. The drive is formatted with NTFS.

Please tell me how to set a size capacity on a specific folder.

Note: This is a stand-alone computer (not on a network). However, it
does have internet access.

I don't think you can do that with the native tools is XP. If it's XP Pro
look at disk quotas which are on a per volume per user basis, but not folder
specific. If you use a volume mount point, mount a volume into a folder,
and assign a quota to that volume, then that folder will appear to have a
quota.

I don't know if there is 3rd party software that can restrict folder size.
Google around for it.
 
O

over

I'd like to restrict the size a specific folder/directory using Windows
XP. The drive is formatted with NTFS.

Please tell me how to set a size capacity on a specific folder.

Note: This is a stand-alone computer (not on a network). However, it
does have internet access.

Thanks,
-Steve

Are you trying to restrict it for one or more specific users, or for
everyone?
Disk quotas allow for per-user restrictions, but are per volume (drive
letter), not per folder. Thus, you can limit any or all users, but only
to the space used on the entire drive, not a single folder.

If you want to restrict the folder size for all users, one possibility is
to create a new partition the size you want the limit to be (perhaps even
on another disk drive), then assign that partition to the folder in
question instead of to a drive letter. You need to first have the folder
created, but empty, then you can do this assignment in Disk Management.
This limit would apply to all users, and could not later be increased
without recreating the partition at a different size. The data is
actually stored in the partition, but appears in the folder that the
partition is mapped overtop of.

This assignment creates what is called a Junction, if you want to look
that up. If this all sounds too complicated, you should probably leave
it alone.

There is a tool called Junction available at
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx
which allows you to create Junctions. This would allow you to have a
folder on one disk, then map it overtop of an empty folder on another
disk. The data appears in both folders, but is actually only stored in
the first one. The size limit of the folder would be the size of the
disk where the data actually is. I've not tried combining this with disk
quotas on the disk where the data is stored, but that might allow for
controlling individual user's space limits (would also affect other
folders on that drive).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top