File Inventory for Shortcuts
I add a scan to our Standard (default) profile that looks for a shortcut on End Users desktops. The shortcut is Vision.lnk The scan works perfect and finds the files when I look at machines individual inventory. When I attempt to create a collection using that shortcut I get different results.
This is my query I'm using to get all machines that don't have the shortcut
This is the list of machines in the collection
But if i open the inventory on most of the machines I see that the shortcut was found on that machine
Is it because it's a shortcut that it's not responding as I'm expecting or am I doing something wrong?
Comments
What your collection is doing is finding computers with files not named Vision.lnk. They can still have that shortcut, but the collection will look for anything else without that name. You're going to need more filters. For example, if they have an application installed but do not have a shortcut set up for it, you'll want to add a filter for Application Name before you look for computers that do not have that shortcut.
The following might give you better results:
Application > Name > Contains (or equals) > NameofApplication
File > Name > Does not equal > ApplicationShortcut.lnk
That does make sense, maybe a does not exist filter would work. Issue is its only a website shortcut so there is no application.
Hm... in that case, see if adding a filter for file path helps?
It would be something like File > Path > (comparison condition) > C:\Users\*\Desktop\ to hit any user's desktop on the target machine.
Switching the Filter to "Not All" and the Comparison to "Equals" should work.
That worked Perfectly! Thank you