Skip to main content
Question

Access Denied to Clients on Apple Remote Desktop

  • August 21, 2015
  • 9 replies
  • 53 views

Forum|alt.badge.img+3

After adding all of my clients to the JSS, I now receive the "access denied" message for these same clients in Apple Remote Desktop. Any ideas?

9 replies

davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • August 21, 2015

The only restriction that can be automatically applied after enrollment is SSH. This is an option you select when creating quickadd packages, imaging configurations or using recon.

If ARD access is being changed when the Mac enrols, there is likely a script, policy or config profile that is changing it.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • August 21, 2015

Is there a script that can change it back? :-)


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • August 21, 2015

You can use these two commands to set it how you need it:

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -access -on -users username -privs -all

Just replace username with the short name of the user that should have access.


Forum|alt.badge.img+14
  • Contributor
  • August 21, 2015

@christinehunt1

Try this

#!/bin/sh

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -users ACCOUNTUSERNAMEHERE -access -on -privs -all -restart
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsers -restart

edit:

@davidacland beat me to it


Forum|alt.badge.img+33
  • Hall of Fame
  • August 21, 2015

You can also have Apple Remote Desktop provide the needed kickstart commands:

https://derflounder.wordpress.com/2013/03/07/using-apple-remote-desktop-admin-to-help-script-ard-kickstart-options/


Forum|alt.badge.img+10
  • Contributor
  • August 21, 2015

the enrolled system probably had their Screen Sharing service reconfigured to comply with whatever has been set for use with Casper Remote, and took out anything previously set for Remote Management.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • August 24, 2015

Thanks for the scripts. Do I run both of them?


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • August 24, 2015

Just one or the other should do it.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • August 24, 2015

Thanks. I'll give it a whirl.