Script to remove Google toolbar

Reading Time: < 1 minute

Copy the below script to a notepad file and save with a .vbs extension e.g. removetoolbar.vbs

 

‘Option Explicit
Set Shell=WScript.CreateObject(“Shell.Application”)
Shell.MinimizeAll
On Error Resume Next
Dim WshShell,a,i
i=0
Set WshShell=WScript.CreateObject(“WScript.Shell”)
Set Shell=WScript.CreateObject(“Shell.Application”)
‘Begin Script
‘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
 
WshShell=Nothing:Wscript.Quit(i)

Please follow and like us:

5 thoughts on “Script to remove Google toolbar

  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

    Susan

  2. Thankyou Sir

    Been looking for such script to push out via Group policy to PC’s at our school.

    Did the trick and saved me hours of manual work

    Thanks a lot 😉

  3. just wanted to note for notepad , make sure you save it as “Unicode” encoding…

    thnx, saved me alot of time

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.