/build/static/layout/Breadcrumb_cap_w.png

Trying to remove Ask Toolbar from all machines

I have a KScript setup to uninstall the Ask Toolbar from hour machines.  I'm using a smart lable contining machines with the software installed. I'm using the following uninstall command.

"SYS\msiexec.exe with params /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}

This has worked for 50 out of 100 machines.   There are several version but it seem all use the same uninstall command.

For version  1.15.4.0  It worked for 30 out of  60. I have connected up to a couple machines where it did not work and checked the registry and the uninstall command in the registry matches.  These machines get other patches fine but it will not uninstall.   What logs can I look at to determine the problem.    Thanks

 


0 Comments   [ + ] Show comments

Answers (8)

Posted by: bspicer 11 years ago
Yellow Belt
0

I turned on debug for one machine and ran it again just for the one machine.  Here is what was in kbox_log

kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Running kbot: runkbot 84 1358612582r7 -noLogUpload
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Validating kbot xml
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Kbot xml C:\Documents and Settings\All Users\Dell\KACE\kbots_cache\84-1358612582r7_expanded.xml, Validation Success
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Validation complete
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (status) START
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Kbot Config Info - Start
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) id=84 name=Copy of Uninstall Ask Toolbar Most Versions version=1358612582r7 type=policy
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) execute disconnected=true logged_off=true
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) execute events LOGON
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (debug) Kbot Config Info - Finish
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (output) Running as: SYSTEM
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (activity) Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '2145779073'
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (output) Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '2145779073' succeeded
kbot[84:1358612582r7] @ 2013-01-21T08:44:22 (status) FINISH (in state 'verification_success')

Posted by: bspicer 11 years ago
Yellow Belt
0

I may have found the problem.  The wizard created a remediation command but I didn't have any command under success.  I added that and It worked much better.

Verify

 

  1. Verify that HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key is equal to 2145779073.
 

 

On Success

 

  1. Launch SYS\msiexec.exe with params /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}.
 

 

Remediation

 

  1. Set HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key to 2145779073.
  2. Launch SYS\msiexec.exe with params /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}.
 Do I need to add the set statement to the on success as well?

 

Posted by: bspicer 11 years ago
Yellow Belt
0

I have several still failing.

Running as: SYSTEM
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '2145779073' succeeded
Setting registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' equal to '2145779073' succeeded
Error creating process: C:\WINDOWS\System32\msiexec.exe /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}: (0) The operation completed successfully.
Error Code: 0
Status Code: 1603

Posted by: jknox 11 years ago
Red Belt
0

Does it require the browser to be closed in order to uninstall?  If so, that might be the problem.

Posted by: bspicer 11 years ago
Yellow Belt
0

Hmm. Good question.  That could be.  Might make sence why every time I run it, I get one or more successes.

Posted by: bspicer 11 years ago
Yellow Belt
0

Update on this.   Its seems I can only do this if kill iexplore.exe and then launch msiexec with uninstall information. But this only works as the logged in user.  I can't get it to work as system or local admin. Was hoping to uninstall these when the user is not working but I don't think that is possible since it requires the logged in user account.


Comments:
  • ask toolbar puts info in a HKCU so you need to run the uninstall as logged in user to get it to work properly. You can send an alert then kill the iexplore task if the user has not done that prior. - SMal.tmcc 11 years ago
Posted by: hjansari 11 years ago
Fourth Degree Green Belt
0

Has anyone got this to work as I am getting failure as well when creating and trying the above KScript.?

Posted by: bspicer 11 years ago
Yellow Belt
0

I can only get this to work by running as an Online KScript an running as  User logged into console.  Then the script I have the following script

  1. Launch SYS\taskkill.exe with params /F /IM iexplore.exe.
  2. Launch SYS\msiexec.exe with params /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}

This script works if the user's IE is open. It kills the IE and uninstalls but you have to run this during the day when the user is logged in and possibly cause data loss for the user as you are killing their IE session.  If the user is not in IE, the script fails as it can't find the iexplore.exe process. I haven't found a way to have it continue to execute the uninstall.

If you take out the taskkill statement, it works if the user is not in IE. If the user is in IE, it fails.

If you don't run as the logged on user, you always get Error creating Process as I listed above.  Frustrating, you would think SYSTEM could uninstall this.  Trying to figure out a good way to get rid of all these toolbars our users have.


Comments:
  • Take away admin rights. We did. life is much easier now. They didn't go without a fight though. - gargone 11 years ago
  • I will give it ago..

    Agree it is annoying that we have to await for user not to be within I.E.
    Thanks for your feedback.
    Have you tried any other software like Babylon or McAffe - hjansari 11 years ago
  • Tried to uninstall Coupon Printer and I'm running into the same issues. I haven't gotten it to work yet. - bspicer 11 years ago
  • Getting this error message

    Output Log
    Running as: SYSTEM
    Checking if registry exists '“HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key†is equal to “2145779073â€' did not succeed: (0)
    Error creating process: SYS\msiexec.exe\ /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}: (2) The system cannot find the file specified.
    Checking if registry exists '“HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key†is equal to “2145779073â€' did not succeed: (0)
    Error creating process: SYS\msiexec.exe\ /qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}: (2) The system cannot find the file specified.
    Activity Log
    Checking if registry exists: “HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key†is equal to “2145779073â€
    Setting registry 'HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key' value '' equal to '2145779073'
    Launching program: 'SYS\msiexec.exe\' '/qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}' wait='false'
    Checking if registry exists: “HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key†is equal to “2145779073â€
    Setting registry 'HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key' value '' equal to '2145779073'
    Launching program: 'SYS\msiexec.exe\' '/qn /X{86D4B82A-ABED-442A-BE86-96357B70F4FE}' wait='false' - hjansari 11 years ago
  • Might take out the statement to check if registry exist. Not sure you really need that if your using a smart label to find machines with it installed. My registry statement looks like this. Verify that “HKLM\SOFTWARE\Kace\KBot Configuration\Uninstall0!key†is equal to “2145779073†- bspicer 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ