Jump to content

Recommended Posts

Posted (edited)

@maxXPsoft, check my sig for .net framework installers with the updates integrated

Already using your dotNetFx451_Full

Takes some of the sting out of .Net Hell :lol:

Edited by maxXPsoft
  • 2 months later...

Posted

@maxXPsoft, check my sig for .net framework installers with the updates integrated

Already using your dotNetFx451_Full

Takes some of the sting out of .Net Hell :lol:

Is there a way to undo this? What is actually happening that hides the updates?

Posted
Is there a way to undo this? What is actually happening that hides the updates?

Yes real easy. Open Windows Update from control panel

Upper left is a link say Restore hidden updates just click it and select the ones to restore and choose Restore at bottom right

What this does is search the Windows Update catalog and Hides the updates you don't want. Same as right click on one and choose Hide Update

Posted

TYVM for this, I added the new "Bing Bar" update & also the following to a fresh install in a VM using this to slipstream post SP1 updates...all worked a charm, had only 5 updates to install. :D

The additional updates:

Update for Windows 7 for x64-based Systems (KB2506928)
Update for Windows 7 for x64-based Systems (KB2574819)
Update for Windows 7 for x64-based Systems (KB2592687)
Update for Windows 7 for x64-based Systems (KB2647753)
Update for Windows 7 for x64-based Systems (KB2660075)
Update for Windows 7 for x64-based Systems (KB2709630)
Update for Windows 7 for x64-based Systems (KB2719857)
Update for Windows 7 for x64-based Systems (KB2726535)
Update for Windows 7 for x64-based Systems (KB2732059)
Update for Windows 7 for x64-based Systems (KB2761217)
Update for Windows 7 for x64-based Systems (KB2773072)
Update for Windows 7 for x64-based Systems (KB2786081)
Update for Windows 7 for x64-based Systems (KB2786400)
Update for Windows 7 for x64-based Systems (KB2813956)
Update for Windows 7 for x64-based Systems (KB2830477)
Update for Windows 7 for x64-based Systems (KB2846960)
Update for Windows 7 for x64-based Systems (KB2853952)
Update for Windows 7 for x64-based Systems (KB2882822)
Update for Windows 7 for x64-based Systems (KB2893519)

  • 1 month later...
Posted
Is there a way to undo this? What is actually happening that hides the updates?

Yes real easy. Open Windows Update from control panel

Upper left is a link say Restore hidden updates just click it and select the ones to restore and choose Restore at bottom right

What this does is search the Windows Update catalog and Hides the updates you don't want. Same as right click on one and choose Hide Update

Thanks.

Is this also compatible with unofficial Windows Updates? I have an update under the category Windows(7) called

Zebra - Printers - ZDesigner TLP 2844 that I have not been able to remove with this script.

If not, do you know of a way this is possible?

Posted (edited)
Zebra - Printers - ZDesigner TLP 2844 that I have not been able to remove with this script.

If not, do you know of a way this is possible?

Used to have same printer. All you can do is just make sure latest update is installed. In this case even if it is one from MS

I do this

Search this location for TLP 2844 and save hardware updates from here: C:\Windows\System32\DriverStore\FileRepository\

found the c7112964.inf.xxxx folder, and copied it for use.

Edited by maxXPsoft
  • 2 months later...
Posted

@MaxXPsoft

Rick turned me on to this script and it's flat our AWESOME!!! I had given up on this long ago and you created a perfect solution THANKS ( I just removed language packs, Bing Bar & Bing Desktop on WIN7x64 ENT)

  • 2 weeks later...
Posted (edited)

@MaxXPsoft

I am using this on an image that I am running sysprep on and noticed that it doesn't seem to carry over to the prepped image... has anyone else noticed this?

EDIT: No matter how I tried I couldn't get the "clean" WU to stay that way after I did a sysprep... what I am trying now is a quick mount of my image and adding a RunOnce entry to call the script and then reboot the system. That should work and I will report back.

EDIT 2: OK so I added a RunOnce and it runs but only seemed to hide the languages and 1 of the Bing updates... so I added a reboot and 2nd RunOnceEX and after it all ran I saw an odd WU behavior... I opened WU to see if the script ran and sure enough it did and it was clean but I saw that the "updates for MS products" option was't there... then when I checked again later the option WAS there and so were the **** Bing updates again!!!! WTF???

EDIT 3: I figured out a little bit more about this... it seems that it has a relationship with my MSE installation... as soon as the OOBE for MSE fires up it adds the "updates for other MS products" to WU and then then the BING updates show again

post-19219-0-35333300-1396183739.jpg

Edited by compstuff
Posted (edited)

MsSecEs enables Microsoft Update, there is also a VBS script that you can use to enable this before you run the hide VBS

Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager")ServiceManager.ClientApplicationID = "My App"'add the Microsoft Update Service, GUIDSet NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")

Edit: You may also need to do a little registry editing to fully enable it (not needed on Windows 8+) http://reboot.pro/topic/15769-how-to-enable-microsoft-update-programmatically/

Edited by ricktendo
  • 2 weeks later...
Posted

that Bing Bar keeps coming back every month. :thumbdown I've hidden it several times same KB2673774 number

so I tried this

hideupdates(10) = "KB2673774" 'Bing Bar 7.3
hideupdates(11) = "Bing Bar"

and got this in results

post-9484-0-67520800-1396966865.png

Will see next month

  • 3 weeks later...
Posted

How to edit script so it hides all these:

KB2592687 - Remote Desktop Protocol 8.0
KB2709981 - Windows Media Player 12
Bing Desktop
Silverlight
Malicious Software Removal Tool
.NET Framework 4.5
KB971033
.NET Framework 3.5
Language Packs
Internet Explorer
Bing Bar
??
Posted (edited)

Add/remove a section here

hideupdates(0) = "KB2592687" 'Remote Desktop Protocol 8.0hideupdates(1) = "KB2709981" 'Windows Media Player 12hideupdates(2) = "Bing Desktop" 'With this we get all versionshideupdates(3) = "Silverlight"hideupdates(4) = "NEW Entry Name 1" 'you add thishideupdates(5) = "NEW Entry Name 2" 'add another if you want

Here you need to increase or decrease the number to be the same number as the last entry, in this case its 5 so we change it to 5

Dim hideupdates(5) 'TO ADD 1 EDIT THE (3) AND ADD another hideupdates(#)
Edited by ricktendo
Posted (edited)

Post the "Link.vbs" you used that got that error. Are you familiar with writing and debugging VBScript?

Cheers and Regards

Edited by bphlpt
Posted

I am not familiar. I used this:

Dim WSHShell, StartTime, ElapsedTime, strUpdateName, strAllHidden
Dim Checkagain 'Find more keep going otherwise Quit
Dim hideupdates(10) 'TO ADD 1 EDIT THE (3) AND ADD another hideupdates(#)
hideupdates(0) = "KB2592687" 'Remote Desktop Protocol 8.0
hideupdates(1) = "KB2709981" 'Windows Media Player 12
hideupdates(2) = "Bing Desktop" 'With this we get all versions
hideupdates(3) = "Silverlight"
hideupdates(4) = "Malicious Software Removal Tool"
hideupdates(5) = "KB971033"
hideupdates(6) = ".NET Framework 3.5"
hideupdates(7) = "Language Pack"
hideupdates(8) = "Internet Explorer"
hideupdates(9) = "Bing Bar"
hideupdates(10) = ".NET Framework 4.5"
Set WSHShell = CreateObject("WScript.Shell")
StartTime = Timer 'Start the Timer
Set updateSession = CreateObject("Microsoft.Update.Session")
updateSession.ClientApplicationID = "MSDN Sample Script"
Set updateSearcher = updateSession.CreateUpdateSearcher()
Set searchResult = updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
Checkagain = "True"
For K = 0 To 10 'Bing Desktop has 4, Silverlight has 5
If Checkagain = "True" Then
Checkagain = "False"
CheckUpdates
ParseUpdates
End if
Next
ElapsedTime = Timer - StartTime
strTitle = "Bing Desktop and Windows Updates Hidden."
strText = strAllHidden
strText = strText & vbCrLf & ""
strText = strText & vbCrLf & "Total Time " & ElapsedTime
intType = vbOkOnly
'Silent just comment these 2 lines with a ' and it will run and quit
Set objWshShell = WScript.CreateObject("WScript.Shell")
intResult = objWshShell.Popup(strText, ,strTitle, intType)
'Open Windows Update after remove the comment '
'WshShell.Run "%windir%\system32\control.exe /name Microsoft.WindowsUpdate"
Set objWshShell = nothing
Set WSHShell = Nothing
WScript.Quit
Function ParseUpdates 'cycle through updates
For I = 0 To searchResult.Updates.Count-1
Set update = searchResult.Updates.Item(I)
strUpdateName = update.Title
'WScript.Echo I + 1 & "> " & update.Title
For j = 0 To UBound(hideupdates)
if instr(1, strUpdateName, hideupdates(j), vbTextCompare) = 0 then
Else
strAllHidden = strAllHidden _
& vbcrlf & update.Title
update.IsHidden = True'
Checkagain = "True"
end if
Next
Next
End Function
Function CheckUpdates 'check for new updates cause Bing Desktop has 3
Set updateSession = CreateObject("Microsoft.Update.Session")
updateSession.ClientApplicationID = "MSDN Sample Script"
Set updateSearcher = updateSession.CreateUpdateSearcher()
Set searchResult = _
updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
End Function

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...