大网数据广告活动
Windows Server 管理

Error 0x8004106C while you run WMI queries

· 52CE 我爱测

Provides a solution to fix the error 0x8004106C that occurs when you run WMI queries.

This article helps fix the error 0x8004106C that occurs when you run WMI queries.

Original KB number:   2404366

Symptoms

You're unable to run WMI queries. You may receive an error similar to the following if you run a query. In this example, the following query was run from the root\cimv2 namespace:

Select * From Win32_LogicalDisk Where FreeSpace > 200000

The error returned was:

0x8004106C
Description: Quota violation.

Cause

This error can occur if the WMI Provider service has reached its quota limit.

Resolution

Raise the memory quota of the WMI Provider service by carrying out the following steps:

  1. Go to Start > Run and type wbemtest.exe.

  2. Select Connect.

  3. In the namespace text box, type root.

  4. Select Connect.

  5. Select Enum Instances....

  6. In the Class Info dialog box, enter Superclass Name as __ProviderHostQuotaConfiguration and press OK.

    [!Note] The Superclass name includes a double underscore at the front.

  7. In the Query Result window, double-click __ProviderHostQuotaConfiguration=@.

  8. In the Object Editor window, double-click whichever Property name you wish to modify the quota for.

  9. In the Value dialog, type in 536870912 (512 MB) for XP and Windows 2003, for Vista a newer start with new value of 805306368 (768), then move to 1073741824 (1024) if still needing room. If this does not resolve quota violation issue, then need to troubleshoot cause of high memory usage.

  10. Select Save Property.

  11. Select Save Object.

  12. Close Wbemtest.

  13. Restart the computer.

Note: Windows XP and Windows Server 2003 have a memory quota per host of 128 MB with a limit of 512 MB. Windows Vista and Windows Server 2008 have a memory quota per host of 512 MB that is not the imposed limit as with XP and 2003 and can increase this number higher.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for User Experience issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。