This is an error caused by the WMI service corruptionRepairing a corrupted batch program for the WMI serviceCopy the following code into a text file, renamed Fixwmi.bat, and run. It will take some time, please wait patiently. ===============================Fixwmi. CMD------------------------ @echo oncd/d C:\Tempif not exist%windir%\System32\Wbem goto Tryinstallcd/d%windir%\System32\Wbemnet stop WinMgmtWinmgmt/killif exist Rep_bak Rd REP_BAK/S/qRename Repository Rep_bakFor %%i in (*.dll) do regsvr32-s%%iFor %%i in (*.exe) do call:fixsrv%%iFor %%i in (*.MOF,*.MFL) do mofcomp%%inet start WinMgmtGoto End : Fixsrvif/i (% 1) = = (Wbemcntl.exe) goto skipsrvif/i (% 1) = = (wbemtest.exe) goto skipsrvif/i (% 1) = = (mofcomp.exe) goto skipsrv%1/regserver : SkipsrvGoto End : Tryinstallif not exist Wmicore.exe goto Endwmicore/snet start WinMgmt: End
Runtiem error (at 62:321) Swbem Locator: The service does not exist or has been marked for deletion how do I fix it?