Is there any way of suppressing the alert dialog that pops up when restarting a crashed program in Mountain Lion (10.8.2)? The alert's text reads:

"The last time you opened , it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?"

I want the OS to just open the program without asking me this, since the computer is being used in a kiosk-type application.



3 Answers 3


defaults write com.apple.CrashReporter DialogType none (or the option in Secrets) disables crash report dialogs but not the dialogs shown when reopening crashed applications.

Disabling Resume would remove them though. You can either check "Close windows when quitting an application" in the General preference pane or disable it in individual applications with defaults write -app "Application Name" NSQuitAlwaysKeepsWindows -bool false.

  • And for completeness, for this to work one needs to check the box, open the program in question and immediately close it. On the next re-opening it will work without Resume.
    – trip
    Commented Feb 13, 2013 at 12:27

There is a Preference Pane called Secrets that has an option under "System" called "Crash Dialog". Mine is set to "none" and I never see that dialog. Maybe that will work for you.


  • 1
    Thanks for that, but unfortunately it doesn't solve my problem. While the crash report is indeed suppressed, reopening the program still prompts the dialog box in question. Again, it is not when the application crashes, but when it is reopened, when the issue shows up.
    – trip
    Commented Feb 11, 2013 at 22:14
  • I had the Close windows box checked too already!
    – mkaz
    Commented Feb 12, 2013 at 22:49
  • Heh, thanks for the Secrets Pref Pane though!
    – trip
    Commented Feb 13, 2013 at 12:51

I had similar issue with tastyworks running

defaults write -app /Applications/tastyworks.app NSQuitAlwaysKeepsWindows -bool false

from terminal helped.

and don't forget to restart system

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .