Trouble with custom inventory rule not identifying desktop shortcut to website
K1000 v6.4 with Windows 7 x64 clients. Previously had deployed a custom shortcut to C:\Users\Public\Desktop so any user logged in to the system would have this shortcut to a website available to them. Works with no problems.
I'm trying to build a custom inventory rule that will identify if this shortcut file exists and then use the results to pull devices into a smart label. I've setup my CIR rule such as FileExist(C:\Users\Public\Desktop\shortcut name) but when I run an Inventory (against my own system as an example), the CIR does not identify the shortcut.
In Windows Explorer, the shortcut just appears as "Name of shortcut" (no file extension or anything). If I look at the General tab of the file, it does specify .URL as the extension but adding it to my CIR doesn't seem to make a difference.
Looking to see if anyone has had similar issues or maybe has any ideas.
Thank you all
Please log in to answer
Posted by: flip1001 3 years ago
Posted by: dtobias_keenan 3 years ago
I think I answered my own question and it may have to do with a misunderstanding of custom inventory rules. After enabling debugging, I did see the rule being evaluated and returned as True. I assumed, that I would be able to go to one of my devices and verify this in the Custom Inventory Rule section but nothing was showing there.
When I looked at the CIR in the Inventory/Software module, I did see ~50 systems had checked in and inventoried the CIR properly so it may have just been me not understanding where to go to look for the rule.
Thanks everyone for the help!