Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

I have found a script (below) that I can deploy and it will remove the google&yahoo toolbars from IE.

'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

  • Thanks 2
Posted
I have found a script (below) that I can deploy and it will remove the google&yahoo toolbars from IE.

'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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...