Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Help with Dynamic collection

Ok, so I am trying to make a collection to determine if a software is in use or not on the computer. This software upon logging in and running the first time creates new folders. I have set up a scan profile to determine if there are subfolders present. My question is what would I use for the filter to determine if there is or isn't subfolders present. For example if it's C:\happyadmin\ and if they use the software and it creates a folder with their user ID, what would I assign as the value? I tried \* , \**\, and it didn't appear to work.

1

Comments

3 comments
Date Votes
  • Jason,

    Your files & directories scanner should be configured like this:

    C:\happyadmin\**\

    I also recommend that you add it to your standard scan profile rather than use a new scan profile.

    Are you trying to capture this data in a collection or a report? Could you provide a screenshot of your filters for your report/collection?

    1
  • So the software is Druva. Right now the scan profile appears to work fine because when I look at a computer I can see those directories populated in the files and directories tab. So on my machine for example I see JSOJA            C:\ProgramData\Druva\inSync4\users\.    So the way I have the collection is I have a parent collection of users that have Druva installed, which appears to be working fine. I then have a child collection that has a filter for All > Files and Directories - Path - Contains - C:\ProgramData\Druva\inSync4\users\**\ . Drill down from Parent collection is checked. It is not picking up on anything. Is it the Path  - contains bit that is messing me up?

     

    1
  • Ok, I think I have it figured out. Here are my filters for my test collection:

    ...so I think for your application, I think you would set your filters like:

    All

         Files & Directories > Path > Starts With > %ProgramData%\Druva\inSync4\users\

         Files & Directories > Type > Is > Directory

    I changed C:\ProgramData to use the environmental variable instead, it's just more mobile that way since systems with programdata stored in a different location will still work. Make sure you don't miss the trailing backslash on the path or you will pick up the "user" folder itself.

    1