How can I set "Anyone may request permission to control screen"

NealIV
Contributor

Remote login is on and remote management is also on, but I do not know how to script in Computer settings and set "Anyone may request permission to control screen" and also "Show Remote Management status". I need this so when I go to control users machines it will ask for permission.

Thanks

1 ACCEPTED SOLUTION

rtrouton
Release Candidate Programs Tester

Anytime I get stuck on a particular ARD configuration, I use the Create Client Installer... option in ARD to create a package with the specific configuration I want to use. Next, I take the package that ARD creates, open it up in Pacifist and then look at the postflight_kickstart_entries file. In the latest Pacifist, you would open the package, click the Resources tab, then go to (Package Name): RemoteDesktopClient.pkg: Scripts: Tools: postflight_kickstart_entries. That file contains the kickstart flags for that particular configuration.

View solution in original post

4 REPLIES 4

mm2270
Legendary Contributor III

Are you referring to the ARD agent settings? If so, start by looking at the help page for the kickstart utility. There's a lot that can be configured via scripts. Run this in Terminal-

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

Apple also has a page here describing some of the options. Its old, but still applies since ARD hasn't been updated past version 3.x:

http://support.apple.com/kb/HT2370

nessts
Valued Contributor II

kickstart -configure -clientopts -setreqperm -reqperm yes

rtrouton
Release Candidate Programs Tester

Anytime I get stuck on a particular ARD configuration, I use the Create Client Installer... option in ARD to create a package with the specific configuration I want to use. Next, I take the package that ARD creates, open it up in Pacifist and then look at the postflight_kickstart_entries file. In the latest Pacifist, you would open the package, click the Resources tab, then go to (Package Name): RemoteDesktopClient.pkg: Scripts: Tools: postflight_kickstart_entries. That file contains the kickstart flags for that particular configuration.

NealIV
Contributor

Never used Pacifist, but it is awesome.

Thanks!