WMI Event errors in Windows 2008 32bit

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 %s
Net stop /y winmgmt
FOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
Net start winmgmt

You can just copy from here and paste into the command prompt each instruction in turn.

No more messages received after this.

Author: James

IT Manager - Network, Web coding, MS SQL and Online Mapping expert

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: