Disk Quota Events Not Written to the Event Log Immediately
ID: Q228812
|
The information in this article applies to:
-
Microsoft Windows 2000 Server
-
Microsoft Windows 2000 Datacenter Server
-
Microsoft Windows 2000 Advanced Server
-
Microsoft Windows 2000 Professional
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
SUMMARY
By default, Disk Quota notifications are not written to the event log immediately. Instead, they are written to the event log every hour.
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
Disk Quota events are written to the event log (if enabled) using the logging option in Quota properties for a drive using the NTFS file system. Disk Quota logging is configured using the following check boxes in the drive's properties:
- Log event when a user exceeds their quota limit
- Log event when a user exceeds their warning level
However, events are not logged immediately when a user exceeds one of these thresholds. Instead, logging occurs asynchronously sometime after the NTFS driver scans the quota information for quota entries over the limits or warning levels.
Modifying Disk Quota Notification Time
You can modify the default one-hour Disk Quota notification time by modifying the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
Value: NtfsQuotaNotifyRate (REG_DWORD)
Default: One hour (specified in seconds). Value not present by default.
Additional query words:
Keywords : kbenv
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo