Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Hide Bing Desktop and other Windows Updates


  • Please log in to reply
39 replies to this topic

#1
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

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: http://www.msfn.org/board/topic/163162-hide-bing-desktop-and-other-windows-updates/
' 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, strAllHidden
Dim Checkagain 'Find more keep going otherwise Quit

Dim hideupdates(11)    'TO ADD 1 EDIT THE (11) AND ADD another hideupdates(#)

hideupdates(0) = "KB2592687" 'Remote Desktop Protocol 8.0
hideupdates(1) = "KB2861855" 'Remote Desktop Protocol 8.0
hideupdates(2) = "KB2574819" 'Remote Desktop.
hideupdates(3) = "KB2830477" 'Remote Desktop
hideupdates(4) = "KB2709981" 'Windows Media Player 12
hideupdates(5) = "KB2803821" 'Windows Media Player 12
hideupdates(6) = "Bing Desktop" 'With this we get all versions
hideupdates(7) = "Internet Explorer 8"
hideupdates(8) = "Internet Explorer 9"
hideupdates(9) = "Internet Explorer 10"
hideupdates(10) = "KB2673774" 'Bing Bar 7.3 KB
hideupdates(11) = "Bing Bar" 'Bing Bar ALL

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

Edited by maxXPsoft, 02 May 2014 - 08:16 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1


How to remove advertisement from MSFN

#2
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,256 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks, will this also work with XP?

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

Posted Image

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

Edited by ricktendo, 30 May 2013 - 10:32 PM.


#3
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks, will this also work with XP?

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

Posted Image

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, 31 May 2013 - 07:53 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#4
Tomorrow

Tomorrow

    Advanced Member

  • Member
  • PipPipPip
  • 379 posts
  • Joined 20-December 07
  • OS:Windows 7 x64
  • Country: Country Flag
Can you please add Malicious Software Removal Tool and KB971033 ?
There might be others but off hand i remember these two buggers.


#5
Tomorrow

Tomorrow

    Advanced Member

  • Member
  • PipPipPip
  • 379 posts
  • Joined 20-December 07
  • OS:Windows 7 x64
  • Country: Country Flag
Can you please add Malicious Software Removal Tool and KB971033 ?
There might be others but off hand i remember these two buggers.


#6
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

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"

Attached File  match.png   16.98KB   8 downloads


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

Edited by maxXPsoft, 07 June 2013 - 02:48 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#7
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks, will this also work with XP?

I do not recommend this on XP. I added just a few and it got about 8.
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#8
RicaNeaga

RicaNeaga
  • Member
  • 7 posts
  • Joined 31-August 10
  • OS:Windows 7 x86
  • Country: Country Flag
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, 01 June 2013 - 12:44 AM.


#9
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

  • 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, 07 June 2013 - 03:10 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#10
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Well Bing Desktop 1.3 offered today so I updated script to get it also.
Can't attach files again.

Posted Image

Uploaded with ImageShack.us

Edited by maxXPsoft, 18 June 2013 - 10:15 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#11
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
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

Posted Image

Edited by maxXPsoft, 28 June 2013 - 07:23 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#12
DosProbie

DosProbie

    MSFN Expert

  • MSFN Sponsor
  • 1,034 posts
  • Joined 16-October 12
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

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?

Posted Image


#13
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
well not gonna fix that then can we?
Wasn't for sure but know now.
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#14
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
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"

Posted Image
Uploaded with ImageShack.us

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

Edited by maxXPsoft, 08 July 2013 - 01:41 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#15
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,256 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Added Bing Bar to mine today, still working perfect

 

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



#16
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

@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, 11 September 2013 - 07:59 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#17
iamcamilo

iamcamilo
  • Member
  • 2 posts
  • Joined 15-November 13
  • OS:Windows 7 x64
  • Country: Country Flag

 


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



#18
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

 

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


Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#19
PinkFreud

PinkFreud

    Junior

  • Member
  • Pip
  • 96 posts
  • Joined 12-August 10
  • OS:Windows 7 x64
  • Country: Country Flag

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)

 



#20
iamcamilo

iamcamilo
  • Member
  • 2 posts
  • Joined 15-November 13
  • OS:Windows 7 x64
  • Country: Country Flag

 

 

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?



#21
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

 

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, 09 January 2014 - 09:45 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#22
compstuff

compstuff

    Newbie

  • Member
  • 17 posts
  • Joined 05-May 04
  • OS:Windows 7 x64
  • Country: Country Flag

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



#23
compstuff

compstuff

    Newbie

  • Member
  • 17 posts
  • Joined 05-May 04
  • OS:Windows 7 x64
  • Country: Country Flag

@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

 

Attached File  wubing.JPG   12.35KB   0 downloads


Edited by compstuff, 30 March 2014 - 06:49 AM.


#24
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,256 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

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, GUID
Set 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/to...ogrammatically/


Edited by ricktendo, 30 March 2014 - 09:47 AM.


#25
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,879 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

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

Attached File  bar7.3.PNG   1.91KB   0 downloads

 

Will see next month


Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users