KACE Product Support Question

How can I find a folder on all PCs

10/09/2015 1111 views
I need to be able to run a report in Dell KACE to identify PCs that contain a certain folder. I tried creating a Software entry for the Folder Name using the FileExists path, but it is not returning any items.
1 Comment   [ + ] Show comment


  • The Secure Folder is in the user's My Documents folder. This may impact the format of the ShellCommandTextReturn format.

All Answers

Create a Custom Inventory Item:
Go to Inventory > Software > Choose Action > New
Fill the CIR field: ShellCommandTextReturn(cmd /c dir c:\strange_folder /s)
This fills the Custom Inventory with results which are not boolean.
If your CIR consists of boolean results (like FileExitst, which is always true or false) they are not added to the custom inventory and cannot be queried.
Then you can create a report about this CIR.

In your case you have a software item which is true on all machines which has the software installed.
If you click to it you see on the bottom which systems have it.

Answered 10/10/2015 by: Nico_K
Red Belt

  • I am somewhat new to this. Please verify that I am doing this correctly:

    I created an inventory item named Secure Folder and put this in the CIR: ShellCommandTextReturn(cmd /c dir c:\Secure Folder/s)

    I then created a report with the following filter:

    Custom Item Secure Folder is NOT NULL

    Report does not return any results.

    Please advise. Thanks

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ