Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed OS X 10.8.x on my Mac. An annoying thing I've discovered is that, whenever I restart the computer, it closes all the windows I have open in Finder. This is extremely annoying as I often have a large number of windows open to help me keep track of what I've been working on that day and need to back up. I check the "Reopen windows when logging back in" on the restart command but, as far as I can tell, it just reopens my applications, which isn't really what I'm looking for.

share|improve this question
Worked in 10.7? – Undo Jun 2 '13 at 23:15
In System Preferences -> General, is there an option "Close windows when quitting an application"? What's it set to? That option is there on 10.9, but not sure about 10.8. I'm guessing you had it set to the wrong value. Note: system preferences will apply to all apps (that support the feature), while the posted answer will apply only to Finder. This means the setting will override the system wide setting just for the Finder app. – Abhi Beckert May 19 '14 at 5:02

Try unchecking System Preferences > General > Close windows when quitting an application. 10.7 restored the state of applications by default but 10.8 doesn't.

This enables restoring state in just Finder:

defaults write NSQuitAlwaysKeepsWindows -bool true
killall Finder
share|improve this answer
Thanks, but I'm not sure how to implement the second part of your answer. I assume it's some sort of coding language. Where would I enter it into the system? – third_aardvark Jun 3 '13 at 13:38
Just paste it to Terminal. You can find bundle identifiers of other applications with something like osascript -e 'id of app "Safari"'. – user495470 Jun 3 '13 at 14:39
OK, thanks. It worked like a charm. – third_aardvark Jun 4 '13 at 22:28
@third_aardvark if this answered your question please click the checkmark underneath the vote up/down arrows next to the answer to indicate that it solved your problem. For more information on how Ask Different and the StackExchange Q&A format works please see our FAQ. – Ian C. Jul 27 '14 at 21:06
Well, it clearly works after uncheck "Close windows when quitting an application" in General Preference Panel. Although, isn't it a Bug or Product design flaw since everybody want all windows reopen after check the "Reopen windows when logging back in" when hitting the restart button? I gotta tell you man, this issue has bother me for quite long time, and finally figure out the right query for Google and got the answer. – Albert Mar 26 '15 at 17:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.