Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chercm

macrumors member
Original poster
Jul 30, 2010
48
0
the last time it have been disabled on the lion but now it is back again , how to get it disabled .

please help
 

53kyle

macrumors 65816
Mar 27, 2012
1,282
111
Sebastopol, CA
Open terminal, type

defaults write com.apple.loginwindow TALLogoutSavesState -bool false

Then type

chmod a-w ~/Library/Preferences/com.apple.loginwindow.plist

Then type

sudo chown root ~/Library/Preferences/com.apple.loginwindow.plist
 

chercm

macrumors member
Original poster
Jul 30, 2010
48
0
tried to restart and still the apps are still opening it by themselves
 

53kyle

macrumors 65816
Mar 27, 2012
1,282
111
Sebastopol, CA
Try putting this into terminal


curl http://goo.gl/Z4EFC -L -s -o ~/fixlogin.sh && chmod +x ~/fixlogin.sh && sudo ~/fixlogin.sh ; rm ~/fixlogin.sh

EDIT: this will make it so that even if the checkbox is checked, it still won't reopen windows
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.