How do I stop OSX Lion from reopen windows after logging in?

Please advise.  This is aggrevating me.  Everytime I shut down my computer, I have to uncheck the box that states, Reopen windows after logging in.  I don't want to do this everytime I shut my computer down.  If I don't completely log out of every single application, when I start my computer and log-in, the programs I was using before I shut-down all come back up and sometimes this freezes my computer and I have to force shut down.  Any suggestions would be great.  Thank you.

It is one of the over 250 new features of the World's Most Advanced Operating System called Resume.
When choosing Restart, Sleep or Shutdown there is a checkbox you can uncheck to prevent the apps from launching.
Also in System Preferences > General there is a hard-to-find checkbox under "Number of recent items" you can turn off.
If you want to turn it off on a per app basis, (TextEdit is by example, replace TextEdit with the name of the app)
Launch Terminal and copy/paste this at the prompt...
defaults write com.apple.TextEdit NSQuitAlwaysKeepsWindows -bool false
Press return.
To turn off Resume globally...
chflags uchg ~/Library/"Saved Application State"
Press return
The reverse of the first one is to replace false with true.
The reverse of the second one is
chflags nouchg ~/Library/"Saved Application State"

Similar Messages

  • How do I stop Quicktime player from auto-launching after I've exported a movie from iMovie 10?

    How do I stop Quicktime player from auto-launching after I've exported a movie from iMovie 10?
    It's really annoying for Quicktime player to auto-lauch!

    It may not be that simple David. They're using a "server" and some of the Apache software may want to launch QuickTime at boot.
    This isn't really a QuickTime question. It's a sever question best answered in those Discussion pages.

  • How do you stop Mountain Lion from making endless copies and backups of everything?!

    I already have a similar topic on this when I needed to figure out how to stop Mountain Lion from making endless copies of my text edit files and I was going to try the disabling of it that someone in that thread suggested, but I can't find where the Versions backups are being stored.
    Anyway, tonight I cam across a new problem, when I went into "about this Mac" and looked at my Storage, I had almost 1gb of data in the "backups" section. I just happened to have Finder open when I went into the Time Machine in the status bar and when it entered Time Machine, I had dozens of copies of my desktop. Thing is, I don't have my Time Machine hard drive connected and I don't have a Time Capsule router/hard drive. And don't give me this garbage about how "It's not real backups, it's just a snapshot" or whatever, because the ONLY things that I have stored on my computer that I have altered since I got mountain lion is two Text Edit files and the Finder Desktop (and yes, I have checked almost all the programs I use, and of the things that Time Machine will open in, those are the only things that have backups listed that I can access) and almost 1gb is being taken up completely needlessly with the computer backing up things onto itself. Obviously these are more than just snapshots and are obviously the real files because after throwing EVERYTHING on my desktop into a file, that file is only 3.8mb in size, so that almost 1GB in backups is coming from SOMEWHERE.
    The solution I aluded to in my first sentence also depends on going into the Terminal to make each individual app stop auto saving Versions, however, since my desktop is being backed up, there's no program to stop Mountain Lion from doing that.
    Can anyone help me figure out how to make it stop backing up? Seriously, almost 1 gb is being totally wasted on a series of desktop items that are 3.8mb in size, one Text Edit file that is 250kb in size, and another text edit file that is 41kb in size. What person in Apple would possibly have thought this endless backing up of files onto the main hard drive would have been a good idea? So in a year if I did nothing but go on the internet, save one picture to one file on my desktop and did nothing else with my computer, would I have 200 gb of desktop backups that the computer saved onto itself? Are you kidding me? OR failing that, can anyone tell me how to find this damned backup file and delete it? I'm not an idiot, I know how to plug in a hard drive or flash drive and backup my information, I don't need my computer to be making hundreds of copies of every single file on my computer that I change slightly onto itself that not only needlessly eats up it's own space, but if the hard drive died, all those "backups" would be gone too because it wrote the backups to itself.
    I am so frustrated by this totally ridiculous and wasteful "feature" they put in, it does nothing but waste hard drive space with it's hundreds of copies of everything you alter slightly. And I am absolutely not starting any video editing projects until I figure out how to turn this off. If around 4mb of total text and desktop backups add up to almost 1gb in a few weeks, what the heck is a video editing project going to end up in with size? Am I the only one completely flustered by this ridiculousness? Is there any point in writing into Apple to complain or are they just going to say "No, we're brilliant, we think this is an amazing feature so you just have to deal iwth it and when your hardd drive fills up, too bad, jerk!"?? Help! Thanks!

    Well as I pointed out in my post, "Sadly, my Text Edit documents are still all there, every single time I opened them and made a small change, there is another copy stretching all the way back to the day I installed Mountain Lion." so if you can explain to me how July 26 - Aug 16 is a week, I will concede that it is a good idea. Short of that, no I have been capable of making my own backups since I was 16 years old (16 years ago) I don't need my computer to endlessly do it for me in a way I am completely unable to shut off. That's what I have external hard drives, flash drives, a DVD burner, Drop Box, E-mail (as in emailing copies to myself) and icloud for. If I am doing something and I don't have access to a single one of those options, I don't know why I brought my computer with me in the first place. And I don't see how you can say it's an illusory gain in disk space, hundreds of copies of text documents, garageband files, Final Cut files, Motion Files and basically any program that makes files onto my comptuer that I can myself make incremental changes to, those all need to be stored somehow. Again, if you can explain to me how July 26 - Aug 16 is a week, I will agree with you that that is a good thing because IF it only saved for a week, it wouldn't be an issue. Sadly, no matter how many links you post, I still have text edit backups stretching from today back to July 26. They're not going away and I have no reason to beleive any other file I edit is going to go away either since they haven't been. They're all there eating up HD space and this imaginary "week" limit is simply not coming into effect. I hate it and there needs to be a simple way to simply shut it off. I didn't spend hundreds of dollars on external drives just for my main hard drive to be filled up with hundreds un useless, undeletable backups of stuff I already have backed up.

  • How can I stop Mountain Lion from writing savedSate?

    Hi everyone,
    I have an SSD (used as the system disk) in my iMac, and after noticing that its lifespan (according to S.M.A.R.T.) has ticked down a bit, I started looking at what's writing to the system disk, using iostat, iotop, and fs_usage.
    What I discovered is that, even though I have Resume turned off (by checking "Close windows when quitting an application"), Mountain Lion is still writing huge amounts of data to the *savedState folders in ~/Library/Saved Application State, for each application I have open. The only difference with Resume turned off is that it removes the *savedState folder for each app when I quit that app.
    Since I use this iMac for work, I typically have quite a few applications open for long periods of time. According to iostat, this is causing over 1 gigabyte of data per hour to be written to savedState. That's 10-12GB in a typical day, not including data I actually write to the drive as I work! Needless to say, this is hammering my SSD and is probably what is decreasing its lifetime.
    I've spent a couple of hours googling this problem, and though I've found lots of ways to turn off Resume both globally and per-application, none of them prevent Mountain Lion from continuing to write all this Resume data to the *savedData folders. Does anyone know how to completely turn off Resume and stop all this unnecessary disk I/O?
    Thanks!

    YOu can get it stop by going to ~/Library/Saved Application State/TextEdit (by example) and delete that file…
    (note that the User Library is hidden - one way to get there is to go to your Finder "Go" menu hold the option key to choose "Library")
    You can also delete all Saved Application State files
    Or use Terminal to turn off Resume globally...
    chflags uchg ~/Library/"Saved Application State"
    Press return
    Or
    defaults write -g ApplePersistence -bool no

  • How do I stop Photoshop CC from exiting immediately after startup?

    Photoshop CC from exits immediately after startup. How do I stop this?

    Hi Ashutosh,
    Thank you for your reply.
    I have Photoshop CC installed on my PC and does not require  signing in. Do I need to install it on the Cloud?
    Regards,
    Francis

  • How can I stop Mountain Lion from auto-connecting to AppleTVs in my network?

    Ever since upgrading to Mountain Lion my MacBook Pro automatically tries to connect to any AppleTV in the network I'm on. This is great for at home, but my office has a few different AppleTVs that are constantly sucking my audio through without any type of direction to do so on my end.
    Thank you for your help.

    I don´t know for a fact, but I guess you can have your firewall block the traffic to and from the AppleTV's. You have to find out which ports to block (see: http://bowersandwilkins.custhelp.com/app/answers/detail/a_id/55/~/firewall-ports -utilised-by-airplay ) and also you will need to have different location profiles for your home and work network.
    Just my two cents.

  • How do I stop OSX from creating ._ thumbnails of network files

    Our macs are networked to Windows servers that hold a large amount of image files. These are updated on a continual basis unfortunately the files can't be saved directly to the server but copied blindly into the folder from our macs. The ._ invisible files on the mac appear in windows, not really a big deal (although I would rather they didn't exist a all) The big problem comes when the folders on the server are opened on the mac, it takes forever for the mac to create the little alias or thumbnail files for each image. How do I stop OSX from doing this.

    You can stop "some" of those pesky ._invible files with this...
    http://docs.info.apple.com/article.html?artnum=301711
    Havent seen a way to stop the annoying icon thing, but possibly you could reduce it a bit by using the Finder Pref... Open New Windows in Column mode.

  • Hi...I have this problem, everytime I want to print something out the mac asks me for the computer password...that is really becoming annoying after. That happened since I upgraded to mountain lion. How can I stop the computer from asking me that?

    Hi...I have this problem, everytime I want to print something out the mac asks me for the computer password...that is really becoming annoying after. That happened since I upgraded to mountain lion. How can I stop the computer from asking me that?

    If you are printing via a Windows shared printer and it is the Windows user account that you are being prompted for then you can save this in the Keychain, as shown below.

  • How do i stop my programs from automatically popping up when i turn on the computer?

    how do i stop my programs from automatically popping up when i turn on the computer?

    When you log out or shut down, there will be a checkbox that asks you if you want to reopen windows when you log in. Just uncheck this box. If that isn't it, you may have login items turned on. Go to System Preferences>Users and Groups and then under your name click the Login Itens tab. Make sure nothing is there.
    If you want to stop windows from restoring when you open applications (so for example when you open Safari it doesn't open the 50 tab page you just had open when you quit) go to SystemPreferences>General and then hit the checkbox that says Close windows when quitting an application.

  • How do I stop the menu from showing up when I hover to the top of a full screen app?

    I am running Parallels in full-screen on Lion and when I move the cursor towards the top of the full screen app the menu pops up. How do I stop the menu from popping up? I keep hitting an icon on the menu bar that pulls it out of full screen mode and it's getting very annoying. Thanks.

    Use VMware Fusion? But seriously, Fusion does what you want. It just puts a mini VM control menu at the top when running full screen (and that's configurable, too), so the main menu bar doesn't appear at all. Which means that it's up to Parallels to handle this. Are you running Parallels 7, which is designed for Lion? If you are and Parallels still doesn't offer something similar, you need to contact Parallels.

  • How do I stop a tool from functioning on my work after I finish using it?

    How do I stop a tool from functioning on my work after I finish using it?

    Switch to another tool?
    I really don't know what you mean by "stop functioning". The Zoom tool will always work when selected.
    Is there a specific example you have in mind?  Give us the exact version of Photoshop you are using, and the version of Mac OSX or Windows.
    A screenshot outlining your problem is best.
    Gene

  • How do i stop my account from opening programs when i log in

    how do i stop my mac from opening my programs (like powerpoint and word) when i log in?

    Normally it's caused the "Reopen windows when loggin back in" option at restart.  Uncheck it on shutdown/restart.

  • Would I be able to upgrade to osx lion from osx tiger?

    would I be able to upgrade to osx Lion from osx Tiger without upgrading to Snow Leopard first?

    According to this info you will need to have the latest version of Snow Leopard installed....
    http://www.apple.com/macosx/how-to-buy/
    ....and it will be a download only....

  • TS2755 How do i stop text messages from going to my ipad I only want them to go to my iphone

    How do I stop text messages from going to my ipad I only want them going to my iphone

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How can I stop the ringer from  showing up on the screen?

    How can I stop the ringer from  showing up on the screen?

    Use VMware Fusion? But seriously, Fusion does what you want. It just puts a mini VM control menu at the top when running full screen (and that's configurable, too), so the main menu bar doesn't appear at all. Which means that it's up to Parallels to handle this. Are you running Parallels 7, which is designed for Lion? If you are and Parallels still doesn't offer something similar, you need to contact Parallels.

Maybe you are looking for

  • Urgent help needed to save aimage in phone memory

    hi, i'm developing one appln in j2me.in that i want to read and save images from and to phone memory.i already tried it with file connection api.File connection api supports only CLDC1.1 most of the mobile supports CLDC1.0 can u tell me a soln for th

  • DUMP via JOB happens but via SE38 doesn't happen

    Hi Experts! I created an ABAP program (SE38 Transaction) and when I execute this program in background (JOB) a dump happens (CONVT_NO_NUMBER) . However, if I execute this same program using SE38 or call the Z transaction, this dump doesn't happen and

  • Fcp to Color workflow

    I have 20 videos that I need to color correct, and am a neophyte in color... My questions are real simple, just trying to buckle down a workflow. I have a sequence in fcp. Do I have to add in all transitions prior to sending to Color (does Color embe

  • Solaris 10 on Compaq ProLiantDL360 G2

    I've visited quite a few threads in this forum & the answer seems to download a disk & rename the folder 2x to 210. However, I'm not sure which disk? ITU or DU? or is it the same thing? Also, the solaris 8 DU for DL360 contains 7 disk program. Is it

  • Delete a friend in GameCenter from your application

    possible to remove the other in GameCenter from your application