I try to mention the situations and issues that I face in my daily life to ensure the knowledge is spread in fixing real time issues. I was in a situation where I had to turn on Remote Management from CLI. My colleague turned off the Remote Management and he lost the remote session while troubleshooting and there was no one to turn it ON at user's end. Fortunately, we use BOMGAR (remote support tool) and it is capable of running commands on user's machine even Remote Management is turned off. So in order to turn Remote Management On, I ran the following commands in the Command Line of BOMGAR:
cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources
and then:
sudo ./kickstart -activate -configure -access -on -privs -all -restart -agent
and you are done. The Mac will be ready and you can take remote session again. You can run this command directly on the Mac to enable 'Remote Management'.
Comments