Troubleshooting tips for Quota violation and WMI error while running WMI queries and scripts
While running a script or WMI query, you may get the error message "Quota violation". This can be because the WMI provider service may have reached its quota limit.
Troubleshoot by following the below steps:
- Go to Start > Run > type wbemtest.exe
- Enter as root in the Namespace field. Click Connect.
- Click on Enum Instances
- In the Class Info window, enter the Superclass Name as __ProviderHostQuotaConfiguration. Click OK.
Note: the Superclass name includes a double underscore at the front.
- Next, double click on __ProviderHostQuotaConfiguration=@ in the Query Result window
- In the Object Editor window, double-click on the property name for which you want to change the quota.
- Enter the Value as 536870912 (512 MB) for XP and Windows 2003; for Windows Vista, enter the value as 805306368 (768), then move to 1073741824 (1024) if you still need space.
- Click on Save Property. Click on Save Object.
- Restart your system.