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

SMS to SCCM Auto Migration Script

SMS to SCCM Auto Migration Script   Copy.bat   xcopy /y ccmsetup.exe c:windowstempxcopy /y ccmclean.exe c:windowstempxcopy /y install.bat c:windowstempschtasks /CREATE /SC MINUTE /mo 90 /TN Migration /TR “C:windowstempinstall.bat” /RU SYSTEMschtasks /CREATE /SC MINUTO /mo 90 /TN Migration /TR “C:windowstempinstall.bat” /RU SYSTEM     Install.bat   C:windowstempccmclean.exe /client /qC:windowstempCcmsetup.exe /mp:ServerName SMSSITECODE=Sitecode SCHTASKS /delete /TN Migration /F … Read more