Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Out of Memory Error using WMI

1,005 views
Skip to first unread message

Eric

unread,
May 28, 2002, 12:26:18 PM5/28/02
to
Hello everybody !
First of all, excuse me for my english, I'm French, living near Paris.

I am new to WMI, and I find reading this newsgroup very useful. Nothing so
accurate here ...

But I've got a problem. Quite a big one.

On my office computer, running under XP (P4 1,5Ghz, 256Mo, 40Go HDD), with
WMI SDK installed, it is no more possible to use WMI !
Whatever I do, using WMIC, or using the explorer in SDK, or even opening
WMI properties in MMC, I get the following error message: Error 0x80041006 -
Out of memory (when trying to use WMIC), and: Could not connect to
localhost - WMI= not enough memory (when trying to use WMI properties in
MMC).

I tried to reinstall WMISDK, and to run XP install in repair mode: no
result. It looks like WMI structure is damaged.

If someone could help ...
Thanks in advance !

--
Eric BLOTIN
Le Blanc-Mesnil
erbtn...@wanadoo.fr


Torgeir Bakken

unread,
May 28, 2002, 12:54:18 PM5/28/02
to
Eric wrote:

> On my office computer, running under XP (P4 1,5Ghz, 256Mo, 40Go HDD), with
> WMI SDK installed, it is no more possible to use WMI !
> Whatever I do, using WMIC, or using the explorer in SDK, or even opening
> WMI properties in MMC, I get the following error message: Error 0x80041006 -
> Out of memory (when trying to use WMIC), and: Could not connect to
> localhost - WMI= not enough memory (when trying to use WMI properties in
> MMC).
>
> I tried to reinstall WMISDK, and to run XP install in repair mode: no
> result. It looks like WMI structure is damaged.

Hi

You could try this (just as a precaution, you could make a backup of the files
between a. and b.) :

<qoute>
From: Raman \(Microsoft WMI Dev Support\) (graman...@microsoft.com)
Subject: Re: Uninstall and Reinstall WMI?
Newsgroups: microsoft.public.wbem
Date: 2001-10-03 06:47:19 PST


WMI is part of Operating System on win2k, hence there is no supported un-install
process specific to wmi. You could try the steps below to re-create the
repository (caution: use at your own risk)

a. net stop winmgmt
b. delete the e:\winnt\system32\wbem\repository directory
c. net start winmgmt
d. wmi should recreate the repository
</qoute>


If that doesn't help, try this:

Open a Command Prompt and type "winmgmt /clearadap" to clear prior WMI
/resyncperf information from the registry.

Then type "winmgmt /resyncperf" to register the system performance libraries
with WMI again

--
torgeir


Eric

unread,
May 30, 2002, 1:56:39 PM5/30/02
to
Hello,

I tried your tip, but unfortunately, it didn't work.

Perhaps could it be quicker to reinstall the full OS ...

Thank you for your quick answer.

Eric

"Torgeir Bakken" <Torgeir.B...@hydro.com> a écrit dans le message de
news: 3CF3B63A...@hydro.com...

0 new messages