Jump to content

How can users see their quota usage on a client?


Recommended Posts

Posted

I'm getting annoyed by server 2008 quotas at the moment.

Server 2008 will email users to tell them they are close to their quota but I would much rather the client computer told them!

Has anyone found any way of doing this successfully?

 

Thanks

Posted

If you are using BGInfo and Windows 7 there is, apparently, a way of doing this. I have been meaning to have a go at setting this up.

 

I will have a go and let you know if I can get it to work.

  • Thanks 1
Posted
If you are using BGInfo and Windows 7 there is, apparently, a way of doing this. I have been meaning to have a go at setting this up.

 

I will have a go and let you know if I can get it to work.

 

The latest version works out of the box.

 

I use Desktop Info now, the data is live - Glenn's Eclectic Freeware

  • Thanks 1
Posted
like this:

 

[ATTACH=CONFIG]13344[/ATTACH]

 

FSRM on 2003 and a win7 client. Dunno about XP.

 

Yep, That does show on XP. Thanks for that but I wouldn't mind having something visible either in the notification area or on the desktop as well.

Posted
I can't see in the ini file where you would set this? Have you already done this successfully? :confused:

 

There is an ini file in the zipped folder....

Posted

Given that it simply reports the users quota as the size of a mapped drive, you should be able to use any disk space monitoring tool.

 

I had a quick Google for one that has a system tray icon but the ones I found were a bit old and clunky - if anyone has a good one I'd be interested.

Posted

I have found this script:

 

' LogicalDisk.vbs' Sample VBScript to interrogate a Logical disk with WMI
' Author Guy Thomas http://computerperformance.co.uk/
' Version 1.8 - November 2010
' -----------------------------------------------' 
Option Explicit
Dim objWMIService, objItem, colItems, strComputer


On Error Resume Next
strComputer = "."


Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery _
("Select * from Win32_LogicalDisk")


For Each objItem in colItems
Wscript.Echo "Computer: " & objItem.SystemName & VbCr & _ 
" ==================================" & VbCr & _ 
"Drive Letter: " & objItem.Name & vbCr & _ 
"Description: " & objItem.Description & vbCr & _ 
"Volume Name: " & objItem.VolumeName & vbCr & _ 
"Drive Type: " & objItem.DriveType & vbCr & _ 
"Media Type: " & objItem.MediaType & vbCr & _ 
"VolumeSerialNumber: " & objItem.VolumeSerialNumber & vbCr & _
"Size: " & Int(objItem.Size /1073741824) & " GB" & vbCr & _ 
"Free Space: " & Int(objItem.FreeSpace /1073741824) & _
" GB" & vbCr & _ 
"Quotas Disabled: " & objItem.QuotasDisabled & vbCr & _ 
"Supports DiskQuotas: " & objItem.SupportsDiskQuotas & vbCr & _
"Supports FileBasedCompression: " & _
objItem.SupportsFileBasedCompression & vbCr & _ 
"Compressed: " & objItem.Compressed & vbCr & _ 
"" 
Next

WSCript.Quit

 

Source: Example WMI and VBScript DiskDrive Tutorial Disk LogicalDrive

 

This is not usable in its current form as it reports more data than just the disk space [used/free] and also produces the reports as a series of pop ups for each disk connected to the station and not just for the users' Home Drive.

 

Could be useful as a starting point?

  • Thanks 1
Posted
I have found this script:

 

 

I changed

("Select * from Win32_LogicalDisk")

to

("Select * from Win32_LogicalDisk Where DeviceID = 'H:'")

to just display the h:\ drives info

 

Thanks

  • Thanks 1
Posted

@reggiep I have tried your modified script as one of our student users and it reports the disk size/free space of the physical disk and not the space allocated to that student.

 

Back to the drawing board.

Posted

samba.png

 

We display quota to students like this on XP and terminal servers. We've been doing it for about 3 or 4 years now. We set 'hard' and 'soft' quotas which are emailed to students when they go near or over their soft quota.

We also have 'recycle' bins on their homedrives, which don't count towards their quota, and 'veto' files over a certain size.

  • 5 years later...
Posted
@FN-GM, sorry to dredge up an old post, but am I right in thinking DesktopInfo won't show free space on network drives? I'm guessing not, but just to double check. Thanks!

 

Sorry, I can't remember. It is a while since I have used it. I never brought it over from Windows 7 to Windows 10.

  • Thanks 1
Posted
I had a tinker and it seems not. Can't seem to find any straightforward solution for showing free space on a network drive.

 

Are you still using XP or something? Windows 7 and above shows how much free space on the mapped drive.

 

Sometimes the name of the drive is too long and it uses 2 line. When this happens the quota is masked. Using a shorter name gets around it.

  • Thanks 1
Posted
@FN-GM I was after something that would show on BGINFO, or at least some other method that leaps out at the user. We previously had RM Ranger, and that warns the user constantly, so they're forced to reduce their quota.
Posted
@FN-GM I was after something that would show on BGINFO, or at least some other method that leaps out at the user. We previously had RM Ranger, and that warns the user constantly, so they're forced to reduce their quota.

 

Not what you're after but you can use the Windows File Resource system to issue emails to users when their quota is running now.

  • Thanks 1
Posted
I've enabled that, but the chances of a student checking their emails... low I suspect! At the moment I've set the quota to "Hard", so we'll see how well that works...
Posted
Setting a hard quota will show in explorer as their quota amount with the graphical bar. We have this setup and We have email warnings firing out at 75%, 95% and 100%

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...