That rocks. Thanks!!!!
On Jan 2, 2008 10:23 AM, Thomas Gonzalez <[EMAIL PROTECTED]> wrote:
> I have that same issue as well, but the workstations came preloaded with
> the toolbar and desktop item from google. So I wrote a script to remove
> the apps:
>
> '<job id="vbs">
> '***********************************************************************
> **********'
> '* PostInstallation Script
> '
> '* Removal of Google Apps
> '
> '***********************************************************************
> **********'
> On Error Resume Next
>
> '************************************'
> '* Declare Constants '
> '************************************'
> Const HKCR = &H80000000
> Const HKLM = &H80000002
> Const HKCU = &H80000001
> Const OverWriteExisting = True
>
> '************************************'
> '* Declare Variables '
> '************************************'
> Dim strComputer
> 'Computer Name'
> Dim destination 'where the
> installation will be copied to...
>
> strComputer = "." 'Current Computer Name'
> '************************************'
> '* Set Objects '
> '************************************'
> Set objFileSystem = CreateObject("Scripting.FileSystemObject")
> Set objRegistry =
> GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &
> "\root\default:StdRegProv")
> Set myLog =
> objFileSystem.OpenTextFile("C:\logs\Google_Desktop_Search_Uninstall.log"
> ,8,True,-2)
> Set WshShell = WScript.CreateObject("WScript.Shell")
> Set objWMIService = GetObject
> ("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &
> "\root\cimv2")
>
> myLog.Writeline
> "***********************************************************************
> **"
> myLog.Writeline Now & " Starting Uninstall of Google Desktop
> Search..."
> '***********************************'
> '* Setting the working environment '
> '***********************************'
> myLog.Writeline Now & " Getting the current directory..."
> currentLocation = WshShell.CurrentDirectory
> myLog.Writeline Now & " The current working directory is " &
> WshShell.CurrentDirectory
> '***********************************'
> '* Starting the uninstall process '
> '***********************************'
> strCommand1 = currentLocation & "C:\Program Files\Google\Google
> Desktop Search\GoogleDesktopSetup.exe -silent -uninstall -allusers"
> myLog.Writeline Now & strCommand1
> runResult = WshShell.Run (strCommand1,0,True)
> If Not runResult = 0 Then
> Result = runResult
> myLog.Writeline Now & " FAILED
> to uninstall Google Desktop Search :("
> myLog.Writeline Now & " VBScript
> Error: " & Err
> myLog.Writeline Now & "
> Executable's Error: " & runResult
> Else
> myLog.Writeline Now & "
> Successfully uninstalled Google Desktop Search :)"
> End If
> '************************************'
> '* Job is complete, closing the log '
> '************************************'
> myLog.Close
> WScript.Quit(RESULT)
>
> -----Original Message-----
> From: Jon D [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 02, 2008 8:49 AM
> To: NT System Admin Issues
>
> Subject: Re: Google Toolbar remote uninstall
>
> > How did they get it in the first place? If they are local admin's
> then they
> > will re-infect themselves again shortly.
>
> Unfortunatally local admin access is required for many of the apps
> they need to run.
> We've done tons of research and yelled at the vendors, but to no
> avail. The main app that everyone uses is the biggest problem with
> needing it and they have 15 years of data in it. No way to get them
> off of that..
>
>
>
>
> On Jan 2, 2008 8:29 AM, Jon Harris <[EMAIL PROTECTED]> wrote:
> >
> > How did they get it in the first place? If they are local admin's
> then they
> > will re-infect themselves again shortly.
> >
> > Jon
> >
> >
> >
> > On Jan 2, 2008 8:20 AM, Jon D <[EMAIL PROTECTED]> wrote:
> > > I usually consider google a smart company with smart people, but
> their
> > > google toolbar is almost like spyware.
> > > It's bundled in everything, all my users seem to be 'infected' with
> > > it. I can't find an easy way to get rid of it short of wasting
> > > thousands of dollars in manhours manually uninstalling it from each
> > > users computer.
> > >
> > > I'm wondering if anyone has discovered an easy way to remotely
> uninstall
> > it?
> > > How are other company's handling it? Obviously you can't allow it
> > > being there's no central management or update and old versions are
> > > open to hacks.
> > >
> > > I would simply remotely DELETE it, but it appears to tie into the
> > > windows shell where I'm afraid just deleting it could cause system
> > > instability?
> > >
> > >
> > >
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > .
> > >
> > > ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~
> > > ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm > ~
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~
> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
>
> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~
> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
>
~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~