HexCon is coming to NYC. Grab your tickets before they sell out! REGISTER NOW

Turn off natural scrolling on MacsSolved

Participant
Discussion
1 month ago

Hey there! I’m an IT admin managing a bunch of Macs using Hexnode. We’ve decided to turn off the Natural scrolling option on all our Macs, I carried it out using some terminal commands. The command worked fine on one machine, but when I tried to roll it out to the rest of our fleet using Hexnode’s Execute Custom Script feature, nada. Natural scrolling is still doing its thing. Here’s the script I used:

I’m probably missing something super obvious, but I’ve thought it through and still can’t figure it out. Any ideas? Would really appreciate a hand here!

Replies (4)

Marked SolutionPending Review
Hexnode Expert
1 month ago
Marked SolutionPending Review

Hey @ryker!

No worries, we’ve got you covered. The script you’re using runs at the system (root) level, but to turn off Natural scrolling, it needs to run at the user level. That’s why it’s not working as expected. Try this updated script instead:

Run this through the Execute Custom Script action, and it’ll do exactly what you’re expecting!

Got any more questions? Hit us up anytime!

Cheers,
Ben Clarke
Hexnode UEM

Marked SolutionPending Review
Participant
3 days ago
Marked SolutionPending Review

this is great. natural scrol is worse with the mouse. How to turn this off for all users not just current user? I also have a question .. if the user is not logged in to the mac, will this still work or za it’ll skip that machine .. can it identify the user account to run in script as you identify the logged in user? thank you

Marked SolutionPending Review
Hexnode Expert
3 days ago
Marked SolutionPending Review

Hey @chrisnock ! Great question, my friend! 🙌🏽

Yep, you can turn off natural scrolling for all user accounts on your Mac, even if they’re not logged in. Here’s a script that will handle this for you:

This script not only changes the setting for current user accounts but also ensures that any new accounts created in the future will have Natural scrolling turned off.

Let me know if you have any more questions!

Best regards
Ben Clarke
Hexnode UEM

Marked SolutionPending Review
Participant
1 day ago
Marked SolutionPending Review

thanks ben, appreciate it. let me try this out via script