Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Change Lion default to NOT reopen windows on start-up

Can I change the Apple Lion deafult to NOT open windows/application on restart/startup? Now, I have to remember to check the box to not reopen. Thanx

MacBook Pro, Mac OS X (10.6.8)

Posted on Mar 26, 2012 2:23 PM

Reply
4 replies

Mar 26, 2012 2:25 PM in response to David Gelfand

Dealing With The Resume Feature of Lion


Managing Mac OS X Lion's application resume feature.


If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.


It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:


If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:


chflags nohidden ~/Library


Press RETURN. Quit the Terminal application.


In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.


Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.


The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

May 7, 2012 9:33 AM in response to Kappy

Hi Kappy,


As always, you give a comprehensive answer, thank you.


If I go through the steps above, will the check box on shut down be UN-checked? I agree that it's annoying to have to remember to uncheck the box upon shutdown. I like to start "from scratch" when I boot up.


BTW, on my machine, the box in the general preferences is un-checked, the one that says Restore Windows when Quitting and Reopening Apps...

Change Lion default to NOT reopen windows on start-up

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.