Dit artikel is gearchiveerd en wordt niet meer bijgewerkt door Apple.

Het commandoregelprogramma kickstart in Apple Remote Desktop gebruiken

Met kickstart kun je Apple Remote Desktop-commando's uitvoeren zonder de externe computer te herstarten.

Gebruik kickstart om de voorkeuren voor Apple Remote Desktop in te stellen. Je kunt bijvoorbeeld onderdelen van Apple Remote Desktop installeren, verwijderen, activeren, configureren en herstarten.

Lees hoe je een externe Mac via schermdeling kunt bedienen met het commandoregelprogramma kickstart in macOS Mojave 10.14 en nieuwer.

Aan de slag

Je vindt het hulpprogramma kickstart in:

/Systeem/Bibliotheek/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

Typ de commando's in dit artikel op één tekstregel. Je hoeft geen rekening te houden met eventuele tekstomloop. Druk pas op de Return-toets wanneer je het volledige commando hebt ingevoerd.

Voor meer informatie over het kickstart-commando gebruik je de vlag -help:

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

Voorbeelden van commando's

De commando's in dit artikel werken met Apple Remote Desktop 3.2 en nieuwer.

Hier vind je de commando's die je kunt gebruiken:

  • Herstart de ARD Agent en helper:

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

  • Schakel extern bureaublad delen in, sta toegang toe voor alle gebruikers en schakel het menu extra in:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -allUsers -privs -all -clientopts -setmenuextra -menuextra yes

  • Schakel extern bureaublad delen in, sta toegang toe voor specifieke gebruikers:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsersYou must use the -configure, -access, and -privs options in a separate command to specify the set of users and their access privileges. For example, this command is for users with the short names "teacher" and “student." It gives them access to observe (but not control) the computer, and to send text messages:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users teacher,student -access -on -privs -ControlObserve -ObserveOnly -TextMessagesUnlike other kickstart options, you can’t combine the allowAccessFor options with other kickstart options. You must use it as in the last two samples above. You might have to call kickstart more than once to finish a computer’s setup.

  • Verwijder toegangsrechten voor specifieke gebruikers ('student' in dit voorbeeld):

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users student -access -off

  • Schakel ARD Agent uit en verwijder toegangsrechten voor alle gebruikers:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off

Publicatiedatum: