maxXPsoft

Hide Bing Desktop and other Windows Updates

47 posts in this topic

You can use this even on a installed installation.
EDIT: I have not tried this on Windows 8 yet. ricktendo Edit: tested on Windows 8 and it worked like a charm :thumbup
I do not recommend this on XP. I added just a few and it got about 8.
Make sure you are fully updated minus things you don't want or it takes awhile to cycle through 108 updates waiting ..... :w00t:

After I complete my Unattended setup I get Windows updates for things I don't want. Rather than disable WU I'd rather have fun figuring out how to disable what I don't want. :whistle:
There are other scripts out there but none as flexible as this. You have to make sure you are connected to internet before running.

j5j.png

I use cmd /c start /wait wscript HideKBs_BingDesktop.vbs on my unattended because I am applying updates after this.
On Windows 7 you can just double click to run it as long as you have permissions

Only edit this with notepad if you don't have a vbs editor
Save as HideKBs_BingDesktop.vbs

' Maxpsoft May 30, 2013, 9:34:15 PM' 06/18/2013 Add extra for Bing Desktop v1.3' 06/28/2013 Updated to continue searching as long as it is finding something otherwise Quit' 05/02/2014 By adding KB and Bing Bar it gets them all and so far has not come back'' Original Mike.Moore Dec 17, 2012 on answers.microsoft but when ran it Hide everything so no good.' Link to script:  You may freely use this script as long as you copy it complete and it remains the same except for adjusting hideupdates.' If I need to change something then let me know so all may benefit.Dim WSHShell, StartTime, ElapsedTime, strUpdateName, strAllHiddenDim Checkagain 'Find more keep going otherwise QuitDim hideupdates(11)    'TO ADD 1 EDIT THE (11) AND ADD another hideupdates(#)hideupdates(0) = "KB2592687" 'Remote Desktop Protocol 8.0hideupdates(1) = "KB2861855" 'Remote Desktop Protocol 8.0hideupdates(2) = "KB2574819" 'Remote Desktop.hideupdates(3) = "KB2830477" 'Remote Desktophideupdates(4) = "KB2709981" 'Windows Media Player 12hideupdates(5) = "KB2803821" 'Windows Media Player 12hideupdates(6) = "Bing Desktop" 'With this we get all versionshideupdates(7) = "Internet Explorer 8"hideupdates(8) = "Internet Explorer 9"hideupdates(9) = "Internet Explorer 10"hideupdates(10) = "KB2673774" 'Bing Bar 7.3 KBhideupdates(11) = "Bing Bar" 'Bing Bar ALLSet WSHShell = CreateObject("WScript.Shell")StartTime = Timer 'Start the TimerSet 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 ifNextElapsedTime = Timer - StartTimestrTitle = "Bing Desktop and Windows Updates Hidden."strText = strAllHiddenstrText = strText & vbCrLf & ""strText = strText & vbCrLf & "Total Time " & ElapsedTimeintType = vbOkOnly'Silent just comment these 2 lines with a ' and it will run and quitSet 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 = nothingSet WSHShell = NothingWScript.QuitFunction 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  NextEnd FunctionFunction 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
Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Thanks, will this also work with XP?

Edit: tested on Windows 8 and it worked like a charm

6pyafb7.png

Edit2: Any way to run silently? I want to add it to my WPI

Edited by ricktendo
0

Share this post


Link to post
Share on other sites

Thanks, will this also work with XP?

Edit: tested on Windows 8 and it worked like a charm

6pyafb7.png

Edit2: Any way to run silently? I want to add it to my WPI

Have not tested with XP but have a machine in for a refresh repair but may be several days before I get to it.

'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)

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Can you please add Malicious Software Removal Tool and KB971033 ?

There might be others but off hand i remember these two buggers.

0

Share this post


Link to post
Share on other sites

Can you please add Malicious Software Removal Tool and KB971033 ?

There might be others but off hand i remember these two buggers.

0

Share this post


Link to post
Share on other sites

Can you please add Malicious Software Removal Tool and KB971033 ?

There might be others but off hand i remember these two buggers.

To add or remove one all you have to do is edit this part

Dim hideupdates(4) '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) = ".NET Framework 4.5"

hideupdates(4) = "KB971033"

Or if you want then remove Windows Media Player 12 or the .NET Framework 4.5 and replace with something else

hideupdates(3) = ".NET Framework 4.5"
replace with
hideupdates(3) = "KB971033"

Or if you use .NET Framework 4.5 then do this

Dim hideupdates(2) '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) = ".NET Framework 4.5"

post-9484-0-17538200-1370638118_thumb.pn

I built it to be easy to adjust but if you need help just post what you want to remove

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Thanks, will this also work with XP?

I do not recommend this on XP. I added just a few and it got about 8.

0

Share this post


Link to post
Share on other sites

Very useful. Thanks for posting. Have a couple of question:

1. I also want to remove the WU nag for KB976002. All I have to do is add another line, like hideupdates(4) = "KB976002" to the first post script, or do I have to do smth else?

2. I make the default behaviour for WU through Autounattend.xml to go off. So with WU off by default on windows 7, will this script have the same effect?

3. Can this .vbs script be run silently? If yes, can you please post in the first post the changes needed to your script?

4. Can you please make a similat guide / script for windows xp? When you'll have the time... interested for xp in not showing KB976002 (browser choice) and KB892130 (genuine advantage - don't know if this is enough, or also 905474 should be added also, never tried before, only hid it through WU screen).

Edited by RicaNeaga
0

Share this post


Link to post
Share on other sites

  • Look at Post 6 how to add more, as many as you want but the last number must match on this line Dim hideupdates(3)
  • Yes even with WU off it should run. Make sure you are fully updated minus things you don't want or it takes awhile to cycle through 108 updates waiting ..... :w00t:
  • Look at script above
    'Silent just comment these 2 lines with a ' and it will run and quit
  • I do not recommend this on XP yet, haven't had time to debug what wrong. It ran but hide more than it should.

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Well Bing Desktop 1.3 offered today so I updated script to get it also.

Can't attach files again.

xby.png

Uploaded with ImageShack.us

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Just as a test I done Silverlight and it has 5 updates if you keep hiding

' 06/28/2013 Updated to continue searching as long as it is finding something otherwise Quit

j5j.png

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Thanks for all your work on this but You said.."Yes even with WU off it should run." but I get this pop-up error msg?

Error.png

0

Share this post


Link to post
Share on other sites

well not gonna fix that then can we?

Wasn't for sure but know now.

0

Share this post


Link to post
Share on other sites

dang I hate this .Net mess, had to install 4.0 to use Live mail just so I can check my Hotmail without going there. Well 16 updates to it last count

Installed ADK 8.1 to mess with 8.1 Preview and what shows up, you guessed it .Net 4.5 was installed so it wants to add a boatload of updates.

hideupdates(3) = ".Net Framework 4.5"

y71.png

Uploaded with ImageShack.us

Guess they not going to fix this image posting mess here?

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Added Bing Bar to mine today, still working perfect

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

0

Share this post


Link to post
Share on other sites

@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
0

Share this post


Link to post
Share on other sites

@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?

0

Share this post


Link to post
Share on other sites
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

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites
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?

0

Share this post


Link to post
Share on other sites
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
0

Share this post


Link to post
Share on other sites

@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)

0

Share this post


Link to post
Share on other sites

@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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.