Newsgroup: it.comp.os.win.win2000
Titolo: Aiuto errore WinMgmt

Da un po' di tempo nel visualizzatore eventi appare un messaggio di errore
che non capisco e che, sinceramente, mi da' un po' fastidio. Questo è il
messaggio di errore: "Impossibile caricare la libreria di prestazioni
winspool.drv. Problema sconosciuto nella libreria:0x0"
Ho un articolo dove si parla sempre di un errore di WinMgmt ma riguarda la
libreria di prestazioni perfproc.dll...
Aiutatemi, non so proprio cosa fare.
Ciao
Nico

 Da un po' di tempo nel visualizzatore eventi appare un messaggio di errore
Sono riuscito a trovare la soluzione.
Grazie comunque
Nico

 ha scritto nel messaggio
news:wxbk6.2333$236....@news.infostrada.it...


 Io ho il tuo stesso problema.
Ciao.
Ho trovato la soluzione nell'articolo Q266416 della Knowledge Base. Te lo
riporto indicando le modifiche che io ho apportato al registro di windows.
----------------------------------------------------------------------------
-------------
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key"
Help topic in Regedt32.exe.
SYMPTOMS
When you view the Application Event Viewer log on your computer, one or more
of the following events may be logged:
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 37
Description: WMI ADAP was unable to load the file name performance library
due to an unknown problem within the library: 0x0
-or-
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 41
Description: ADAP was unable to process the file name performance library
due to a time violation in the collect function
-or-
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 61
Description: WMI ADAP was unable to process the file name performance
library due to a time violation in the open function
CAUSE
This behavior can occur because either there may be a problem in the
counter, or there may be a false-positive return value in the Windows
Management Instrumentation (WMI) Performance Library dredger. If there is a
false-positive return value in the WMI Performance Library dredger, in
certain situations, the dredger may incorrectly determine that a library is
invalid even though the counter works correctly.
WORKAROUND
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT or Windows 2000, you should also update your
Emergency Repair Disk (ERD).
Try to dredge the computer's performance libraries again by using the
following commands:
winmgmt /clearadap
This command clears all WMI-related values from the service's performance
registry key.
winmgmt /resyncperf "winmgmt service pid"
This command registers the the computer's performance libraries with the
WMI.
You can find the WMI service PID information on the Process tab of Windows
Task Manager.
The performance registry keys for the involved services include the
following registry keys:
WbemAdapFileSize
WbemAdapFileTime
WbemAdapStatus
NOTE: For more information about the command options that are available with
WMI, type winmgmt/? at a command prompt.
----------------------------------------------------------------------------
----------------
INIZIO DELLE MODIFICHE CHE HO APPORTATO AL REGISTRO
----------------------------------------------------------------------------
----------------
Another possible cause for the events may be that the counters are slow to
respond due to other activities during startup. You can tune this timeout by
adding the value Collect Timeout REG_DWORD 10000 to the appropriate registry
location:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\[counterfile]\Performan
ce
If events continue to be logged after you make these changes, change the
WbemAdapStatus value manually to REG_DWORD 0 under the service's performance
registry key, and then increase the ADAPPerflbTimeout value to REG_DWORD 180
in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Wbem\CIMOM
NOTE: You must enter all registry changes as decimal values.
----------------------------------------------------------------------------
-------
FINE DELLE MODIFICHE. L'errore è finalmente scomparso.
Spero di esserti stato utile. Ciao
Nico
----------------------------------------------------------------------------
-------
In addition, you can disable performance counters for a specific service
with the Exctrlst.exe utility from the Windows 2000 Resource Kit. This
utility disables the specific counter by adding a registry key similar to
the example below. You can add these registry entries under the specific
counter entry manually if Exctrlst.exe is not available or desirable.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Spooler\Performance
Value name: Disable Performance
Value type: REG_DWORD
Value data: 1