I've got a distribution package that executes a .BAT file that calls a .REG to delete 5 registry keys. If I manually merge the .reg it works fine, manually calling the .bat file works fine (both as the logged on user, as well as using PSEXEC to run a command as the system account), but when i deploy the package via LANdesk (Push delivery method) the package deploys, says it completes successfully, but doesnt delete the reg keys. If i go to the cached package folder in SDMCACHE and try the .bat and .reg from there, they work fine. Am i missing something? LD support pointed me to http://community.landesk.com/support/docs/DOC-2417 and http://community.landesk.com/support/docs/DOC-2900 but I dont see anything in there that I'm missing.
We don't currently record the registry into inventory, so I can't use a custom definition either. Has anyone found any reall really reliable ways to delete reg keys via distribution packages? It seems like it shouldn't be that hard.