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.
- 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.
https://www.experts-exchange.com/questions/22848872/uninstall-remove-google-toolbar-from-domain-computers.html
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"
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>
regsvr32 /u <path to GoogleToolbar dll>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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)
ASKER
Yep, this was the solution...thanks.