From e2434f79cc91f13b7182ecb4f54c530b2135112a Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Tue, 26 Aug 2025 13:06:53 +0000 Subject: [PATCH] =?UTF-8?q?scripts/script=5Fwincheck.cmd=20hinzugef=C3=BCg?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/script_wincheck.cmd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/script_wincheck.cmd 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