Strony

środa, 10 lipca 2013

relog.exe - konwersja pliku z perfmon blg na csv

Konwersja pliku .blg na .csv:
relog path\to\file\filename.blg -f CSV -o path\to\file\filename.csv

wtorek, 9 lipca 2013

error Windows Management Instrumentation ID No: 8004100e

Przy uruchomieniu  Message Tracking Center w Microsoft Exchange 2000 pojawia się błąd:
"An error occurred during a call to Windows Management Instrumentation ID No: 8004100e"

W takim przypadku należy przekompilować pliki .mof Exchange'a, które są mechanizmami, dzięki którym informacja o klasach WMI jest wpisana do repozytorium WMI.
  
Wystarczy uruchomić skrypt:

net stop winmgmt
c:
cd %windir%\system32\wbem
rd /S /Q repository
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in (’dir /b /s *.dll’) do regsvr32 /s %%s
for /f %%s in (’dir /b *.mof’) do mofcomp %%s
for /f %%s in (’dir /b *.mfl’) do mofcomp %%s
mofcomp -n:root\cimv2\applications\exchange wbemcons.mof
mofcomp -n:root\cimv2\applications\exchange smtpcons.mof
mofcomp exmgmt.mof
mofcomp exwmi.mof
net start winmgmt


Na koniec należy uruchomić usługę Microsoft Exchange Management.