PDA

View Full Version : WindowsXP e problemi WMI...


Fire Fox II
21-01-2004, 16:53
Salve raga :)

allora, come purtroppo mi è capitato già altre volte (e magari sarà capitato anche ad altri), spesso in WindowsXP, magari x cause sconosciute :confused: nascono problemi WMI (tipo nelle relazioni di dipendenza dei servizi di windows, oppure nelle impostazioni avanzate delle risorse di rete) che purtroppo costringono alla formattazione :muro:

Data la rottura nell'arrivare sempre a questa drastica soluzione :D oggi ho fatto una ricerca approfondita on-line e sono riuscito a trovare un rimedio che sul mio pc ha funzionato :yeah:

La cito qui sotto sperando che possa servire a qualcuno :) (purtroppo è in inglese, ma non è difficile da capire ;) )


Try to remove, if they are there


HKLM\Software\Microsoft\OLE
"EnableRemoteConnect"="Y"
"LegacyAuthenticationLevel"=dword:00000001
"LegacyImpersonationLevel"=dword:00000001

Some legacy application from the Win9x era are known to create those key that impair many DCOM functionality on the machine.

check the following registry key
HKLM\System\Software\Microsoft\WBEM\CIMOM\AutoRecover MOFs it is supposed to have a list of *.MOF and *.MFL files, and it MUST begin with cimwin32.mof
There are ISP connection kits and .NET Framework setups known to corrupt this key.
Please delete it content if it appears to have few files or if it appears corrupt.

check if in %windir%\system32\wbem there are about 40 MOF files.
There are certain applications known to delete them.
If you don't have them, please recover them from the CD of WinXP.
The complete list is found in %windir%\IFM\wbemoc.inf


Please check the following:
-1- that you system path has still %windir%\system32\wbem in it.
-2- that there are no wmiutils.dll and wbemcomn.dll in the system path that
comes before the one in system32\wbem.


c:\>for %i in ("wbemcomn.dll") do (echo %~$PATH:i)
c:\>for %i in ("wmiutils.dll") do (echo %~$PATH:i)


check if the wbemutils.dll registered as a COM component comes from the OS
or from Visual Studio and/or other development tools.
Make sure the OS Supplied one is used.

enable versbose logging
HKLM\Software\Microsoft\WBEM\CIMOM:Logging(REG_SZ) = "2"
HKLM\Software\Microsoft\WBEM\CIMOM:Logging File Max Size (REG_SZ) = "4000000"

find the PID of the svchost.exe process running WinMgmt
HKLM\Software\Microsoft\WBEM\CIMOM:ProcessID (REG_DWORD) = XXX

crosss check the pid
c:\>tlist -s | findstr /i winmgmt
it must be the same as above, if not, trust tlist.exe more than the registry for the steps below.

you can get "tlist .exe" and "kill.exe" (needed later)
from http://www.microsoft.com/ddk/debugging/installx86.asp


c:\>sc config winmgmt start= disabled
c:\>kill -f XXX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< pid obtained before
c:\>cd /D %windir%\system32\wbem
c:\WIN\system32\wbem>rmdir /s /q repository
c:\WIN\system32\wbem>rmdir /s /q Logs
c:\WIN\system32\wbem>mkdir Logs
c:\WIN\system32\wbem>for /R %i in (*.dll) do (regsvr32 /s %i)
c:\WIN\system32\wbem>regsvr32 /s fastprox.dll
c:\WIN\system32\wbem>for /R %i in (*.exe) do (%i -regserver) <<<<<<<<<<<<<
this will open wbemtest and/or wmic.exe. Just close it
c:\WIN\system32\wbem>sc config winmgmt start= auto
c:\WIN\system32\wbem>regsvr32 wbemupgd.dll <<<<<<<<<<<<<< this can take 30
seconds to 2 minutes
c:\WIN\system32\wbem>net start server && net start workstation && net start
AudioSrv && net start termservice


after this, please start %windir%\system32\wbem\wbemtest.exe,
and connect to the root\cimv2 namespace.


If something goes wrong, please read the logs under
%windir%\system32\wbem\Logs, just to see if there is something obviousely
wrong there.


Byez :)

ShadowMan
24-01-2004, 11:12
Forse potrebbe servire a me visto che da qualche giorno win si riawia per motivi oscuri [discusione http://forum.hwupgrade.it/showthread.php?s=&threadid=607678]...sfortunatamente non lgo capito tutto il procedimento!:muro: :cry:



Ciao.

Fire Fox II
24-01-2004, 13:13
Beh, sinceramente non so se sia questo il tuo problema...
Cmq il procedimento non è così difficile: sono semplici chiavi da cercare nel registro, scaricare un programma di debugging e scrivere in modalità ms-dos perfettamente le diciture riportate ;)

Byez :)

ShadowMan
24-01-2004, 16:11
"tlist .exe" and "kill.exe" non li trovo su quel link, ma trovo solo Installing Debugging Tools for Windows che ho già scaricato.

E D I T#1
Trovati!

Inoltre come si fa questo segno sotto dos " | "???

Ciao.

Fire Fox II
24-01-2004, 16:17
Originariamente inviato da ShadowMan
Inoltre come si fa questo segno sotto dos " | "???


E' quello superiore al segno \ ;) che si "attiva" in combinazione con shift :)

ShadowMan
24-01-2004, 16:24
Perchè quando tlist [o kill] mi dice che non è riconosciuto come comando???

E D I T#2
Risolto!

ShadowMan
25-01-2004, 16:15
Sembre che questo metodo abbia funzionato anche a me!!!:) :yeah: Grazie di aver postato questa solozione! :ubriachi: :cincin: :mano:

Fire Fox II
25-01-2004, 17:59
Meno male :)

Felice di essere stato utile alemno ad una persona ;)

Byez :)

Besk
14-11-2005, 21:04
Scusate infinitamente se riuppo, ma ho un problema simile.

Praticamente giocand oa wow a volte mi si riavvia il pc (in quake 4 una volta è capitato mentre sparavo un colpo di BFG, ha swappato l'HD e si è riavviato)

Nel visualizzatore di eventi praticamente vedo che il problema sono WMIADAPTER , EVENTSYSTEM e PERFNET

LA ram è apposto, ho la ram in signa testata con memtest86 e windows memory diagnostic e nessun errore.

Mi spiegate come fare plz? non ho capito bene...