Skip to content

Commit d01cd81

Browse files
committed
Added new batch scripts - Clear Thumbnail Cache, Disable Windows Update
1 parent 2fe8bce commit d01cd81

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@echo off
2+
3+
echo.
4+
5+
taskkill /f /im explorer.exe
6+
7+
timeout 2 /nobreak>nul
8+
9+
echo.
10+
11+
12+
DEL /F /S /Q /A %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db
13+
14+
15+
16+
timeout 2 /nobreak>nul
17+
18+
start explorer.exe
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
echo Windows Update Medic Service
2+
sc stop WaasMedicSvc
3+
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\WaasMedicSvc /v Start /f /t REG_DWORD /d 4
4+
echo.
5+
6+
7+
echo Windows Update Service
8+
sc stop wuauserv
9+
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\wuauserv /v Start /f /t REG_DWORD /d 4
10+
echo.
11+
12+
13+
echo Update the Orchestrator service
14+
sc stop UsoSvc
15+
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc /v Start /f /t REG_DWORD /d 4
16+
echo.

0 commit comments

Comments
 (0)