2023-01-22 22:32:07 +01:00
|
|
|
@echo off
|
2023-01-31 20:49:23 +01:00
|
|
|
call check-for-admin
|
|
|
|
if %ERRORLEVEL% neq 0 exit /b
|
2023-01-22 22:32:07 +01:00
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
|
|
|
echo blocking UPDATE KB5005463 aka. PC-Health ...
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5005463 -AcceptAll"
|
2023-02-15 18:32:14 +01:00
|
|
|
echo.
|
2023-01-22 22:32:07 +01:00
|
|
|
|
2023-01-29 22:04:58 +01:00
|
|
|
echo blocking UPDATE KB5021751 ...
|
2023-02-10 14:33:01 +01:00
|
|
|
echo [ Notifies Microsoft if an Unsupported Office version is installed on Windows ]
|
2023-01-29 22:04:58 +01:00
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5021751 -AcceptAll"
|
2023-02-15 18:32:14 +01:00
|
|
|
echo.
|
2023-01-29 22:04:58 +01:00
|
|
|
|
2023-02-10 14:33:01 +01:00
|
|
|
echo blocking UPDATE KB5013942 ...
|
|
|
|
echo [ Cumulative Update for Windows 10 Version 20H2 x64 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5013942 -AcceptAll"
|
2023-02-15 18:32:14 +01:00
|
|
|
echo.
|
2023-02-10 14:33:01 +01:00
|
|
|
|
2023-04-16 11:28:20 +02:00
|
|
|
echo blocking UPDATE KB5025221 ...
|
|
|
|
echo [ Feature Update to Windows 10 Version 20H2 x64 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5025221 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-01-10 21:09:48 +01:00
|
|
|
echo blocking UPDATE KB5034122 ...
|
|
|
|
echo [ Feature Update to Windows 10 Version 21H2 x64 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5034122 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-02-23 21:45:13 +01:00
|
|
|
echo blocking UPDATE KB5034763 ...
|
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5034763 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-05-31 16:56:49 +02:00
|
|
|
echo blocking UPDATE KB5037768 ...
|
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64, May 2024 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5037768 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-07-19 13:23:56 +02:00
|
|
|
echo blocking UPDATE KB5040427 ...
|
2024-12-02 14:53:51 +01:00
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64, July 2024 ]
|
2024-07-19 13:23:56 +02:00
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5040427 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-09-08 09:53:14 +02:00
|
|
|
echo blocking UPDATE KB5041580 ...
|
2024-12-02 14:53:51 +01:00
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64, August 2024 ]
|
2024-09-08 09:53:14 +02:00
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5041580 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-10-01 21:10:13 +02:00
|
|
|
echo blocking UPDATE KB5043064 ...
|
2024-12-02 14:53:51 +01:00
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64, Septembre 2024 ]
|
2024-10-01 21:10:13 +02:00
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5043064 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2024-12-02 14:53:51 +01:00
|
|
|
echo blocking UPDATE KB5046613 ...
|
|
|
|
echo [ Cumulative Update for Windows 10 Version 21H2 x64, November 2024 ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID KB5046613 -AcceptAll"
|
|
|
|
echo.
|
|
|
|
|
2023-02-15 18:32:14 +01:00
|
|
|
echo blocking a hardware driver ...
|
|
|
|
echo [ Advanced Micro Devices ]
|
|
|
|
powershell -command "Hide-WindowsUpdate -KBArticleID 'Advanced Micro Devices, Inc. - Display - 31.0.12027.7000' -AcceptAll"
|
2023-01-29 22:04:58 +01:00
|
|
|
echo.
|
2023-02-15 18:32:14 +01:00
|
|
|
|
2023-01-29 17:23:17 +01:00
|
|
|
echo showing HIDDEN windows updates ...
|
|
|
|
powershell -command "Get-WindowsUpdate -IsHidden"
|
2023-01-22 22:32:07 +01:00
|
|
|
|
|
|
|
echo ####### %0 #######
|
2023-01-31 20:49:23 +01:00
|
|
|
pause
|
2023-01-22 22:32:07 +01:00
|
|
|
|