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.
|
|
|
|
|
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
|
|
|
|