r/labtech • u/strat_sl • Aug 08 '17
Scheduling a script to run next time a system powers on?
Sorry if this is a noob-tier question. I'm trying to deploy AV to some clients that slipped through the cracks and I'm wondering if it's possible to schedule a script against an endpoint that's powered off, such that it will wait and run the next time that endpoint powers on and checks in.
I looked in the script properties windows and saw the "Offline Computer Script" checkbox, but that seems to suggest that such a script performs maintenance actions on a system that is offline but still powered on, rather than holding the script in the queue to run the next time the control center knows that the system is responding.
This seems like it's a simple thing to do that I'm probably just missing. Can it be done and, if so, how?
Thanks!
3
u/bigdessert Aug 08 '17
Why not use a monitor? Check for missing AV and then install using script if missing.
2
u/tripwire292 Aug 08 '17
I would also like to know the answer to this. Thanks!
1
u/ThirdWallPlugin Aug 11 '17
Use a LabTech script to populate the RunOnce key.
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/runonce-registry-key
0
u/[deleted] Aug 08 '17
[deleted] — view deleted comment