Hi I have this instruction to fix wmi problem: for %i in ("wbemcomn.dll") do (echo %~$PATH:i) for %i in ("wmiutils.dll") do (echo %~$PATH:i) sc config winmgmt start= disabled cd /D %windir%\system32\wbem * Check PID in Regedit (My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM ->ProcessID * kill the Process ID Via Task Maneger. rmdir /s /q repository rmdir /s /q Logs mkdir Logs for /R %i in (*.dll) do (regsvr32 /s %i) \\ Wait for popup message regsvr32 /s fastprox.dll for /R %i in (*.exe) do (%i -regserver) sc config winmgmt start= auto regsvr32 wbemupgd.dll net start server && net start workstation && net start AudioSrv && net start termservice wbemtest.exeI want to change it to a batch file How can i do this * Check PID in Regedit (My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM ->ProcessID * kill the Process ID Via Task Maneger. probably use the WMI ,what can I do in another way? Thanks in advancr..
|