3

Despite un-checking the "Reopen windows when logging back in" checkbox when turning off the computer, applications reopen sometimes at the next start-up. Furthermore, this happens also when I quit all the applications manualy before, which is strange. This issue occurs in Mountain Lion (10.8, 10.8.1 and 10.8.2), never actually happend to me in Lion. Maybe it's worth noting that this is not a clean install, but an upgrade from Lion.

Is there any solution how to prevent this (maybe from the Terminal)?

3
  • 1
    Which apps are doing this? Is it the same apps each time?
    – bneely
    Commented Dec 13, 2012 at 22:33
  • Usually it is most (or all) of the apps I had running (and eventually manually quit) a moment before I turned off the computer.
    – peterm
    Commented Dec 13, 2012 at 23:44
  • 1
    I have this same issue and have yet to find an answer. It almost seems that I need to quit the apps and wait a couple minutes and then shutdown. If I shutdown too fast after quitting the apps they then will reopen on next startup. I would love to find an answer to this as well.
    – user55077
    Commented Aug 14, 2013 at 11:10

2 Answers 2

2

Here are a few places to check:

  • "Under the hood" locations:

    • Be careful when working with the plist files in the folders listed below. Some of them may be full programs, others may be "helper apps".
    • Don't touch any plist files for programs you use that may have "behind-the-scenes" assets.
    • If the plist filename is ambiguous, you can look inside the plist files for the name of the application. If there are remnants from old programs you have uninstalled or were before upgrade, move the file(s) in question to your desktop one folder at a time (/Library/StartupItems), then reboot.
    • If your system works as expected (meaning nothing catastrophic happens and the program you were trying to kill is gone), throw the plist files on your desktop away, then proceed to the next folder and repeat the process.
    • When working with files in the Library folders, you may need to authenticate deletes as an administrator.

    • /Library/StartupItems

    • ~/Library/StartupItems (if it exists)
    • /Library/LaunchDaemons
    • /Library/LaunchAgents
    • ~/Library/LaunchAgents (if it exists)
  • System Preferences: Take a look at Users & Groups in your System Preferences and click on the Login Items button at the top of the window. Check if any programs that automatically load after reboot are on the list and set to run at login.

While there may be other ways to clean house, including formatting your hard dive and a fresh install of Mountain Lion (Check out Lion Diskmaker for a thumb drive installer for 10.8), these will give you a good start.

Happy cleaning!

4
  • I walked through the steps above, just to make sure I was referencing the proper procedures. I found old BlackBerry helper program plist files that were at least four years (and three cell phones!) old. Commented Dec 14, 2012 at 0:57
  • 1
    Thanks for an exhaustive answer and I sort-of already tried this some time ago, but it didn't seem to help. Problem is that the issue happens like once in 2 or 3 months and it's always just the applications I had open just before I turned off my computer. I already tried many crazy things like always checking and unchecking the checkbox when turning off the computer,but after 3 months of doing it it happend again just yesterday.
    – peterm
    Commented Dec 14, 2012 at 8:45
  • so " ~ " means/refers to the System folder, huh? having the same problem, not sure I want to upgrade the whole OS, here, and I managed to figure that out
    – user107422
    Commented Jan 5, 2015 at 16:05
  • it's shorthand for [macHD]/Users/[yourname]/
    – Tetsujin
    Commented Jan 5, 2015 at 16:13
-1

Go to apple - shutdown and untick the box that says "reopen windows when logging back in".

1
  • OP has already mentioned that they have done this.
    – grg
    Commented Feb 5, 2014 at 16:32

You must log in to answer this question.

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