Mountain lion still reopen the apps on the last logon

Discussion in 'OS X Mountain Lion (10.8)' started by chercm, Sep 1, 2012.

  1. chercm macrumors member

    Joined:
    Jul 30, 2010
    #1
    the last time it have been disabled on the lion but now it is back again , how to get it disabled .

    please help
     
  2. 53kyle macrumors 65816

    53kyle

    Joined:
    Mar 27, 2012
    Location:
    Sebastopol, CA
    #2
    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
     
  3. chercm thread starter macrumors member

    Joined:
    Jul 30, 2010
    #3
    tried to restart and still the apps are still opening it by themselves
     
  4. 53kyle macrumors 65816

    53kyle

    Joined:
    Mar 27, 2012
    Location:
    Sebastopol, CA
    #4
    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
     
  5. bbfc macrumors 68030

    bbfc

    Joined:
    Oct 22, 2011
    Location:
    Newcastle, England.
    #5
    If you uncheck the box on the restart/shutdown prompt, it will remain unchecked.
     

Share This Page