First
This commit is contained in:
31
CMD/SYSTEM_WMI.bat
Normal file
31
CMD/SYSTEM_WMI.bat
Normal file
@@ -0,0 +1,31 @@
|
||||
@echo off
|
||||
::
|
||||
::
|
||||
time /t
|
||||
|
||||
echo ################################################################################
|
||||
echo ################################################################################
|
||||
echo WMI
|
||||
echo ################################################################################
|
||||
winmgmt /resyncperf
|
||||
winmgmt /salvagerepository
|
||||
winmgmt /resetrepository
|
||||
sc config winmgmt start= disabled
|
||||
net stop winmgmt /y
|
||||
net stop ccmexec /y
|
||||
%systemdrive%
|
||||
cd %windir%\system32\wbem
|
||||
For /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
|
||||
regsvr32 wmisvc.dll
|
||||
net start winmgmt
|
||||
net start ccmexec
|
||||
for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
|
||||
echo ################################################################################
|
||||
|
||||
echo ################################################################################
|
||||
echo #### Der Rechner sollte nun neugestartet werden.
|
||||
echo ################################################################################
|
||||
|
||||
time /t
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user