Uninstall Ask Toolbar via Kace silent install
Trying to uninstall Ask Toolbar which is installed on couple of PC's here and using the KACE managed installed option which I am using a command install /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} associating MsiExec.exe for software detail without any luck. Tried executing before logon to prevent the UAC and using scripted unistall without any luck.
Any help would be appreciated.
Answers (7)
OK I just installed it on one of my test machines from toolbar.ask.com
I ran
MsiExec.exe /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn
derived from the registry
It uninstalled without any interaction
I searched windows msi repository and the acutal msi and location is:
hjansari
I saw the screen shot of your wizard try:
Directory: C\windows\system32
File: Msiexec.exe
Parameters: /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn
If that does not work try
Directory: C\windows\system32
File: Msiexec.exe
Parameters: /x c:\windows\installer\85653ca.msi /qn
I got the msi number from looking in that directory for the ask.com authored msi, do not know if it uses the same number on every machine or not
Comments:
-
Will have another go at this. Thanks mate! - hjansari 12 years ago
-
Tried both of this and was unsuccesfull again
Started: 2012/07/19 10:43:10
Finished: 2012/07/19 10:43:22
Elapsed Time: 12 second
Status: 1
Output Log
Running as: SYSTEM
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '166772376' did not succeed: (0)
Activity Log
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '166772376'
Setting registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' equal to '166772376'
Launching program: 'C\windows\system32\Msiexec.exe' '/X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn' wait='true'
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '166772376' - hjansari 12 years ago
you should be using
msiexec /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn
look at the registry on a machine with it installed and under the key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{86D4B82A-ABED-442A-BE86-96357B70F4FE} (if this is correct software guid) and you will see a key "uninstallstring", use what is listed there with the proper silent/quiet switch
Comments:
-
Tried deploying with the above string but couldnt associate with the msiexec to uninstall. Have you been able to complete this? Do you have a screenshoot you can send on how you set this up? - hjansari 12 years ago
Hjansari here is a screenshot in explorer, I just looked for the author "ask.com"
Most software that follows MS's install rules use a msi or msp is placed in c:\windows\installer so you can modify, repair or remove the program or patch. You need to add to columns to your view in explorer (authors and subject) and this makes searching much easier
Comments:
-
To SMAL.tmcc,
Once you have set this up as configuration script, will this apply to different machines or do I have to indentify each msi file for each machine? or should just one msi file do the trick? - hjansari 12 years ago
Comments:
-
Hi Jknox,
What is the path you use for Configuration policy? which msi file do you use? the Windows msiexec or the the one for ask? - hjansari 12 years ago
You might be able to put a "/qn" or "/quiet" in the command string that you have to make it silent.
If UAC continues to be an issue, or the software needs admin rights to uninstall, you might have to switch to an online script and use the "Run As" option to give it a user with the proper rights.
If it shows up in Software Inventory, you should be able to use the Uninstaller Wizard for this as well. (Scripting>Configuration Policy>Uninstaller Wizard)
More information about the uninstaller wizard is found on p.186 in the K1000 Series Admin Guide:
http://www.kace.com/support/resources/~/media/Files/Support/Resources/Documentation/K1000-Admin-Guide-v53.ashx
Comments:
-
Can you run it via command script by deploying it booting up on startup to avoid UAC? - hjansari 12 years ago
-
Hi Jknox,
What is the path you use for Configuration policy? which msi file do you use? the Windows msiexec or the the one for ask? - hjansari 12 years ago
-
Ran via Configuration Policy and result was executed succesfully but still havent had uninstall ask. What am I doing wrong?
Running as: SYSTEM
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '1728644984' did not succeed: (0)
Error creating process: C:\Windows msiexec.exe msiexec /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn /i "f803b.msi" : (2) The system cannot find the file specified.
Activity Log
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '1728644984'
Setting registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' equal to '1728644984'
Launching program: 'C:\Windows' 'msiexec.exe msiexec /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qn /i "f803b.msi" ' wait='true'
Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Kace\KBot Configuration\Uninstall0' value 'key' is equal to '1728644984' - hjansari 12 years ago