KACE Product Support Question
Trouble with custom inventory rule not identifying desktop shortcut to website
05/26/2017 1282 views
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
Community Chosen Answer
Please log in to answer
You have to specify the file extension such as .lnk or .url and the CIR function is FileExists not FileExist.
Answered 05/26/2017 by: flip1001