I have a script that essentially does a prompt asking the user if they want to power off their machine. If they don't do anything, it will auto-power off after 5 minutes. A simple batch file - nothing fancy. We use this for winter breaks, holiday weeks, etc., since we have over 4,000 desktops in our environment and we want to save power.

However, today I noticed all of my VM servers with the KACE agent on them were down. They are Server 2003 and Server 2008 R2 VM's. The script is only set to deploy to select OS - XP, Windows 7. Server isn't selected on them, yet they went down. It shows them under the "successful", so it pushed the script out to them when it shouldn't have.

KACE shows the OS correctly. Any ideas?


OS Name: Microsoft Windows Server 2008 R2 Standard x64
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



Is your script checking the OS, or do you have smart labels checking it?

Answered 12/27/2012 by: dugullett
Red Belt

  • I told it to deploy to labels - which are basically subnets (10.17.X.X is a label, say "Franklin School). I tell it to deploy to Franklin School, which is any machine on 10.17.X.X IP scheme. However, the script is supposed to only run on XP SP3, Windows 7 Pro x86, and Windows 7 Pro x64. But it seems to have run on the Windows Server VM's as well.

    Am I doing this wrong? I thought that regardless of what label I deploy it to, the script should follow the OS restrictions.
    • I would think that would work, but never tested it. I have smart labels for my servers to avoid something like that. Sorry I couldn't be more help.
Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja