WMI Repair on Win7 64 Bit__
WMI Repair
·
Alert Me
Thursday, April 22, 2010 12:52 PM
DallasMaverick
0
Vote As Helpful
Hi, I would like to use a batch file to help me repairing WMI issues. What other known commands could be added to these lines ? Should I apply this script also for Vista or Win 7 or does the salvagerepository run similar steps ?
--------------------------------------------------------------------------
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
Because of the Class not registered, System Restore gives me 0x800423F3 Error
I ran into problems since I use a program called Optimize 3 which is a disk cleaner which never fools with any registry.
(See www.pcpitstop.com )
I need help here. Thanks for looking into this and posting a reply on
www.w7io.com
I went here to do research, but found nothing conclusive....
Thanks, DonaldRegards, Donald
May 2nd, 2010 7:03pm
Do not use this script, on any OS. Should not delete the WMI Repository.
See here...
http://blogs.technet.com/b/configmgrteam/archive/2009/05/08/wmi-troubleshooting-tips.aspx
Suggest running WMIDiag ...
http://blogs.technet.com/b/askperf/archive/2012/02/03/wmidiag-2-1-is-here.aspx
Here's how to repair WMI on Windows 7 ...
http://blogs.technet.com/b/csstwplatform/archive/2011/05/20/how-to-reset-windows-7-wmi.aspx
You may also want to look at WMI hotfixes here ...
http://blogs.technet.com/b/askperf/archive/2011/08/05/suggested-hotfixes-for-wmi-related-issue-on-windows-platforms.aspx
Shane
(Please "Propose as answer" / "Mark as answer" / "Vote as helpful" if appropriate)
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2012 1:06am