diff --git a/scripts/script_wincheck.cmd b/scripts/script_wincheck.cmd index 861362f..49c88b6 100644 --- a/scripts/script_wincheck.cmd +++ b/scripts/script_wincheck.cmd @@ -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: 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*