Need to delete a Folder and subfolder from multiple computers using Kace
I am struggling trying to do a simple folder delete using Kace. I found a support article that looks pretty simple here How to delete a folder using KScript (148142) (quest.com) But this just doesn't work no matter what I do. It reports successful but the folders never actually delete. I tried another script that would run a batch file. The batch file works if I run it manually but it doesn't work when pushing through Kace. I have a couple other batch files that are working so I cloned them and swapped in the new batch file but no success. I also tried pushing with a powershell script. Script work if I run manually but not if I push through Kace. I've spent at least a half day on this so any help would be appreciated.
Sounds like the folder has different permission level, when running under your login it has the permission to run but the setting for the KACE Agent is different. Its possible you could try and mimic the agent permissions with the script, or perhaps change the permissions of the folder (and contents) to resolve.