Category filter

Script to check if Find My Mac is enabled on Mac

Find My Mac is an Apple service that helps users track or locate their Mac. It’s essential to have this security feature enabled to safeguard any critical corporate/personal data in case the device is lost or stolen. Using Hexnode, you can remotely Execute Custom Scripts to check if ‘Find My Mac’ is set up on your macOS devices.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Check if Find My Mac is set up

The above script will return the output ‘Set’ if ‘Find My Mac’ is enabled and ‘Not Set’ if disabled.


  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository