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.

Is there a way to scan for computers that contain a certain folder name?

I'm trying to find a computer in our network and really the only thing I have to go by is a specific folder name. Is there a way to create a report that shows me all the computers that have a folder with the name of "example"? I thought I could create a report and use the filter "File Path Name" contains: %foldername%, but nothing ever shows up.

0

Comments

8 comments
Date Votes
  • The only way to scan for (and report on ) a folder is if you scan for a file or files within that folder. Are you expecting the folder to be empty or will there be files inside?

    0
  •  

    Basically what I'm trying to do is find someone's old PC that has been redistributed somewhere in my network. My predecessor didn't believe in keeping notes. So, I figured if I could do a search for a folder with the users name, as every user has their own profile name on a PC, I might be able to find the PC in question. So, it would either be a folder in C:\Documents and Settings\%Username% or C:\Users\%Username%

     

    0
  • I know we spoke on the phone but I wanted to add this here in case others find it useful.

    In this case, create a Scan Profile which contains a Files Scanner. The file to look for is NTUSER.DAT. This is a hidden file which exists in every Windows Profile directory. After you scan computers create a Collection or a Report which contains the filter against the profile name you want. Below is the new Scan Profile I created. It looks in both C:\Users and C:\Documents and Settings for the file NTUSER.DAT.

    ScanForProfileFolder.png

    0
  • @Shane Corellian I need help in creating a collection of computers where the file was found.

    0
  • After you have scanned computers with your new or modified scan profile you can apply filters in your collections or reports using the File filter. The image below shows a collection which will only contain computers that have a file called Ops Manual.pdf in at least one Desktop folder under the Users directory. 

    0
  • Best money I spent all year!

    0
  • Thanks, Erik.

    I just realized that the image I originally uploaded contained the default filter of Computer Name Contains <blank>. I corrected the image. That filter itself wouldn't cause a problem but it is unnecessary so I removed it from the example.

    0
  • How can this be pulled off for C:\Windows.old?

    0