Notification

Icon
Error

Searching Specific File - Get File information under specific folder

Posted: Saturday, May 30, 2020 2:27:18 AM(UTC)
cbraafhart

cbraafhart

Member Original PosterPosts: 2
0
Like
Dear Forums,

I am currently trying to search and find a specific file under a specific folder.

I have created a search query under Scanning - Data Selection - File and Registry Scanning that should look under the Appdata folder. I am currently trying to query all details regarding zoom, when the installer file has been created/modified.

i have tried the following combinations

%AppData%\Zoom\Uninstall\Installer.exe but also C:\Users\%Username%\AppData\Roaming\Zoom\Uninstall\Installer.exe without any type of success. they both give me a False result.

I have also tried with the following:
%SystemDrive%\Users\%username%\AppData\Roaming\Zoom\uninstall\installer.exe but with no luck.

But when i use an actual user path as it is within the result for example: C:\Users\lansweeper\AppData\Roaming\Zoom\Uninstall\Installer.exe i get a result with the correct date created and modified.

Does anyone know any tips or tricks without having to create specific file paths for every single user in my AD?
mzipperer
#1mzipperer Member Posts: 19  
posted: 6/5/2020 4:23:29 PM(UTC)
I'm having the same issue please let me know if you found a work around
KrisNelson
#2KrisNelson Member Posts: 45  
posted: 6/9/2020 10:18:30 PM(UTC)
This likely isn't going to be possible due to the fact that %appdata% will return with c:\users\<lansweers scanning account>\appdata\ which likely doesn't exist and certainly isn't the folder/file you really want to scan.

You would need to either hard code it or find a way to write the current username variable into a system one. You could do it with a startup script, but if that's a acceptable solution than it would just be better to use a startup script to write the file information to a registry key and then scan that. That way you get the information your looking for without a user needing to be logged on at the time of a scan.

-Kris

Active Discussions

Lansweeper Help Desk Workflow
by  lswanson   Go to last post Go to first unread
Last post: Yesterday at 11:12:21 PM(UTC)
Lansweeper Changing to remote scanning due to COVID
by  FrankSc  
Go to last post Go to first unread
Last post: Yesterday at 9:35:26 PM(UTC)
Lansweeper Not giving hackers the Domain Admin password / account
by  FrankSc   Go to last post Go to first unread
Last post: Yesterday at 9:27:13 PM(UTC)
Lansweeper LsAgent failing - Lansweeper SSL Expired
by  lansweeper25t34  
Go to last post Go to first unread
Last post: Yesterday at 8:33:28 PM(UTC)
Lansweeper Is there a chance to get the firewall off via Lansweeper?
by  EDV_OHZ   Go to last post Go to first unread
Last post: Yesterday at 4:57:26 PM(UTC)
Lansweeper Merge Asset button
by  KeithBecker  
Go to last post Go to first unread
Last post: 8/5/2020 9:27:54 PM(UTC)
Lansweeper Merge Two Assets or Update Based on Serial Number
by  KeithBecker   Go to last post Go to first unread
Last post: 8/5/2020 9:25:16 PM(UTC)
Lansweeper Hyper-V guest assets
by  bgstein  
Go to last post Go to first unread
Last post: 8/5/2020 5:50:24 PM(UTC)