YES - We have to do this too from time to time - fortunately not too often..
But rather more frequently, then I would like.
Our Labs currently run OS X 10.8.5
On the occasion when kickstart is required, there are three reasonably equivalent methods that can be used.
1: Run Script through ARD, but then have to 'Abort' command after a reasonable delay
-- because connection is lost.
2: Use SSH, and run a local script, that already in place for this task.
3: Use SSH, and just paste in the following script.
(note you need to replace: YourAdminAccountName, with the one that you actually use to manage the machines
The following ARD kickstart command should be all on one line:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users YourAdminAccountName -privs -all -restart -agent -menu
There are other, similar, but subtly different versions of that script.
But in general that's what I usually use.
Differences for example, if you want for instance to enable two different accounts for ARD, and not just one.
-- Regards
So for @Sean_Ginn, I'd suggest running a variation of @PeterClarke's command via Self Service.
Then the teacher can run the command AD-hoc
YES - That should work too…
The difference there is that the End-User, can run the command..
Where as I was thinking about the system admin running it remotely..
But both trigger sources are equally valid..
Maybe update Apple Remote Desktop Admin to 3.7.2 and then reach out to the network group to see if they're killing ARD related traffic?
http://support.apple.com/kb/ht2370
Maybe update Apple Remote Desktop Admin to 3.7.2
@donmontalvo Took care of this the moment it launched hah. It's been a better experience, but some machines still show up as offline even though you can still take control and observe.
That's why I was thinking about running the kickstart command as a shell script from the JSS, which could SSH into those machines run as admin, and it wouldn't be concerned whether or not ARD shows the machines are offline. I am a very capable ACMT, and a neophyte script writer.
But here is what I have so far... Let me know what you think?
#!/bin/sh
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
In most shops we add an alias to the kickstart command to make it easier to find (since they frown upon editing /etc/paths or /etc/paths.d/ stuff). Moot if you're setting up a Self Service policy, but FWIW...
sudo ln -s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart /usr/local/bin/kickstart
Just curious, did you check with the network team to see if they're flagging and shutting down ARD traffic?
Hi Sean_Ginn
Should work as long as it's ALREADY configured in Sharing Setup.
- if not it won't work..
(Whereas a more complete command would also switch it on if it was switched off)
Best option is to TEST - and see what actually happens.
-- Then you know what works and what does not...
I've aimed for maximum reliability, under all different combinations of issues.
- which is why my suggested command contained what are sometimes redundant elements
- the issue being that they are not always redundant !