This post is over 3 years old and may no longer be up to date or accurate. You are welcome to point out issues by leaving a comment below. Thank you!

Apple provides step-by-step instructions to set a lock message on the login window of your Mac. This spot is very useful to display a company policy or your personal contact details if your laptop is lost.

Example custom message on the log in window

The lock message can also be configured using the terminal, which is very useful for company wide deployments. Simply run the command below with whatever text you would like to set (line breaks are supported):

sudo defaults write /Library/Preferences/ LoginwindowText "This computer is attached to an Apple iCloud account and valuable if lost.\nPlease return by emailing [email protected]."