From 5c82738e1e233c20d6bf5cb0b28b22f580d2ccb5 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Wed, 15 Feb 2023 18:32:14 +0100 Subject: [PATCH] bugfix --- drivers/unpack-mac-drivers.cmd | 28 ++++++++++++++++++++++++++++ optional/block-updates.cmd | 9 ++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 drivers/unpack-mac-drivers.cmd diff --git a/drivers/unpack-mac-drivers.cmd b/drivers/unpack-mac-drivers.cmd new file mode 100644 index 0000000..60bc2c2 --- /dev/null +++ b/drivers/unpack-mac-drivers.cmd @@ -0,0 +1,28 @@ +@echo off + +set T=c:\TEMP +set TOOLS=c:\tools +set ZIP=..\software\MACDRIVER.zip + +if NOT EXIST %ZIP% ( + echo ERROR: %ZIP% not found! + exit /b +) + +echo ####### %0 ####### + +echo unpacking iMAC drivers ... +%TOOLS%\7z x -y -aoa -o"%T%" %ZIP% + +echo renaming ... +move /Y %T%\WindowsSupport %T%\MACDRIVER +echo. + +echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +echo INFO: iMAC drivers extracted to path [ %T%\MACDRIVER ] +echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +echo. + +echo ####### %0 ####### +pause + diff --git a/optional/block-updates.cmd b/optional/block-updates.cmd index ebfc4a6..1b5ce6d 100644 --- a/optional/block-updates.cmd +++ b/optional/block-updates.cmd @@ -6,16 +6,23 @@ echo ####### %0 ####### echo blocking UPDATE KB5005463 aka. PC-Health ... powershell -command "Hide-WindowsUpdate -KBArticleID KB5005463 -AcceptAll" +echo. echo blocking UPDATE KB5021751 ... echo [ Notifies Microsoft if an Unsupported Office version is installed on Windows ] powershell -command "Hide-WindowsUpdate -KBArticleID KB5021751 -AcceptAll" +echo. echo blocking UPDATE KB5013942 ... echo [ Cumulative Update for Windows 10 Version 20H2 x64 ] powershell -command "Hide-WindowsUpdate -KBArticleID KB5013942 -AcceptAll" - echo. + +echo blocking a hardware driver ... +echo [ Advanced Micro Devices ] +powershell -command "Hide-WindowsUpdate -KBArticleID 'Advanced Micro Devices, Inc. - Display - 31.0.12027.7000' -AcceptAll" +echo. + echo showing HIDDEN windows updates ... powershell -command "Get-WindowsUpdate -IsHidden"