You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I disable "reopen windows when logging back in"

This is not the resume facility ... I have turned that off in the general preferences.


This is the message that requires a tick every time I shutdown. How can I change the default?


I do not want loads of apps to load everytime I start. I do not want to have to keep saying this everytime I shutdown. I do want the option to set it to off once and for al!


Any suggestions?


Thanks.

Posted on Jul 21, 2011 2:03 AM

Reply
111 replies

Nov 9, 2011 8:02 AM in response to davidfromgreat yarmouth

No offence intended, David.


Granted, there are still some users that aren't familiar with basic OS/ Finder functions, so indeed your answer helped someone, 🙂 but using spacebar to select/unselect options is not 'a workaround' or 'your idea'.


It's a common function in Finder for manipulating dialogue/ preferences boxes that is widely known and has got nothing to do with the OP's question (disabling the login default not unselecting the pref with the keyboard instead of the mouse).


Welcome, by the way. We are a friendly bunch when you get to know us, but it helps to stick to the question being asked by the OP. 😉

Dec 13, 2011 12:14 PM in response to Folbo

Of course is it possible! But you'll be disableling the save state all together.


Open a Terminal and type:


defaults write com.apple.loginwindow TALLogoutSavesState NO


The "save state" box will still be there and checked. But no programs will be reopened on a shutdown/restart event. Not even if you want them to.


To revert the change type:


defaults write com.apple.loginwindow TALLogoutSavesState YES

Dec 20, 2011 7:26 AM in response to Greg Robinson1

@ Greg: User account only.


@opodder: no, there's long been a hunt for such a command on these forums, but none has been found.


However, you could do what I do, and that's set up a folder called 'Modifications' (or something like that), and simply save a a text file for each mod' you carry out with a short explanation of what it does and how to reverse it. Alternatively, you could just have one long file with every mod, but I prefer to search through lots of short texts using Quickview rather than have one long file (each to their own, eh!).


The beauty of computers: they've got better memories than we have (most of the time).

Dec 22, 2011 1:12 PM in response to dthree

This is what I did and it worked. I got the information from William

" How to stop windows from reopening Reopening in Mac


A much easier way, requires no downloaded software:


1. Close all windows and quit all apps.


2. In Finder, hold down the Option key and click ‘Go’ in the menu bar at the top.


3. Choose ‘Library’ (you have to have the Option key held down to see Library in the menu).


4. Navigate to Library > Preferences > ByHost > com.apple.loginwindow.[xxxxxxxxx].plist


The [xxxxxxxx] represent some interminable string of numbers and letters. Don’t mistake it for the similarly entitled Unix executable file. What you need to check is that its ‘loginwindow’ and ‘.plist’ at the end.


5. When you’re sure you’ve identified the right file, select it and press Cmd-i to show the ‘Get Info’ window. Click the ‘Locked’ option.


6. Now, test that it works. Close the ‘Get info’ window and the finder window. Open up Safari, Preview and a couple of windows. Do a restart and behold — if you followed the instructions correctly — a clean desktop!"

How do I disable "reopen windows when logging back in"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.