Knowledgebase
emscom
>
emscom Help Desk
>
Knowledgebase
Search help:
Loading knowledgebase suggestions...
WMI Repair Script
Solution
WMI repair script
rem begin
net stop winmgmt
pause
%SYSTEMDRIVE%
cd %SYSTEMROOT%\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
if exist exwmi.mof (
mofcomp exwmi.mof
mofcomp -n:root\cimv2\applications\exchange wbemcons.mof
mofcomp -n:root\cimv2\applications\exchange smtpcons.mof
mofcomp exmgmt.mof
) else (
@Echo Exchange not installed
)
rem end
Was this article helpful?
yes
/
no
Related articles
RRAS 4110 message box
Exchange 2003 MAD Monitoring Thread error 0x80041010
Article details
Article ID:
8
Category:
Windows
Date added:
15-02-2011 05:40:39
Views:
1183
Rating (Votes):
(20)
«
Go back
Powered by
Help Desk Software
HESK
, in partnership with
SysAid Technologies