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.
1 Comment
[ + ] Show comment
-
You could also try a script in KACE to purge that directory and set it to run during the night with the option to "Also run once at next device checkin" in case the PC is offline at the time. - DaveMT 7 years ago
Answers (2)
Please log in to answer
Posted by:
rockhead44
7 years ago
Posted by:
murbot
7 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.
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.