Genetec 5.9.4 Installation Error -2147219695 / PDQ Error 32: The process cannot access the file because it is being used by another process.
Hey guys. In the middle of a pretty large project here. We're upgrading our Genetec security camera software from 5.5 to 5.9.4, and have already shut down the previous server and have the new server up and running with the latest version. Prior to this, I tested out the silent install on 4 computers and all went great after a few adjustments.
Yesterday at 5PM we made the switch and I pushed the deployment to the 75 computers in our domain that have this software, and as soon as the source files were copied over to the target PCs, they immediately began failing. So far I'm a few hours into this and it seems like I'm getting nowhere.
When the installation actually begins, it fails with "Setup.exe returned error code -2147219695"
Checking the log, I get:
ERROR 32 (0x00000020) Deleting Source Directory C:\WINDOWS\AdminArsenal\PDQDeployRunner\service-2\exec\
The process cannot access the file because it is being used by another process.
I am at a complete loss here, is it saying it cannot delete the source directory because it is actively being used? I have not run into this error before. I checked a previous post listed here:
I checked the target machines and verified that both my account and our PDQ Service Account are set up with "Log on as a service" rights in the local security policy.
Currently the package is set up as such:
I have also verified that no other existing Genetec processes are running on the target machines as well. Has anyone else run into this issue previously or have an idea of what I may be doing wrong?
Here is also an example of silent install parameters from Genetec. Language, ISInstallDir, and logs are all optional, so I have them left out on purpose.
A copy of a slightly-outdated (but all of the silent install instructions are the same) user manual is located here, page 107 for relevant instructions:
Comments
I did another deployment on a previous PC that worked and made a mistake that resulted in a failure, but I checked the logs and it showed the same ERROR 32 as these failures, even though it was an Error 1603.
I did a bit more digging on error code -2147219695 and found that it is:
"Software updates deployment not active yet i.e. start time is in future"
https://sccmgeekblog.wordpress.com/2017/07/07/sccm-error-codes/
¯\_(ツ)_/¯ back to the drawing board
Further testing seems that the issue is with a previous version of Genetec on the PCs not uninstalling correctly. Manually going through the uninstall of the previous version is resulting in these errors:
Once I've progressed through these errors and rebooted the PC, the silent install goes through successfully.
The silent uninstall command will stall on this sequence, which is a shame. Seems like I'll be spending the next 2 days remoting into workstations to uninstall this!
Final post here, none of this really had anything to do with PDQ at all. Hopefully someone in the future who is having a Genetec-specific issue may run into this and be helped by my trials.
Uninstalling the previous version of Genetec (5.5) was unnecessary, and my deployment of uninstallers caused all of the problems. The new version is able to silently install right over the old version. Uninstalls it and everything. Welp, luckily I let everyone know this would be a two-day upgrade.