Link to home
Start Free TrialLog in
Avatar of yuhs
yuhs

asked on

Can I uninstall Google toolbar remotely using a script or Group Policy?

I have a number of PCs in my building that have Google toolbar installed, and I need to uninstall it before I can roll out some new software that conflicts with it.

- Is there way to run a startup script to remove Google Toolbar, or run something from our Group Policy to either block it or uninstall it.

I wish I could assign more points, this is an urgent issue.

Avatar of slam69
slam69
Flag of United Kingdom of Great Britain and Northern Ireland image

or you can disable all 3rd party browser add ons in IE using this below GPO

Computer Configuration -> Administrative Templates -> Windows Components -> Internet Explorer -> Internet Control Panel -> Advanced ->> "Allow third-party browser extentions" -> "Disabled"
or as part of log on script

regsvr32 /u <path to GoogleToolbar dll>
ASKER CERTIFIED SOLUTION
Avatar of slam69
slam69
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Amended above
'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) 

Open in new window

Avatar of yuhs
yuhs

ASKER

Yep, this was the solution...thanks.