w10install/scripts/block-updates.cmd

18 lines
497 B
Batchfile
Raw Normal View History

2023-01-22 22:32:07 +01:00
@echo off
echo ####### %0 #######
echo blocking UPDATE KB5005463 aka. PC-Health ...
powershell -command "Hide-WindowsUpdate -KBArticleID KB5005463 -AcceptAll"
echo blocking UPDATE KB5021751 ...
echo [ Notifies Microsoft if an Unsupported Office version is installed on Windows ]
powershell -command "Hide-WindowsUpdate -KBArticleID KB5021751 -AcceptAll"
echo.
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 #######