
Adding disk quota record on Windows 2003 RC2...
Hello,
I am using the following script from "System Administration Scripting
Guide" to add a disk quota entry.
Set colDiskQuotas = CreateObject("Microsoft.DiskQuota.1")
colDiskQuotas.Initialize "C:\", True
set objUser = colDiskQuotas.AddUser("jsmith")
set objUser = colDiskQuotas.FindUser("jsmith")
objUser.QuotaLimit = 50000000
This script crashes on Windows 2003 RC2. The DrWatson log shows, that,
the crash happens somewhere in dskquota.dll
Can someone shade some light on this OR is there any other way to add
disk quota entries?
Thanks.
-Prasad