Disk quota display

  • Thread starter Thread starter the man in black
  • Start date Start date
T

the man in black

Hi there

I am looking at using Windows 2000 Disk quotas, but would like users
to be able to check their remaining disk space easily.

I know I can navigate to My Computer, Network home drive, Right-click,
Properties to get a pretty graph, but I'd like to have an icon that
links to there directly, or run it as a logon / off program to show
users their allocation.

Thanks
Chris
 
(e-mail address removed) (the man in black) in
check their remaining disk space easily.

I know I can navigate to My Computer, Network home drive, Right-click,
Properties to get a pretty graph, but I'd like to have an icon that
links to there directly, or run it as a logon / off program to show
users their allocation.

you just wnat to see simple GB unused??? if so, go to My Computer... use Detials view and be sure teh "Free Space" column
is set to show (if not showing, right click on headings "Name" "Size" etc)
 
No reason why your logon script could not open the drive, and use wscript's
WSHShell.sendkeys to press Alt-Enter

--c_props.vbs--
set shell=createobject("wscript.shell")
shell.run "%SystemRoot%\explorer.exe /n, /e, /select, C:\ "
wscript.sleep 2000
shell.sendkeys "%~"
--cut here--
 
you just wnat to see simple GB unused??? if so, go to My Computer... use Detials view and be sure teh "Free Space" column
is set to show (if not showing, right click on headings "Name" "Size" etc)

Only because my users will compain that is really dificult for them....

Looking for an automated method really.
 
Mark L. Ferguson said:
No reason why your logon script could not open the drive, and use wscript's
WSHShell.sendkeys to press Alt-Enter

That is pure MAGIC !

mant thanks
 
That is pure MAGIC !
mant thanks
MANY - oops

Of course I now look at it and would like to check if the user has hit
the warning level first.

Are the quotas levels available, so a script would read

if CurrentSpace > Quota.Allocation
display properties



That would be smart ...

Thanks
Chris
 
Yes, a script could easily (from a programming perspective) read the LOG
created by one of the Performance objects you have available in XP. It's
certainly a more intensive use of the scripting functions, but it could be
done. In fact, it might already exist, although I'm not now aware of it. The
news://microsoft.public.scripting/* groups have lots of stuff available for
the beginner admin of a system to access his users, and resources.

Of course, an in depth look at use of scripting and the WMI (Windows
Management Instrumentation) functions would allow almost any local or remote
access to anything you want. (Imagine a way to use any windows api function
from a text script)

Windows Management Instrumentation WMI A Simple, Powerful Tool for Scripting
Windows Management -- MSDN Magazine, April 2000:
http://msdn.microsoft.com/msdnmag/issues/0400/wmi/default.aspx

WMI Scripting Primer Part 1:
http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting06112002.asp?frame=true

The administration newsgroups are another good starting place.
news://microsoft.public.win2000.cmdprompt.admin etc.
 
Thanks

But I've found Microsoft.DiskQuota.1, seems to work for C: and local
drives, but not network drives.
So it does not seem suitable for network disk quotas.

Cheers
 
Back
Top