How can I hide that Update in Windows 10 ?

Original Title: Win 10 - hiding updates

As part of Windows 10 beta testing, updates are processed automatically - with no obvious way to hide unwanted updates.  But I keep getting large one for a networked Canon-MP480 (attached to another PC),  that constantly downloads and then fails . . . .  How can I hide that Update  ?

Answer
Answer

Finally, a real answer to this!

First I'd like to give props to Mubasshir Dadarkar who answered this on another thread.

Mubhassir wrote a VBScript which I adapted to my own situation. I left my debug statements in. Note the  "Type='Driver'" in the 3rd code line. In Mubhassir's script it's "Type='Software'" and he's blocking out updates to Internet Explorer, Bing Desktop, stuff like that. Click here for the documentation on the updateSearcher.Search method.

I intend to use this the next time I see 75 language packs in Windows Update.

Dim hideupdates(1)
hideupdates(0) = "Intel(R) Corporation - Graphics Adapter WDDM1.2 - Intel(R) Graphics Media Accelerator"

set updateSession = createObject("Microsoft.Update.Session")
set updateSearcher = updateSession.CreateupdateSearcher()

Set searchResult = updateSearcher.Search("IsInstalled=0 and Type='Driver'")

Wscript.echo "Before Loop - searchResult.Updates.Count=" & searchResult.Updates.Count

For i = 0 To searchResult.Updates.Count-1
set update = searchResult.Updates.Item(i)
For j = LBound(hideupdates) To UBound(hideupdates)
Wscript.echo "Update Title is: >>" & update.Title & "<<"
MsgBox hideupdates(j)
if instr(1, update.Title, hideupdates(j), vbTextCompare) = 0 then
  Wscript.echo "No match found for " & hideupdates(j)
else
Wscript.echo "Hiding " & hideupdates(j)
update.IsHidden = True
end if
Next
Next

5 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 25, 2022 Views 16,038 Applies to: