Manage scripts are commands that are initiated from the Core server against managed devices. When scheduled from the full console, the commands in the script are remotely executed against the managed devices and status is reported back to the Core server.
1. There are currently 5 Managed Scripts available in the console for deployment: Cache Fix, Policy Sync, Reboot Machines, RemProf with PreReboot, and Shut Down Machines.
a. Cache Fix: Sets a Reg key which, on next startup, clears out SYNC Center Cache Folder
b. Policy Sync: Forces a device’s agent to check in for policy-based software distributions
c. Reboot machines: Forces an immediate reboot of targeted machines
d. RemProf with PreReboot: Reboots machine then, once back up, removes all Windows profiles except Public, Default, Administrator and SOL
e. Shut Down Machines: Forces an immediate shutdown of targeted machines
2. ALWAYS CHECK YOUR TARGETS BEFORE STARTING YOUR TASK! It is very simple to deploy maintenance tasks to unintended machines.
3. Name tasks appropriately. Make sure tasks are named appropriate to what they do. For example: When creating a REMPROF task, recommend labeling the Task as “REMPROF – SCH CART 1” instead of "RP 1", or "1". This helps others identify the task if it needs to be modified/restarted/canceled etc.
4. Managed Script tasks can be scheduled to kick off at different times. This is helpful for doing large batches of devices while minimizing risk of widespread issues.
5. Remove unused tasks from the console. Using tasks as a history of work completed causes unnecessary clutter and overhead on the Core server. Tasks can be re-used without creating duplicates. SoftEng highly recommends checking your console tasks once per week and deleting any unnecessary or out of date tasks.
6. Do not use recurring tasks. Setting tasks to re-run every hour/day is not efficient if you know the machines are not available or are powered off. This can cause serious disruption to Instruction and unnecessary overhead on the Core server. Often, recurring tasks are forgotten and may be left running every hour for months. Instead, work with the school to designate a time to have the target devices powered on and connected. Ask for assistance from school staff to ensure your tasks are successful.