I am trying to use remote desktop to send a script to all Macs on my network that creates an additional admin account and hides it. I am trying to do this using Apple Remote Desktop. However most of these macs have remote management disabled.

How do I do I turn this on? Each Mac already has an admin account. Does that help? Can I do this through remote login (ssh)? But most of these macs also have that disabled. Thanks for the help in advance.

  • Think about what you're asking - to be able to remote into another machine without admin permission, in order to add new functionality & admin accounts. Any OS that would allow that wouldn't be one I'd be using.
    – Tetsujin
    Commented Aug 25, 2015 at 16:19
  • @Tetsujin thanks for your reply...we do have an admin account on there so if I were to go to everyone's computer I could do the whole process manually without needing to get into their account. But of course I'd like a better way than to go to everyone's computer to enable a feature. What do you think would be the best course of action? Commented Aug 25, 2015 at 16:32
  • I thought that was the whole purpose of having OS X Server installed on a machine.
    – bret7600
    Commented Aug 25, 2015 at 18:56
  • @bret7600 are you saying that I should have OS X Server set up and somehow have ARD setup and through the Server never let them turn it off, or? something else? Commented Aug 25, 2015 at 19:21
  • @youngandcrazy that's what i think, Yes.
    – bret7600
    Commented Aug 25, 2015 at 19:48

1 Answer 1

  1. ssh adminusername@ip_address

  2. sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate

  • not sure why this was -1'd, but it might help, I haven't tried yet. I guess it would require manual GUI use? I found that remote management doesn't seem to be able to rely on groups, unlike remote login, which can use group=Administrators. I want to make sure a new admin user can also remotely manage. Commented Dec 7, 2016 at 20:39
  • Warning: macos 10.14 and later only allows control if Screen Sharing is enabled through System Preferences. Commented Mar 10 at 9:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .