Remove/Reset Login screen message Recently, I wanted to put a message on my Login (not Lock Screen) screen and I did it with the following command:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText &quot;Message&quot;

It took some time to appear for some reason but now I've been trying to remove that message for a while using the same command but leaving the &quot;Message&quot; part like &quot;&quot;, as you can see in the following example:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText &quot;&quot;

Yet, it does not disappear. Still there. How can I force my Mac to remove it?
You can reset a preference using defaults delete:
sudo defaults delete /Library/Preferences/com.apple.loginwindow LoginwindowText