diff --git a/scripts/script_wincheck.cmd b/scripts/script_wincheck.cmd new file mode 100644 index 0000000..bf8c9c2 --- /dev/null +++ b/scripts/script_wincheck.cmd @@ -0,0 +1,22 @@ +@echo off +:: Stand 2025-08-18 +echo -------------------------------------------------------------------------- +echo I Windows prüfen +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 +net stop "usosvc" +net stop "wuauserv" +del /f /q C:\ProgramData\USOPrivate\UpdateStore* +net start "usosvc" +net start "wuauserv" +UsoClient.exe RefreshSettings +:: cmd /k del /q /f /s %temp%* +cleanmgr /verylowdisk +start explorer.exe +:: shutdown -g -t 0 \ No newline at end of file