+ Post New Thread
Results 1 to 4 of 4
Internet Related/Filtering/Firewall Thread, removing google toolbar across the domain in Technical; I have found a script (below) that I can deploy and it will remove the google&yahoo toolbars from IE. Code: ...
  1. #1
    pooley's Avatar
    Join Date
    Sep 2005
    Location
    S Wales
    Posts
    1,166
    Thank Post
    83
    Thanked 130 Times in 107 Posts
    Rep Power
    69

    removing google toolbar across the domain

    I have found a script (below) that I can deploy and it will remove the google&yahoo toolbars from IE.
    Code:
    'This file silently uninstalls the Google, Yahoo!
    'Toolbars. This also removes Weather Channel Desktop.
    'Option Explicit
    Set Shell=WScript.CreateObject("Shell.Application")
    Shell.MinimizeAll
    On Error Resume Next
    Dim WshShell,a,i
    Set i=0
    Set WshShell=WScript.CreateObject("WScript.Shell")
    Set Shell=WScript.CreateObject("Shell.Application")
    'This Removes the Google ToolBar
    a=WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2318C2B1-4965-11d4-9B18-009027A5CD4F}\UninstallString")
    If a<>"" Then
    WshShell.Run(a&" /S"),1,True
    i=i+1
    end if
    'This Removes the Yahoo Toolbar
    a=WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Yahoo! Companion\UninstallString")
    If a<>"" Then
    WshShell.Run(""""&a&""" /S"),1,True
    i=i+1
    end if
    Wscript.sleep 15000
    'This Ends the Script
    WshShell=Nothing
    Wscript.Quit(i)
    After it runs IE opens and directs me to the Google toolbar removal/questionair page, i.e. why did you remove it etc. Any idea's how to prevent this from opening after the script has run?

    Thanks

    Si

  2. 2 Thanks to pooley:

    bondbill2k2 (13th January 2012), speckytecky (15th November 2010)

  3. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    Quote Originally Posted by pooley View Post
    I have found a script (below) that I can deploy and it will remove the google&yahoo toolbars from IE.
    Code:
    'This file silently uninstalls the Google, Yahoo!
    'Toolbars. This also removes Weather Channel Desktop.
    'Option Explicit
    Set Shell=WScript.CreateObject("Shell.Application")
    Shell.MinimizeAll
    On Error Resume Next
    Dim WshShell,a,i
    Set i=0
    Set WshShell=WScript.CreateObject("WScript.Shell")
    Set Shell=WScript.CreateObject("Shell.Application")
    'This Removes the Google ToolBar
    a=WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2318C2B1-4965-11d4-9B18-009027A5CD4F}\UninstallString")
    If a<>"" Then
    WshShell.Run(a&" /S"),1,True
    i=i+1
    end if
    'This Removes the Yahoo Toolbar
    a=WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Yahoo! Companion\UninstallString")
    If a<>"" Then
    WshShell.Run(""""&a&""" /S"),1,True
    i=i+1
    end if
    Wscript.sleep 15000
    'This Ends the Script
    WshShell=Nothing
    Wscript.Quit(i)
    After it runs IE opens and directs me to the Google toolbar removal/questionair page, i.e. why did you remove it etc. Any idea's how to prevent this from opening after the script has run?

    Thanks

    Si
    what happens if you run it as a startup script does it do it then?

    You could always block that page, although its not really a fix.

  4. #3
    pooley's Avatar
    Join Date
    Sep 2005
    Location
    S Wales
    Posts
    1,166
    Thank Post
    83
    Thanked 130 Times in 107 Posts
    Rep Power
    69
    Works fine via startup script, should of tested it 1st. thanks

  5. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,212
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    Thought so

    Thanks for posting it, might be handy one day

SHARE:
+ Post New Thread

Similar Threads

  1. Removing Sparklebox Toolbar
    By SimpleSi in forum Windows
    Replies: 27
    Last Post: 22nd January 2010, 03:39 PM
  2. Removing Web Toolbar from Outlook on CC3
    By dmakinson in forum Office Software
    Replies: 0
    Last Post: 25th March 2009, 11:43 AM
  3. Replies: 2
    Last Post: 17th November 2006, 07:40 PM
  4. Replies: 10
    Last Post: 5th October 2005, 06:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •