How can I mass clean the Patches dir with a GPO?
How can I delete all of the contents of the c:\ProgramData\Dell\KACE\patches dir with a GPO over night on machines that won't be rebooted or logged off and on again?
We had to migrate to a new OVF and we're getting error (Handshake Failed) when deploying patches. Cleaning the patches directory seems to correct this. We have 200 servers I need to patch tomorrow and Friday, but we also have 1500 clients that need patches. We'll need to deploy something to correct this on all machines, but many rarely reboot. Plenty still aren't even logged off of. i.e. Medical research...
Thanks for any help or suggestions.
Please log in to answer
Posted by: rockhead44 4 years ago
Posted by: murbot 4 years ago
Thanks for the suggestions.
After migrating to the new server and restoring backups, I would get error (Handshake Failed) when trying to detect only. The patch download wasn't running either. Or rather it ran and reported completion in less than a minute. I called shenanigans.
After cleaning the patches directory on a handful of machines, I was able to run a detection. After the detection completed on those machines, I re-ran the download and it did its thing for a while and completed successfully.
I let things settle for a few more hours and ran a detect successfully late last night and a detect and deploy successfully early this morning.
I suspect it may have been fine if I had waited a few hours for the clients and server to settle and catch up with things. It seemed like the patch download needed a good detection to run first and that couldn't happen until the patches dir was cleaned, but it didn't require every single client's patches dir to be cleaned.