Change macOS admin users to standard accounts using HexnodeSolved

Participant
Discussion
2 days ago Nov 23, 2026

I need to convert existing local administrator accounts on our managed Macs into standard user accounts. Is there a way to push this from Hexnode instead of changing each Mac manually? I’m also trying to avoid accidentally affecting the wrong account, so I’d like to know the safest way to test this before rolling it out widely.

Replies (3)

Marked SolutionPending Review
Hexnode Expert
2 days ago Nov 23, 2026
Marked SolutionPending Review

Hi @rob_mitch . For macOS devices, converting existing local administrator accounts into standard user accounts can be handled remotely using the Execute Custom Script action in Hexnode UEM.

Hexnode UEM provides an example script for revoking or granting administrator privileges for macOS user accounts here:

https://www.hexnode.com/mobile-device-management/help/script-to-revoke-give-admin-rights-to-standard-user-in-mac/

Recommended approach:

  1. Review and modify the script based on the local username whose admin privileges must be revoked.
  2. Run the script first on a test Mac.
  3. Confirm that the target account is changed from administrator to standard user.
  4. Once verified, deploy it only to the required production devices or device groups.

Avoid running privilege-changing scripts broadly without testing, especially if your environment depends on a specific local admin or management account.

Regards,
Isabel Lora
Hexnode UEM

Marked SolutionPending Review
Participant
2 days ago Nov 23, 2026
Marked SolutionPending Review

Is this something that should be added to a policy, or should it be run as a one-time action? I only need to change existing accounts that are already admins.

Marked SolutionPending Review
Hexnode Expert
2 days ago Nov 23, 2026
Marked SolutionPending Review

For this use case, use Execute Custom Script as a one-time remote action. It is suitable when you want to change the privilege level of existing local accounts on managed Macs.

If you need this enforced repeatedly for future account changes, you would need to design and test a recurring workflow carefully. The script itself should still be validated on a test device before wider deployment.

Regards,
Isabel Lora
Hexnode UEM

Save