Silently Uninstall Kofax Products Using Command Shell
Issue
How can the uninstall string be determined to uninstall Kofax products per command shell?
Cause
In some cases, the installation may get corrupted and you're not able to uninstall from Programs & Features.
Solution
To silently uninstall Capture products following actions can be done to get the requested product GUID
Per Powershell:
- Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | Where-Object -FilterScript { $_.GetValue("DisplayName") -like "K*"} | ForEach-Object -Process {$_.GetValue("DisplayName"), $_.GetValue("UninstallString") }
- Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products | Where-Object -FilterScript { $_.GetValue("DisplayName") -like "K*"} | ForEach-Object -Process {$_.GetValue("DisplayName"), $_.GetValue("UninstallString") }
Enter How to here:
As sometimes an uninstall of a Kofax product should run without interaction be needed (silently), you can use certain commands to uninstall without the need of taking manual actions.
These are present in the registry under the following key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"
KC 9.0 (Uninstall): MsiExec.exe /X{92420DF6-EE82-421B-9B7F-8D917C94439F}
KC 10.0 (Uninstall): MsiExec.exe /X{DE9832FB-E23E-4FB8-A88F-B4E35EC2A211}
KC 10.1 (Uninstall): MsiExec.exe /X{60627F32-8FEE-4CF5-A948-16D72CE999E3}
KC 10.1 Standalone (Uninstall): C:\PROGRA~2\Kofax\Capture\ACUnInst.exe /Standalone
KC 10.2 (Uninstall) MsiExec.exe /X{F2BE7D10-EF15-4240-A3E6-624939F37FA4}
KC 11.0 (Uninstall): MsiExec.exe /I{1AE976C1-4883-4814-B0E5-6B92BDDC72E7}
KC 11.0 Server (Uninstall): C:\PROGRA~2\Kofax\CAPTUR~1\ServLib\ACUnInst.exe /Server
KC 11.1 Server (Uninstall): C:\PROGRA~2\Kofax\CAPTUR~1\ServLib\ACUnInst.exe /Server
KTM 5.5 (Uninstall): MsiExec.exe /X{DE9832FB-E23E-4FB8-A88F-B4E35EC2A211}
KTM 6.0 (Uninstall): MsiExec.exe /X{25CD8BF0-DE17-4210-96CA-3232095D9DC1}
KTM 6.1 (Uninstall): MsiExec.exe /X{28A9BB9D-4DFB-4E13-943C-004BFB358B86}
KTM 6.1 Thin Client Server (Uninstall) MsiExec.exe /X{864D4032-493B-4CB3-B8E9-3E923B554D57}
KTM 6.4 (Uninstall): MsiExec.exe /X{F9EF58B6-6102-4CDC-A24C-513DF5295032}
KSMS 6.0 (Uninstall): MsiExec.exe /X{CEEE84A1-6CA8-44FE-B786-C4EC1A47CE26}
KSMS 6.6 (Uninstall): MsiExec.exe /X{9E98188E-6AD3-4AF0-9122-12641AC7CAE0}
KIC 2.4 KC Plugin (Uninstall): MsiExec.exe /X{DB3B8C61-27F5-46CE-B0E9-51E6FF916F85}
KIC 2.4 MC (Uninstall): MsiExec.exe /X{B7DCEEE2-3DF0-45C8-93B6-BA70E3DC5159}
KIC 2.5 KC Plugin (Uninstall): MsiExec.exe /X{4B180FF7-CF90-4D99-AA67-B46C0EA04B25}
KIC 2.5 MC (Uninstall): MsiExec.exe /I{768139A0-A1F5-4E18-ACA7-B838A085A0C0}
KIC 2.6 KC PlugIn (Uninstall): MsiExec.exe /I{7D723D5F-58D4-419A-AD81-B7A9A8C5E8D8}
KIC 2.6 MC (Uninstall): MsiExec.exe /I{FF42A580-EA37-4C83-B237-AFB576E8DF8F}
KIC 2.7 KC PlugIn (Uninstall): MsiExec.exe /I{6B249D44-979F-4F25-B312-30D6E99470FC}
KIC 2.7 MC (Uninstall): MsiExec.exe /I{A30DCD0D-DD7F-4B63-8696-9801F6DD342D}
KIC 2.9 MC (Uninstall): MsiExec.exe /X{0EA13AB5-1CC1-4C64-BA2C-4436EC2DD839}
KIC 2.9 KC PlugIn (Uninstall): MsiExec.exe /X{E079AB89-3BB7-4A03-AE40-CDEC7B21A52B}
KAFC 1.2.1.1 Workflow Agent (Uninstall): MsiExec.exe /I{DAF9CBDC-4984-428B-810B-0358AB0B6DC2}
KAFC 2.1 Workflow Agent (Uninstall): MsiExec.exe /I{DAF9CBDC-4984-428B-810B-0358AB0B6DC2}
VRS 5.1 (Uninstall): MsiExec.exe /X{3722ACB9-61F8-443D-AD1D-56CF64669B49}
VRS 5.2 (Uninstall): MsiExec.exe /X{8C3B9971-87E9-4D91-AF83-54F518590387}
KC Batch Removal Utility (BRU)(Uninstall): MsiExec.exe /I{50F841C1-2A08-4118-AB74-38079D27C935}
KC Report Viewer Components (Uninstall): MsiExec.exe /I{F82C7EE3-3084-4549-8300-F518E2FC583F}
Level of Complexity
High
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax Capture |
11.0 11.1 |
|||
KIC |
2.7 2.8 2.9 |
|||
KTM |
6.3 6.4 |
|||
VRS |
5.1 5.2 |
|||
KAFC |
1.2 2.0 2.1 |
|||
KSMS | 6.6 | |||
Batch Removal Utility | ALL | |||
KC Remort Viewer | ALL |
References
Add any references to other internal or external articles