I have a work computer, and every time I turn it on and log in, hot corners are enabled where when I move my mouse to a corner inadvertently, it locks my screen. This happens all the time in the middle of my work.
Every time, this annoys me, and I go into System Preferences and set all the hot corners options to none. But, the next day or whenever I restart my computer, they come back! I am wondering if anyone knows how to permanently disable them so I don't need to manually disable them every time I restart my work MacBook.
Is there a terminal command or something I can set to stop Hot Corners settings from resetting back on constantly? I'm guessing my company has defaults that they apply that override the settings on restart.
Best Answer
Unfortunately the
defaults write
method does not seem to be reliable anymore.The most reliable way I've found to do this is with AppleScript.
The downside is that it can take 15-30 seconds to run, during which time you should not do anything else with your keyboard or mouse.
The good news is that you should be able to save the AppleScript below as an app (call it something like "Disable HotCorners.app") and then go to System Preferences » Users & Groups » Login Items and then click the "+" and set "Disable HotCorners.app" to run at login.
Note: the AppleScript below is merely my modification of the answer given here.