Skip navigation

Is there a way to turn off the Resume feature of Lion using ARD?

1045 Views 6 Replies Latest reply: Nov 17, 2012 6:24 AM by Ginnyy RSS
twirlingelephants Level 1 Level 1 (30 points)
Currently Being Moderated
Oct 8, 2012 8:34 AM

I have a computer lab with 35 Macs running Lion. There are 2 student accounts on each computer, each of which is shared by about 12-15 students. The Resume feature is becoming very difficult to deal with because students are constantly seeing files open that do not belong to them. Short of going around and opening System Preferences 70 times to uncheck one box, is there a way to send out a command using ARD? Any advice gratefully accepted. Thanks in advance.

Too many Macs to enumerate here
  • Kappy Level 10 Level 10 (221,010 points)

    Dealing With The Resume Feature of Lion

     

    Managing Mac OS X Lion's application resume feature.

     

    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.

     

    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:

     

    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:

     

    chflags nohidden ~/Library

     

    Press RETURN. Quit the Terminal application.

     

    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.

     

    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.

     

    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

     

    Perhaps something above will be helpful.

  • Kappy Level 10 Level 10 (221,010 points)

    Open General preferences and check the box to Close windows when quitting an application. I do not know how you would do that through ARD as I am not familiar with it. It may be possible using Applescript.

  • nojohnny101 Calculating status...

    hey

          i did this to about 15 computers that i manage.....

     

    here is the terminal command you should be able to send through unix:

     

    defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false

     

    the only way that i have found is on a per app basis....so you'll have to change the above code and insert the application name for each one you want to do......not ideal but better than nothing....

     

    let us know!

     

    peace will

  • Ginnyy Level 1 Level 1 (0 points)

    I found an app that turns on or off some of Mt. Lion's features.  Others seemed to like it.  I like it.  Sent the developer some $$.  There is a feature that says "Disable resume for a single app."  Default is "No."  I'm not sure if this is exactly what you are looking for, but it might be worth trying.  I didn't even know what "resume" meant, and when I looked it up, I found this thread.  I guess "resume" doesn't bother me, or I would have been frantically looking for a way to change it.  Seems Apple keeps ADDING things to their newest OS that I keep wanting to get rid of.  I wish they would give us the option of adding rather than their doing it.  I get the impression that so many of these additions slow down the computer.  I have an old 9500 with the older, less sophisticated OS, and it goes a lot faster for most of what I want to do.  But maybe that's because I have simple requirements.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.