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

Comments

8 comments

  • Shane Corellian

    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
    Comment actions Permalink
  • Andrew Berryman

     

    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
    Comment actions Permalink
  • Shane Corellian

    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
    Comment actions Permalink
  • Erik Curtis

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

    0
    Comment actions Permalink
  • Shane Corellian

    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
    Comment actions Permalink
  • Erik Curtis

    Best money I spent all year!

    0
    Comment actions Permalink
  • Shane Corellian

    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
    Comment actions Permalink
  • Timothy Bryant

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

    0
    Comment actions Permalink

Please sign in to leave a comment.