Need a batch script to run in terminal - tired of typing in all the time

I would like to be able to just "double click" to deploy a batch file to run in terminal to remove remote management - here is what I'm having to type in: (Running on Macbook Air 2013-2017)


sudo - s

(asks for password, which I can still do - doesn't have to be automated)

/system/library/coreservices/remotemanagement/ardagent.app/contents/resources/kickstart -deactivate -stop


That is all I need it to do.... I don't know any programming at all so this is pretty frustrating for me and my typing isn't perfect ~I truly hope someone can help thank you! : )

Posted on Nov 27, 2024 1:25 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 27, 2024 1:35 PM

Choose Utilities from the Finder's Go menu, open the Script Editor, and paste in:


do shell script "/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop" with administrator privileges


Open the File menu and export it as an application.


(256912)

Similar questions

7 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need a batch script to run in terminal - tired of typing in all the time

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.