scripts/script_wincheck.cmd aktualisiert
This commit is contained in:
@@ -6,12 +6,17 @@ echo --------------------------------------------------------------------------
|
||||
|
||||
powercfg /h off
|
||||
taskkill /f /im explorer.exe
|
||||
sfc /scannow
|
||||
dism /online /cleanup-image /scanhealth
|
||||
dism /online /cleanup-image /checkhealth
|
||||
dism /online /cleanup-image /restorehealth
|
||||
|
||||
:: SFC /scannow /offbootdir=C: /offwindir=C:\windows
|
||||
sfc /scannow
|
||||
|
||||
:: DISM
|
||||
:: dism /online geht nicht? Durch /Image:<Systemdrive> ersetzen!
|
||||
:: dism /Image:C:\ /cleanup-image /scanhealth
|
||||
dism /online /cleanup-image /scanhealth
|
||||
dism /online /cleanup-image /checkhealth
|
||||
dism /online /cleanup-image /restorehealth
|
||||
|
||||
net stop "usosvc"
|
||||
net stop "wuauserv"
|
||||
del /f /q C:\ProgramData\USOPrivate\UpdateStore*
|
||||
|
||||
Reference in New Issue
Block a user