Replacing the Lightroom Preference File

Also known as trashing the prefs, this is the act of forcing Lightroom to create a clean preference file in the hopes that it fixes whatever strange Lightroom problem you might be having. The preference file is where Lightroom stores all the settings you configure in the Lightroom > Preferences (Mac) or Edit > Preferences (Win) dialog. Along with all those settings Lightroom stores other data such as the location of your catalog file and which catalogs you recently opened among other things.

If Lightroom, or if your entire system, crashes shuts down unexpectedly this preference file can become corrupted, which can lead to problems ranging from more crashing to Lightroom not starting to all manner of odd and unexplainable behaviors. Sometimes a fresh do-over is just what the doctor ordered!

Here’s the basic steps:

  1. Open Lightroom
  2. Go to (Mac) Lightroom > Preferences or (Win) Edit > Preferences, and make a note of all your settings in your head or on paper. You’ll need to reconfigure those later.
  3. Close Lightroom.
  4. Navigate to the preference file (locations listed below) and delete it.
  5. Restart Lightroom and reconfigure preferences.

When you restart Lightroom a fresh clean preference file will automatically be created taking you back to the default settings. Important: Lightroom stores the location of your Lightroom catalogs in the preference file, so when the new preference file is created Lightroom will no longer know where your catalog was located. It will simply look to the default location for catalogs and open the one it finds there or create a new empty catalog, which can be confusing. Make sure you know where your catalog is stored before you trash the preferences by going to (Mac) Lightroom > Catalog Settings or (Win) Edit > Catalog Settings and check the General tab to see its location. If the wrong catalog opens go to File > Open Catalog and navigate to the right one.

catalog_location

Here’s where you will find the preference file on different operating systems:

On Mac, open Finder and navigate to the [ username ] \Library\Preferences folder, drag the com.adobe.Lightroom[VERSION#].plist  to the Trash. If you don’t see the Lightroom plist file then you may be looking in the wrong folder (don’t go to Library/Preferences, go to [ username ] \Library\Preferences).

Note for Lion users: Apple made it harder to find that Library folder. Here’s how to track it down: http://kb2.adobe.com/cps/909/cpsid_90947.html

On Windows Vista and Windows 7, open Windows Explorer and navigate to the Users/[username]/AppData/Roaming/Adobe/Lightroom/Preferences folder, delete the Lightroom [VERSION#] Preferences.agprefs file.

On Windows XP, open Windows Explorer and navigate to the Documents and Settings/[Username ]/Application Data/Adobe/Lightroom/Preferences folder, delete the Lightroom [VERSION#] Preferences.agprefs file.

Note to Windows users: sometimes Windows likes to hide folders from you (for your own protection), so a shortcut to the Preferences folder is to open Lightroom, then go to Edit > Preferences > Presets and click the Show Lightroom Presets Folder button. This will open Windows Explorer to the Lightroom folder (listed in the path above) that holds the Preferences folder.

catalog_location

This entry was posted in LR1, LR2, LR3, LR4, LR4 Beta, Tips, Tutorials and tagged , , , , .

22 Comments

  1. Thomas Winter November 25, 2009 at 11:34 pm #

    This tip really saved my bacon. A power failure corrupted my LR catalog location, and deleting the Preferences file seems to have given me a chance at a fresh start. Many thanks!

    • Rob November 25, 2009 at 11:46 pm #

      Glad to hear it!

  2. Mike June 1, 2010 at 6:20 pm #

    Before I go in and start playing around, I need to know if this will help me with my problem. I just recently upgraded to LR 2.7 from 2.6. All was working fine in 2.6. Now the only image that prints out correctly is one that is set to print at 8×10. If I select 11×14 as my cell size to print, the image prints at 7×9. Same if I select 4×6. Something is stuck some where but as I said would like to know if messing with my preference file will help me>

    • Rob June 1, 2010 at 6:30 pm #

      Well, it won’t hurt and it is free, but in my experience, most printer related problems boil down to the printer driver. Replacing the preferences is a good first step and fixes a lot of odd problems. If it doesn’t solve the problem in this case the next thing I would do is uninstall/reinstall the latest printer driver.

  3. Mike June 1, 2010 at 9:15 pm #

    Thx Rob for replying to me. I tried both and no luck. It prints fine from CS3 so it is LR 2.7. Any other suggestions would be welcomed. It’s almost like it’s stuck on a setting some place. I’m on SP 2. Is it possible that I need to upgrade to SP3 in order for it to work properly?

  4. Mike June 1, 2010 at 9:35 pm #

    I tried all I know and nothings works so I reinstalled 2.6 and it prints fine. Thx for your time.

  5. Kevin M. July 31, 2010 at 6:43 am #

    The tip to find the preference file, since it is hidden in windows, was priceless.
    Thanks

  6. Tana February 10, 2011 at 11:26 pm #

    I was pulling my hair out over this, but thankfully was directed to your instructions here. Whew! Thank you so much!

  7. Juli March 31, 2011 at 7:27 am #

    The LR3 error I was getting was “?:0:Attempt to Compare number string” and could no longer access the Develop module. Deleting the Preferences file fixed it!! The step by step instructions here are GREAT! Thank you!!

  8. Courtney May 30, 2012 at 9:59 pm #

    None of this worked! I found the file, deleted it and it still shuts down – usually when exporting, printing, publishing – but now it’s even shutting down while I am editing… I am using 3.6 version and have even uninstalled and reinstalled the entire program.

    Any other suggestions?

    • Rob Sylvan May 30, 2012 at 10:10 pm #

      Have you tried creating a new catalog, and importing a few test photos into that to see if the problem continues or goes away?

      • Rita Photog June 28, 2013 at 8:18 pm #

        THANK YOU for making THIS suggestion. LR4 was behaving VERY strangely and (upon being directed here) I tried replacing the preferences, which didn’t help. But in the course of doing THAT, I discovered the issue only applied to my newest catalog. Exporting the whole thing into a “new” one has made it shiny again.

        Thank you!!

  9. Arturo January 24, 2013 at 4:32 pm #

    I want to make you a donation. You saved my day!

  10. Mark Stevens January 27, 2013 at 10:09 am #

    Saved my life! Nice work and everything started exporting properly after a Windows 8 upgrade.

  11. Miro Soares February 18, 2013 at 3:43 pm #

    Thank you so much! That is a really clever post! I couldn’t get the info to understand why Lightroom was not showing my virtual copies. In you blog I found it! Thanks man!

  12. Elvis September 4, 2013 at 5:34 pm #

    Thank you Thank you Thank you

  13. Raul September 13, 2013 at 11:45 pm #

    Wao! It was easier than expected and solved my adjustment brush problem immediately. Thank you!!!!!!!!

  14. LittleJ September 18, 2013 at 10:02 pm #

    THANKS!!… you totally saved me!

  15. Francesca April 28, 2014 at 3:56 pm #

    Thanks for this.
    It worked for me running LR5 which would just not open.

  16. soumaya May 1, 2014 at 2:23 pm #

    thank you for getting back to me . i really though it was possible to work on a smart preview file in PS from LR , i just connected the external drive to my computer and proceeded to do what i needed to do . thank you for the work around idea , will keep it close and handy to use when i need it .
    ps : i do have your book , it is awesome ,
    thank you again , now i know where to go for help .

  17. Verne June 15, 2014 at 3:20 pm #

    So many misleading dialogues on the net about this problem. Yours works, thank you!!! On LR5, the preferences also ‘contain’ your registration number and it was a bit frightening when after deleting the file and opening LR5 again, it asked for it. Luckily that is saved somewhere else and it was auto-filled in the process. I had to reenter my name and email and click the Register button but all went smoothly and LR5 reopened…with the Adjustment Brush working correctly.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*