Created
August 14, 2015 16:45
-
-
Save rtrouton/2e3827ddc795152616a7 to your computer and use it in GitHub Desktop.
Disable "Reopen windows..." on logout, restart or shutdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>TALLogoutSavesState</key> | |
<string>0</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created this file by running the following command in Terminal:
defaults write ~/Desktop/com.apple.loginwindow TALLogoutSavesState -bool false
That created a file named com.apple.loginwindow.plist on my desktop with just the requested setting inside.