Results 1 to 3 of 3

Thread: Query Disk Quotas

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2011
    Location
    Albany, OR
    Posts
    76

    Question Query Disk Quotas

    We are running Windows XP with a WinServer 2008 file server. I have enabled volume level quotas. I have written a program in VB6 that our users can run to find all of the files on the network that are owned by them. That way they can see where there quota is being used up. That is working great, but I would like to add the functionality of checking their quota size and how much is remaining, etc.
    Does anyone know how I can query a users quota? I have not had much luck searching the internet. If someone can maybe point me in the right direction, I may be able to figure it out.

    Thanks
    Chad L. Hutson
    Owner, CPU Vet
    Veterans In The Computer Repair Business!
    http://www.cpuvet.com

  2. #2
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Query Disk Quotas

    I did a quick Google search and found this which might help http://www.windowsitpro.com/article/...ogrammatically

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2011
    Location
    Albany, OR
    Posts
    76

    Re: Query Disk Quotas

    Thanks for the response.

    I played with the code from that page a little bit and it appears to only work if the quotas are implemented on the client machine on a local hard drive. It fails if I point it towards a network drive and it returns 0 on the local drive.
    Chad L. Hutson
    Owner, CPU Vet
    Veterans In The Computer Repair Business!
    http://www.cpuvet.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width