6 May

Could not initialize Photoshop because the preferences file was invalid


When you open Photoshop on your Mac, you may get the following error:

 “Could not load actions because an unexpected end-of-file was encountered.”

Which is then followed by another error:

“Could not initialize Photoshop because the preferences file was invalid (it has been deleted).”


This is caused by corrupt preference files.


Select the tab below with your operating system:

  1. Go to your home folder.
  2. Go to your User Library folder.
    If you are unable to see your User Library folder, please follow this post
  3. Go to the Preferences folder.
  4. Delete the “Adobe Photoshop CS5 Settings” (or similar name) folder.(Folder name may differ depending on what version you have)
  1. Click the Start button (Windows XP users should then click Run).
  2. Type %appdata% and press Enter.
  3. Open the Adobe folder.
  4. Open the Adobe Photoshop CS5 (or similar name) folder.
  5. Delete the “Adobe Photoshop CS5 Settings” (or similar name) folder.

379 Responses to Could not initialize Photoshop because the preferences file was invalid

  1. I just had same problem…. works fine now.

  2. OMG THANK YOU!!!!!!!!

  3. seriously….THANK YOU!!

  4. sorry, I can’t find this folder. What is home folder?

  5. Thank you!

  6. And for pc users? I have the same problem…

  7. very very very Thank u

    Thanx a lot


  8. THANK YOU!!!

  9. Thank you!!!!

  10. SOOOOOO thankful!

  11. thanks bro

  12. Holy s***! Tanks, dude! =]

  13. Thanks for windows solution :D, It works! (re-installation of photoshop in this case didnt help also )

  14. You need to recreate the preference file. Open Photoshop, hold down Cmd+Alt+Shift, and then click Yes to the prompt “Delete the Adobe Photoshop Settings file? This will delete all of your preference settings and set them to installation presets. (http://forums.techguy.org/digital-photography-imaging/342418-photoshop-preference-files-missing.html)

  15. Great! thank you so much

  16. thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
    u help me a lotttttttttttttttttttttttttttttt babyyyyyyyyyyyyyyyyyyyyyyyyyy
    aghain thanks

    ya Ali


  18. Works great now. Thanks

  19. uraaaaaaaaaaa thank you!!!!!!!!!!

  20. I did this and still get the same error message, with the additional error message “cant find workspace folder”.

  21. Thanks so much!!

  22. I did as you said, and it was fixed!!
    Thank you very much, friend.

  23. Eternamente agradecido total prooo

  24. Joining the sea of voices with a bunch of solid ‘thank yous’!

  25. Thank you very much! very much appreciated.

  26. Yes thank you!!!

  27. LEGEND!!

  28. thanks bro

  29. f*** yeah. that was hella easy. thanks a lot

  30. thanks it totally worked!

  31. Thank You Carl N.

    That was right on the money!!!! you helped save the day and meet deadlines………!

  32. Thank You………worked great!

  33. Wow I almost freaked out cause re-installling was no used. THANKS

  34. WAY COOL!! Thanks so much. I thought i was going to have to uninstall and reinstall the whole program but this worked.

  35. You are amazing

  36. Thanks so much!

  37. thanks a lot. happy new year

  38. Thank you so much! What a great fix!

  39. Monica Kressman January 9, 2012 at 22:54

    thank you, that fixed it with the command alt shift key had to reload photoshop to get it to work but worked the second time.

  40. Thanks, it worked for me, too.

  41. Thank you so much!!!!

  42. Worked great. Thank you!

  43. To easy! Thanks for the easy fix.

  44. thank you very much!!! )

  45. Thank you so much ………………i participated in design contest and just one day left and my Photoshop creating this prob but fixed now ,thanks alot

  46. thanks , solve problem

  47. Hey! I had the same problem but when i checked on the libraries folder i didn’t find any photoshop files or anything… Help?

  48. Thanks so much you saved my presentation

  49. thx bro:) that was so helpful
    thx bro thx

  50. how about if the photoshop says, “Could not initialise Photoshop because of a program error”. plsss

    • Try reinstalling Photoshop. Also, try it on another user account and without any plugins to help isolate the issue.

  51. Nice thanks!!

  52. Thank you so much, it worked!

  53. Thanks a lot!!!!!

  54. Worked fine for me!

    When PS doesn’t find the folder there, it just creates a new one. I think I’ve lost my preferences but that’s no big deal.


  55. It works!!!!!!! Thank youuuuuuuuuuuuuuuu 🙂

  56. THANK YOU!

  57. Thanks, I fixed my daughter’s Photoshop app!


  59. Funny! I haven’t had this problem in so long, 12 years, I had completely forgotten about this bug.

  60. Thanks. I really appreciate it.

  61. saved me a re install of photoshop, thank you

  62. OMG Thank you so much it works! I’ve been so annoyed but this saved my life THANK YOU!

  63. thank you!!!!

  64. Dear help desk – Sorry I resent as checked to notify by email – thanks

    I did what you recommended but no improvement- perhaps this works for most others applications. I am using a fairly new Toshiba laptop that is foolproof for most anything for two years now and I do above and beyond in Photoshop as a professional photographer. I just encountered this tonight when trying to open my Photoshop CS5 64 Bit. It will not open- Even after deleting the preference files as you say- I had two of them. There was no improvement- I also find it funny that others say “go open photoshop and add “named such” new prefrences…? huh? How can you go to Photoshop and open it to add new preferences when you cannot open it to begin with? Like when you are out of gas, Go start your car and drive to the gas station to get more gas?

    Please suggest exactly how to reset these preferences files. I am stuck without being able to open my Phoptoshop CS5 on my Vista Windows now.


    • The instructions on how to reset the preferences are outlined above. Was it the “Adobe Photoshop CS5 Settings” folder that you deleted?

  65. Yes! Thanks…



  68. Thank you!!!!!

  69. appreciative gal ! May 2, 2012 at 03:04

    THANK YOU!!!!!!!!!!!!!!!!!!

  70. There are no Adobe or Photoshop files in my preferences folder to delete? What now????

  71. Thank you man 😉

  72. Thanks, U make my day, woks fine now !!!

  73. Thank you so much !!!!!!!!!!!!!!!!!!
    You Help me a Lot! Great job!!!!!God Bless You!
    Thank you !!!!!

  74. Thank you so much!

  75. YOU’RE A *!
    Thanks SO much!!!

  76. Thank you so much.. it was driving me insane!!!

  77. Thank you. Google… your page… easy fix. Job done.

  78. Jeffery Dahmer June 21, 2012 at 15:08

    I love you



  81. THX i love it when I find the solution quickly and when the info is clear!

  82. This is DA BEST.

  83. I am in awe of how simple that was to fix…Thank you!

  84. Liberté, égalité, fraternité ,thanks bro!

  85. Really Helpful.. I got mine working..!! Thanks Chap

  86. Thanks for sharing 😀 fixed the issue

  87. Thank you so much! Works perfectly now!

  88. Muchas Gracias!!!

  89. Thanks.It works <3

  90. Thank You Somuch

  91. Thanks a million

  92. Thank you

  93. Thank you so much !! It’s been one week I’ve been looking for it.

  94. I don’t know you but I love you.

  95. THANKS! You’re the best!!

  96. You saved alot.. Thanks for the good job.

  97. Thanks a LOT bro! WELL DONE!

  98. gopal kheradiya November 7, 2012 at 06:25


  99. ooooooooooooooooo Thank you so many much.

  100. thank you sooo much!!!!!!

  101. Great fix it , thanks

  102. OMG THX!!!

  103. Tenna Merchent December 7, 2012 at 12:21

    Thank you so much for sharing this, I was afraid to do it, but what did I have to lose as PS6 wasn’t working anyway. Very helpful!

  104. A Big Thank You. Had an emergency

  105. I am getting the message ” ”Could not load actions because an unexpected end-of-file was encountered.” in Adobe photoshop 7.0 . My problem was not solved by deleting ” Adobe Photoshop settings ” . I am getting message arm.dll file was corrupt. Sir , Please help me .

    My mail id : pushparaj_ece@yahoo.com

  106. thank you very much, you saved the day

  107. Thank you so much..

    you saved a lot of people

  109. IT WORK FOR ME!!

  110. Awesome thanks

  111. Thank you so much! I would never of considered deleting MORE Photoshop folders in order to solve the problem! Thanks!!!

  112. sushma chakilela January 4, 2013 at 17:23

    thank you so much…!

  113. I cannot figure out step 3 on Mac. I also typed out what the folder could have been and looked at each one and couldn’t figure out step 4 as well. Thanks for all the help in advanced.


    • Sounds like you are just having some trouble getting to the User Library.

      Another way to access it is, from Finder, click Go (on the top menu), hold Alt and then click on Library.

  114. Thanx_iT Works

  115. thank u ….it worked

  116. Wunderfull, thank you. It works.

  117. Woow! IT WORKS!
    THX A LOT, you are my hero!!!

  118. it really worked for my cs6

  119. thanks!!! it worked!

  120. i deleted my preference folder but my actions are gone all of them :/ am I going to have to re load them??

    • Hi Laura.

      You will have to reload them yes. Due to the deletion of the preference folder this will have removed all preferences of the program. This will include any plug-ins and actions that were priorly available.

      Deleting the preferences has essentially reset the program. Only updates and major modifications should remain unchanged.

  121. Thanks alott buddy… cheers 🙂

  122. Hey!
    I can’t find the User Library folder, when I go to my personal folder i can’t find anything with this name. I have also tried to find the photoshop setting document but i can’t find it! i’M DESESPERATE!!! ARGHHHHH

    • Apple removed the link by default in Lion and later. If you select the finder, click “go” in the top menu and hold the alt/option key to reveal the library link, details in this post. Alternatively follow this post.

      We will make the links more explicit in the article in the future to avoid confusion.

  123. thanks a lot!! I finally found the Library folder!
    it worked!


  125. Thank you dude… awsum..sexy.
    God bless you..

  126. Up and running again…

  127. THANK YOU!

  128. oh….. thanks a lot….

  129. Thank you so much friend…………….

  130. Thanks!!! worked for cs6 aswell!

  131. wow…nice 1.. thank you soo much.. works great!

  132. saravana netadmin olympuspremedia March 21, 2013 at 10:45

    thank u so much..really it is more helpful

  133. THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have been messing with this for a couple of days, even tried uninstalling and reinstalling – LIFESAVER

  134. Thanks a ton dude 🙂

  135. YESSS!!!!
    thank you so much.

  136. Thanks … it worked…… in fact… it sped up my photoshop App, didn’t realize how bloated I made it over time… thanks dude

  137. Thanks so MUCH!!!

  138. Thank You Very Much!!!! ive been finding the solution for about 2 months and no one seems to know!!!! until i get to this forum!!!! thank you very much :’>

  139. Hendry Willy April 5, 2013 at 18:46

    Thank you, God bless u!

  140. I have CS4 and it didn’t work for me

  141. Thank you so MUCH!!

  142. OMG! Thanks!!! Thanks!!! Thanks!!!

  143. It worked like magic, was already thinking of how to how to get a setup for another installation. What can without people and the internet. Thanks a lot.

  144. rodney Mcknight April 25, 2013 at 00:40


  145. WOW! Thank you big time!

  146. Thanks & Thanks 🙂

  147. Thank you so much! You are a life saver!!

  148. Thank you so very much!!!

  149. thank dude u save my life phewwwww

  150. Gr8 Thank you 🙂

  151. OMG!!! THANKU, I had to force quit a file InDesign and my Photoshop started to display this message.

  152. Yes, many thanks. You saved my bacon!

  153. omfg THANKSSS

  154. thanksssssssssssssssssss


  156. Itz really wonderful MAN……….Ton of THANKZZZZZZZZZ…………

  157. Thank you very much!

  158. Thank you!

  159. worked for me! Thank you very much..

  160. Thank you !!! it worked!!!!!!! thank you!!!!

  161. ziad el abbasy June 9, 2013 at 18:38

    omg , i just save my life , thanks buddy 🙂

  162. it really work…im using cs5.1 extended!!!yahoo…

  163. Just wanted to say thank you very much for the advice. It works fine now. You are AWESOME!

  164. thanxxxxxxx A lot

  165. it really work..thank you very much bro….

  166. Thanks a lot!!..=)))

  167. OMGosh! Thank you SO much! I uninstalled and then reinstalled the entire suite, thinking somehow I had accidently deleted something…only to find out from you that it was a corrupted file. THANKS, my sanity has officially been restored. Life can continue as normal.

  168. Thank you!!!!!!

  169. thank you mister!


  171. Thank you!!! You saved my work :*

  172. Thank you!!
    it works for me in window 7

  173. Thanks lot!! buddy… it’s works

  174. Thanx a lot!!!!
    Saved my day! XD

  175. Thank you man, woks like a charm now.

  176. thanks guy

  177. Thank you!

  178. thanks. its working

  179. Thank you so much, you just saved my life!!!

  180. OMG thankyou so much after a month of back and forth with ADOBE and no fix… i should have just googled it…. YOUR AMAZEBALLS… thankyou so much for this post!!!

  181. Andres Cabrera August 28, 2013 at 13:23

    Man! you save my life. THANK U SO VERY MUCH!!!!!!

  182. BOOOO YAAAAAA! Thanks!

  183. thanx a lot!!

  184. I hope that you see this because I just want to say… I love you. Thank you is not enough.

  185. Thank you soooooooooo much!

  186. Thanks! Damn Windows updates…

  187. I am not seeing the preferences file at all in the library and I still get the “preferences file invalid and has been deleted” message every time I try and open you photoshop 6 on my main account. However when I login to the guest account it works fine. But all of my work is on the main account

  188. Thank you so much!!

  189. Extremely thanks for your advice 😉

  190. thanks a ton!

  191. Thank you!!! Waiting for a mac tech to come fix photoshop and I just fixed myself 🙂

  192. Thanks a ton buddy! I was feeling helpless when I could not initialize cs..I was not getting any error message…it was just giving NOT RESPONDING ….on the top….Also, I found AWSCommonUI.dll as a new folder that was created since the time when Photoshop could not initialize. I deleted that and later followed your instructions and……abra…ca…dabra……IT WORKED MAN…..thanks a lot

  193. Thank you very much.
    For PC

    C:\Users\xxxxxxxxxxxxx\AppData\Roaming\Adobe\Adobe Photoshop CS5

  194. Hi, it seems I don’t have a ” Adobe Photoshop CS5 Settings ” file in my preferences folder.. what do I do now ?

  195. AM so greatful, is working now, am rocking it…..!

  196. Thank You So Much!! Simple and clear advice which fixed my problem yay!

  197. YES! This worked for me! Thank you!!!

  198. your AWESOME! This saved me from the screams of my boss! Phew

  199. THANK YOU!

  200. THANK YOU!!! You’re Awesome! :”)

  201. OMG! Thanks so much!

  202. thanku so much..

  203. YAYAY all better now. thanks

  204. COOL~~~ thanks… 😀

  205. Thanks so much!! On a tight schedule for a client 🙂 ppffeeeww!!

  206. Thank you guys! Almost started to freak out, but this solution worked like a charm.

  207. This post is still saving peoples lives:) Thanks!!

  208. Such a easy Fix. THANK YOU!!! I was panicking.

  209. you’re my HERO. Thanks!!

  210. Thank you! Saved my evening…and my sanity! xoxo

  211. Omg!!!! You made my day! I was devastated the whole day because of this problem. Thank you so much! x

  212. Made my day!!!! THANX

  213. thanks!!! you are a lifesaver to us all!

  214. DANKE!!!!!!!!!!!!!!!!!!!!!! after 2 hours of trial & error, I found your suggestion and it worked!

  215. AdrianDeHollow January 13, 2014 at 21:14

    Thanx! saved my a**

  216. YAY! Omg thank you so much! It worked like a charm!!

  217. thanks so much worked very well ..

  218. Thank You! Works great!

  219. Yippeekayee! Thanx a million!!!

  220. This tip absolutely WORKS!!! Thanks for posting! This saves me from re install. Tip if you close your Photoshop don’t use a force quit to close it quickly, be patient and just wait. You sir just save my A$$ from a sure painful re-install and re-configure.

  221. si funciona con solo eso, en mi macbook y pensar que quería volver a instalarlo. Gracias por la solución.

    [if it works with just that, in my macbook and think you wanted to install it. Thanks for the solution.]

  222. Great !!!!

  223. Worked a treat

  224. Thank you so much … U saved me … I was thinking of contacting someone for this problem 😀


  226. Works fine, thanks a lot.

  227. You saved me in a BIG WAY! Thank you so much.

  228. VeravalOnline Incl February 18, 2014 at 10:03

    Its great,, man thanksssssssssssssssssss
    so much thanks,, scared,,,when this thing happen

  229. thnx buddy ….workinggggggggggggggggggggggggggg

  230. Very Thanks

  231. yes, i found it, it’s worked properly …………………………thanks

  232. Your a genius 😀

  233. MANY THANKS :))

  234. Ashutosh Soni April 7, 2014 at 07:31

    bro you are a computer genius guy imean this method work fine with me

  235. Thanks KU

  236. OMG thanks so much !!!!!!

  237. thankssssssssssss

  238. Thanks x a MILLION!

  239. you’re a life saver!
    Thank you!

  240. Thank you, it worked fine on my pc!

  241. Thank you! Thought I’d have to go through the rigmarole of re-installing PS.

  242. Thank you! 🙂 Really!


  244. Big big THANK YOU!!!!!!!!!!!!!!

  245. oh man, thanks a ton. you saved me.

  246. Thanks, mate. You saved me. 😉


  248. Hi,
    I don’t find any file from photoshop in library/preferences. I have from Adobe illustrator, indesign, fireworks, pdfadminsettings. Could you help me?

    Thank you so much


  249. alfredopacino July 18, 2014 at 19:03

    works with PS cs6 too, thanks 🙂

  250. Thank you greatly you saved my life 😀

  251. Great Thanks it helped me

  252. thanks a lot

  253. thanks a lot

  254. pier alessio rizzardi August 11, 2014 at 14:03


  255. Thankssssssssssssss…. 🙂

  256. Thank you very much!!!! The problem had resolved!!!!

  257. I LOVE YOU! thank you so so much!!!!

  258. THX!!!! (from Russia)

  259. Thank you so much man, you saved us

  260. thanks a lot

  261. Thanks Mate.. It worked for me.. !! Cheers

  262. Nice tip Thanks

  263. thank you

  264. Thank you … problem fixed…

  265. Thank you so much for the help, I was very much stuck in reverse!

  266. I Love UUUUUUUU


  267. life saver, thanks

  268. Joshua Sikhamani January 12, 2015 at 09:49

    Brilliant! Thanks a lot… been struggling with this for a few days now.

  269. Thank you

  270. Nandkishor Ghadi January 16, 2015 at 05:58

    its work dude Thank you so much

  271. Boss thank you sooooooooo much… you saved my time and money.

  272. Obrigado!!! me salvou hoje!

  273. thank you soo much

  274. no sweat, no sweat! thank you so much for the fix. i am the latest victim of this error in July2015 hahaha!

  275. thank you! It works!

  276. This is such a perfect solution. Thank you very much.

  277. Omg thankyou

  278. amazing..thanks

  279. Thank you so much… damn IT hasn’t responded and just spent an hour restarting my computer over and over again!

  280. oh thank you for this quick fix! my PS works fine again now =)

  281. just amazing no where i could find the solution u just saved my life 😉 :):) 🙂

  282. WOW! Thank you so much

  283. Thank you million times!

  284. Thank you!! some hair is still left on my head so it’s thanks to you i’m not totally bald

  285. What a lifesaver that was! So fast compared to reinstalling my old CS5 and losing the updates. Look at all the years full of thanks and compliments from other thankful people.

  286. Thank you! Saved me too!

  287. THANK YOU SO MUCH!!!!!!

  288. THANK yooooooooooooooooooooooooooooooooooooooooooooooooooooooooooou!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  289. Merci beaucoup!

  290. YOU ROCK!! IT WORKS!!

  291. thanks a lot

  292. thank you so so much!! it’s now working!

  293. Thank you, it work.

  294. OMG I feel like a broken record but that literally saved me from a mini panic attack. I’m not going to lie… I didn’t believe this post at first so I didn’t delete it, I just moved the file. Can anyone explain what exactly what is in that file and how it gets corrupted? I’m confused how Photoshop works without all those files in that folder minus the corrupted one(s)? Thanks!

  295. God bless you for sharing!

  296. Great, this worked with CS6 as well, thanks a bunch!

  297. sandeep chahal April 14, 2016 at 09:25

    thnx bro..

  298. Thank you so much

  299. funziona; grazie

  300. Ur the best man u safe my life

  301. I almost cried when my CS5 was not working. Thank you so much! It works just as it did before… you’re awesome!

  302. Jerry Montreal June 23, 2016 at 04:47


    thanks a lot! thanks

  303. Thank you!

    Works perfectly well for CS6 Users too.

  304. THIS WORKED FOR ME… I had a 2-part issue. Apparantly my “Actions Palette.psp” file in the Adobe settings was corrupted. It showed 0kb in the file size.

    Deleting the photoshop settings folder worked. I’m on Photoshop CS6, and here is where I found my photoshop settings folder:

    C:\Users\USERNAME\AppData\Roaming\Adobe\Adobe Photoshop CS6


  306. Thank you!!

  307. Thank you so much :)….

  308. Thank you it helped a lot 🙂

  309. Phew – thanks for the lead: I found my preferences folder (running Windows 10 and Photoshop CC5.5). Too chicken to delete it, just renamed it ‘old’. Started just fine

  310. It worked, Thank you! 🙂

  311. Thank you so much! You saved me a lot of stress, I’d been clearing things out on my computer and must have done something, it’s working again now, I really appreciate your helpful instructions!

  312. Click the Start button (Windows XP users should then click Run).
    Type %appdata% and press Enter.
    Open the Adobe folder.
    Open the Adobe Photoshop CS5 (or similar name) folder.
    Delete the “Adobe Photoshop CS5 Settings” (or similar name) folder.

  313. thank you god!

  314. Thank You!!!

  315. Thank you x 1000 for this. I need to function with Photoshop and thought I had lost it altogether

  316. thank you so much! i thought i was done for!

  317. Dude!!!
    saved my life bro

  318. jaydip shukla April 19, 2017 at 22:15

    It worked for me…! Thanks for posting..!

  319. Ferhat YALDIRAN July 14, 2017 at 06:48

    Awesome! Thanks. It works.

  320. Could not load actions because an unexpected end-of-file was encountered ERROR
    Windows users this advice works 100%
    Thanks so much

  321. Thank you!!!

  322. Satyendra Kumar October 5, 2017 at 07:57

    Thanks IT IS WORKING ….

  323. sanket asrudkar October 27, 2017 at 05:19

    Thank you !!!

  324. Wow… It work… Vwry

Leave a Reply