posted on December 11, 2024

We encountered a situation that required the Laserfiche connector to be removed from a large number of computers. We were not able to find any instructions for doing this and some of the answers that were found on this forum did not work so I wanted to share our solution in case it helps someone in the future.  The following script was ultimately executed using Kbox.

@echo off

#Copy install source to original install location
xcopy /s /h /e /c /k /y \\client\files\Software\LaserFiche\LFConnector-x64 C:\ProgramData\PATH\downloads\67059
#Kill browsers that are running

taskkill /IM msedge.exe
taskkill /IM Firefox.exe
taskkill /IM chrome.exe
#Uninstall all prereq software from original install location
msiexec.exe /x C:\ProgramData\PATH\downloads\67059\CombinedARP-x64.msi /qn
msiexec.exe /x C:\ProgramData\PATH\downloads\67059\CombinedARP.msi /qn
msiexec.exe /x  C:\ProgramData\PATH\downloads\67059\LFConnector-x64.msi /qn
msiexec.exe /x C:\ProgramData\PATH\67059\LFConnector.msi /qn
msiexec.exe /x C:\ProgramData\PATH\downloads\67059\lfwebtools.msi /qn

#Uninstall setup
C:\ProgramData\PATH\67059\SetupLf.exe -silent REMOVE=ALL
exit

2 0