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: 16  
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 Lost Configuration tab (Admin rights)
by  kspap   Go to last post Go to first unread
Last post: Today at 10:30:12 AM(UTC)
Lansweeper Deployment with different user rights
by  Jupiter_IT  
Go to last post Go to first unread
Last post: Today at 9:39:20 AM(UTC)
Lansweeper cisco fuji device not linking with connected devices
by  char   Go to last post Go to first unread
Last post: Yesterday at 9:12:07 AM(UTC)
Lansweeper Microsoft CVE-2020-1425
by  Richard_B  
Go to last post Go to first unread
Last post: 7/3/2020 4:29:41 PM(UTC)
Lansweeper Wake on Lan in VLANs
by  FrankSc   Go to last post Go to first unread
Last post: 7/3/2020 1:56:46 PM(UTC)
Lansweeper Ticket Closed = email to all helpdesk desk agents
by  Laurent Maene  
Go to last post Go to first unread
Last post: 7/3/2020 1:23:49 PM(UTC)
Lansweeper Helpdek Call Re-Opened
by  pryan67   Go to last post Go to first unread
Last post: 7/3/2020 1:12:17 PM(UTC)
Lansweeper Office 365 32bit vs 64bit?
by  brodiemac-too  
Go to last post Go to first unread
Last post: 7/2/2020 10:35:19 PM(UTC)