Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

How do you stop OSX from opening previously viewed files in all apps and prevent it from reopening windows on restart?

share|improve this question
up vote 2 down vote accepted

Restoring application state when reopening apps can be disabled in the General preferences.

Disabling Resume when logging out and back in is more difficult. You'll have to resort to hacks like running defaults write TALLogoutSavesState -bool false on login with a LaunchAgent.

share|improve this answer
Restore unchecked but it still opens the windows like MS Word? – TheLearner Mar 26 '12 at 13:19
@TheLearner I don't know about Word, but some other cross-platform apps like Chrome still use their own implementation of restoring state and might have a separate preference for disabling it. – user495470 Mar 27 '12 at 11:47
The option is now called "close windows when quitting an application". – misterben Mar 3 '13 at 13:03

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.