/build/static/layout/Breadcrumb_cap_w.png

Run Now Scripting and Unconnected Machines

Good morning, 

I have created a Smart Label that does the following:

-Identifies a piece of software is installed that we are removing

-Filters out any machines that haven't checked in for 2 weeks.

-Filters out any Macs


We have 21 machines that KACE has identified with these requirements.


I have a script created that removes the piece of software we want to get rid of.  I go to "Run Now," tell it to run against that Smart Label, and execute the script.

Kace then proceeds to push it to 3 machines.  When I check those 3 machines, all 3 are offline.  If I push the script again, it pushes to the same 3 machines, and ignores the other 18.

Why is Kace ignoring the 18 machines that are actually connected, while pushing to the 3 that aren't?  Is there a way I can change this behavior?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: AbhayR 5 years ago
Red Belt
0

What K1 version is this? It should only push to the devices under deploy configuration of the script. Check if the deploy is restricted by OS.


Comments:
  • Server version is 90270.

    The script is a Sophos Uninstall script.
    It is targeted to the following Operating Systems:
    Windows Server x64 (2019 Datacenter, 2019 Std)
    Windows 10 x64, x86
    Server 2016
    Windows 8.1 x64
    Server 2012 R2 (all)
    Server 2012 (all)
    Windows 7 (all)
    Server 2008 R2 (all)

    I also have a Label set on the Script:
    *Devices-All-SophosInstalled

    This is a device smart label that adds devices with the following characteristics:

    Software Titles contains Sophos
    Label Names != *Devices-All-DoNotDelete
    Last Inventory, Seconds Since < 86401
    Name does not match REGEX MacOS|Mac OS
    Device Connected is True

    The *Devices-All-DoNotDelete is a manual label we created for machines no longer checking in, but due to the importance of the individuals they were assigned to, they are kept in inventory. This label is to prevent those machines from being included in deployment-type situations.

    Since I added the Device Connected is True logic, I've had fewer problems, but is this really necessary, or is there another way to get the script to target online machines first? I notice that I may have 20 online machines out of 25 that are identified in that *Devices-All-SophosInstalled label, but when I go to run the script, it will choose to run the script on the 5 machines that are NOT online, and ignore the 20 that are.


    The other question I have is-- since the script is already targeting Windows machines in that *Sophos-Installed group, do I need to specify that label again when I run the script from the "Run Now" screen, or can I just run as is to all devices? - covitops 5 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ