Has anyone had any success using the step "Search File System" in a kscript task? I found these two questions about it but they weren't any help:



I am trying to search for and delete a file called ReconcileMeeting.db that will be located in C:\Users. Let's assume we don't know the exact path (we do, but to make a long story short, we cannot specify it). I cannot get it to work.

I've tried putting different things in "Drives" like C and C: and C:\ and leaving it blank but nothing works. The script runs successfully but the file is never deleted. I'm not sure what's up. I can delete the file manually so it's not like it's in use or there's permissions issues. 

I tried contacting Kace for help but they escalated to tier 2 and I won't hear back for 48 hours but hoping to get it resolved sooner.

Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



This is a known issue. There is a bug in the agent when action is set to "delete".

We will try to get this fixed in next release.

Answered 09/13/2013 by: AbhayR
Seventh Degree Black Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja