How do I stop windows from restoring after a reboot?

Discussion in 'Mac OS X Lion (10.7)' started by itsjustmeee, Apr 25, 2012.

  1. itsjustmeee macrumors 6502a

    Dec 28, 2008
    I have occasional issues with my mac pro freezing and I have to do a full reboot. The windows from the previous session keep popping up even though I have the "Restore windows when quitting and re-opening apps" box unchecked in the General Settings. Is there any way to stop my mac from doing this?
  2. Mattie Num Nums macrumors 68030

    Mattie Num Nums

    Mar 5, 2009
    From what I have seen this MCX replaces itself upon login so you will need a login hook to disable it.

    defaults write TALLogoutSavesState -bool false 
    defaults write .GlobalPreferences NSQuitAlwaysKeepsWindows -bool false

Share This Page