WMI Fix Batch file to run on multiple systems
@echo off%windir%system32wbemwinmgmt /clearadap%windir%system32wbemwinmgmt /kill%windir%system32wbemwinmgmt /unregserver%windir%system32wbemwinmgmt /reserver%windir%system32wbemwinmgmt /resyncperfnet stop winmgmt /yif exist %windir%system32wbemrepository.old rmdir /s /q %windir%system32wbemrepository.oldren %windir%system32wbemrepository repository.oldregsvr32 /s %systemroot%system32scecli.dllregsvr32 /s %systemroot%system32userenv.dllfor /f %%s in (‘dir /b /s %windir%system32wbem*.dll’) do regsvr32 /s %%sfor /f %%s in (‘dir /b /s %windir%system32wbem*.mof’) do mofcomp %%sfor /f %%s in (‘dir /b %windir%system32wbem*.mfl’) do mofcomp %%snet start winmgmt%windir%system32wbemwmiprvse /regserver … Read more