Why dont scripts deploy to all machines on a smart label?
05/18/2017 1065 views
I have been having some trouble trying to figure this out by myself so I have come here to see if someone can explain why what I am seeing is happening.
We are running Version: 6.4.120756 of Kace with version 6.4.522 of the Agent.
So I have created a smart label that labels all Windows 10 Pro x64 machines on our network. The smart label has 200 computers on it. I can see that about 50 or so are offline currently. The rest are online.
I have an online script that is configured to run on Windows 10 Pro x64 machines only. When I run the online script against the 200 computers, the script only targeted then pushed to 9 computers. That's a tiny fraction of the number it should be deploying to. There is no conceivable way that many computers were on but not signed into by any users, at the time the script was run.
If a Windows 10 Pro x64 computer was online and had a used signed into it at the time the script was run and the online script was configured to run on Windows 10 Pro x64 computers, why would a script not get targeted then pushed to that machine?
I have tried changing the script so it's not so specific about the operating system it can run on, so its just 'Windows' as opposed to 'Windows 10 Pro x64' and it ran on 60 computers that time but still nowhere near as many as it should.
Usually, what I see when a run an online script on a machine that is online but not signed in, it will still be targeted and pushed to that machine but it will fail due to not having a user signed in. But I'm not even seeing that.
If anyone could help me understand what on earth is happening here I would really appreciate it!
Answer Chosen by the Author
Please log in to answer
After talking to my jumpstart trainer about this issue. I think the problem is that at least on my end. I create the smart label and then go run the script against that new label. The problem with smart labels, is that they aren't applied when you make them. They are applied as clients check-in. So it would take x amount of time before your entire inventory has checked in and has that new smart label applied. And that is why it's sporadic, because as things check in the list will grow. I have not verified that was the issue, but it does make sense.
Answered 08/10/2017 by: five.