Hiding Windows update KB3035583

Microsoft gets relentless with their Windows 10 update.

Fine in bigger companies where you have WSUS. In smaller companies you may not use WSUS, and windows 10 gets pushed as a regular update now.

If you may not want this, and the update is installed, perform the following command:

wusa /uninstall /kb:3035583 /quiet /norestart

If you may not want this, and the update is not yet installed, you can hide it with the following vb-script:

(Note: You may have to run windows update ‘check for updates’ for it to see which updates are actually available, before you run the script, or you could just run this at startup, haven’t tested this yet)

' Hide KB3035583
' Modified from http://ss64.org/viewtopic.php?pid=6795
Dim hideupdates(0)
'Hide Windows 10 downloader update
hideupdates(0) = "KB3035583"
set updateSession = createObject("Microsoft.Update.Session")
set updateSearcher = updateSession.CreateupdateSearcher()
set searchResult = updateSearcher.Search("IsHidden=0 and IsInstalled=0 and Type='Software'")
For i = 0 To searchResult.Updates.Count-1
 set update = searchResult.Updates.Item(i)
 For j = LBound(hideupdates) To UBound(hideupdates) 
  '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

Execute this with e.g. C:\Temp\cscript hidekb.vbs

I haven’t made this, see original post, found at http://ss64.org/viewtopic.php?pid=6795

If you change Dim hideupdates(0) to Dim hideupdates(7) you can add more updates to hide in the same manner:

hideupdates(0) = “KB3035583”
hideupdates(1) = “KBxxxxxx”
etc. and it will search for them, and hide them.
It displays what updates are being hidden as output.

Hope this helps you! Have fun!

 

This entry was posted in Microsoft Update, Windows. Bookmark the permalink.