We were getting WMI errors in the event log after installing Windows Server 2008 32bit:
Windows Management Instrumentation has stopped WMIPRVSE.EXE because a quota reached a warning value. Quota: HandleCount Value: 4117 Maximum value: 4096 WMIPRVSE PID: 2352
Everywhere we looked seemed to suggest a rebuild of the WMI repository.
But that seemed a bit drastic instead we found that recompiling the MOF files worked. Here’s how:
1. Open a CMD prompt
2. Change directory: cd%windir%System32WBEM (for X64 use SysWOW64WBEM)
3. Execute the following:
FOR /f %s in ('dir /b /s *.dll') do regsvr32 /s %sNet stop /y winmgmtFOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %sNet start winmgmt
You can just copy from here and paste into the command prompt each instruction in turn.
No more messages received after this.