Problem
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).”
Cause
This is caused by corrupt preference files.
Solution
Select the tab below with your operating system:
- Go to your home folder.
- Go to your User Library folder.
If you are unable to see your User Library folder, please follow this post
- Go to the Preferences folder.
- Delete the “Adobe Photoshop CS5 Settings” (or similar name) folder.(Folder name may differ depending on what version you have)
- 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.
188 Responses to Could not initialize Photoshop because the preferences file was invalid
Leave a Reply



I just had same problem…. works fine now.
Dude!!!! Thank goodness you just saved me a trip to my office lol
thanks you
OMG THANK YOU!!!!!!!!
Thanks man, fixed it
seriously….THANK YOU!!
sorry, I can’t find this folder. What is home folder?
The home folder’s name will usually be your username in lowercase. It contains the folders Documents, Pictures, Movies, Downloads etc. The icon for it is a house.
To find it, open a folder and you should see it on the left sidebar. In my case the folder is called “carl”.
I have attached a screenshot below. Click it to enlarge.

The home folder is highlighted in blue.
Omg ILU XD I didn’t understand what the original poster meant, your awesome Thank you!
Brilliant. Thankyou
Thanks!
tnx a lot it works
Thank you!
And for pc users? I have the same problem…
Have updated the article with a solution for Windows users.
It’s not letting me view the solution for Windows…
Thanks!
very very very Thank u
Thanx a lot
THANK YOU!!!
Thank you!!!!
SOOOOOO thankful!
thanks bro
Holy s***! Tanks, dude! =]
Thanks for windows solution
, It works! (re-installation of photoshop in this case didnt help also )
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)
excellent. this method worked better for me.
Gold, solid gold! Thanks.
Thanx man- you just saved my day..! The first workaround didn´t work for me so I tried your post- and Photoshop works again..!
Great! thank you so much
thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
u help me a lotttttttttttttttttttttttttttttt babyyyyyyyyyyyyyyyyyyyyyyyyyy
aghain thanks
ya Ali
THANKS MAN IT WORKS
Works great now. Thanks
Pro.
uraaaaaaaaaaa thank you!!!!!!!!!!
I did this and still get the same error message, with the additional error message “cant find workspace folder”.
Same here….I did it and still have no actions loading and it won’t let me load any…:(
Thanks so much!!
I did as you said, and it was fixed!!
Thank you very much, friend.
Eternamente agradecido total prooo
Joining the sea of voices with a bunch of solid ‘thank yous’!
Thanks
Thank you very much! very much appreciated.
Yes thank you!!!
LEGEND!!
thanks bro
f*** yeah. that was hella easy. thanks a lot
thanks it totally worked!
Thank you
Thank You Carl N.
That was right on the money!!!! you helped save the day and meet deadlines………!
Thank You………worked great!
Wow I almost freaked out cause re-installling was no used. THANKS
WAY COOL!! Thanks so much. I thought i was going to have to uninstall and reinstall the whole program but this worked.
thanks!!!
You are amazing
Thanks so much!
thanks a lot. happy new year
Thank you so much! What a great fix!
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.
Thanks, it worked for me, too.
Thank you so much!!!!
Worked great. Thank you!
To easy! Thanks for the easy fix.
thank you very much!!! )
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
thanks , solve problem
Hey! I had the same problem but when i checked on the libraries folder i didn’t find any photoshop files or anything… Help?
Thanks so much you saved my presentation
thx bro:) that was so helpful
thx bro thx
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.
thank you!
Nice thanks!!
Thank you so much, it worked!
Thanks a lot!!!!!
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.
Thanks!
It works!!!!!!! Thank youuuuuuuuuuuuuuuu
booya! thx]
THANK YOU!
Thanks, I fixed my daughter’s Photoshop app!
THANKS! LIFE SAVER TIP
Funny! I haven’t had this problem in so long, 12 years, I had completely forgotten about this bug.
Thanks. I really appreciate it.
saved me a re install of photoshop, thank you
OMG Thank you so much it works! I’ve been so annoyed but this saved my life THANK YOU!
thank you!!!!
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.
Thanks
Mark
The instructions on how to reset the preferences are outlined above. Was it the “Adobe Photoshop CS5 Settings” folder that you deleted?
Yes! Thanks…
thanx
THANK YOU SO MUCH!
THX DUDE U R AWESOME !!
Thank you!!!!!
THANK YOU!!!!!!!!!!!!!!!!!!
There are no Adobe or Photoshop files in my preferences folder to delete? What now????
Try these fixes:
Thank you man
Thanks, U make my day, woks fine now !!!
Thank you so much !!!!!!!!!!!!!!!!!!
You Help me a Lot! Great job!!!!!God Bless You!
Thank you !!!!!
Thank you so much!
YOU’RE A *!
Thanks SO much!!!
Thank you so much.. it was driving me insane!!!
Thank you. Google… your page… easy fix. Job done.
I love you
THANK YOU SO MUCH!!!!
I LOVE YOU SO MUCH OMG THANK YOU
THX i love it when I find the solution quickly and when the info is clear!
This is DA BEST.
I am in awe of how simple that was to fix…Thank you!
Liberté, égalité, fraternité ,thanks bro!
Really Helpful.. I got mine working..!! Thanks Chap
Thanks for sharing
fixed the issue
Thank you so much! Works perfectly now!
Muchas Gracias!!!
Thanks.It works <3
Cheers!
Thank You Somuch
Thanks a million
Thank you
Thank you so much !! It’s been one week I’ve been looking for it.
Thanks!
I don’t know you but I love you.
THANKS! You’re the best!!
You saved alot.. Thanks for the good job.
Thanks a LOT bro! WELL DONE!
thx
ooooooooooooooooo Thank you so many much.
thank you sooo much!!!!!!
Great fix it , thanks
OMG THX!!!
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!
A Big Thank You. Had an emergency
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
thank you very much, you saved the day
Thank you so much..
THANKS A LOT FOR THE HELP, FIXED and WORKING
you saved a lot of people
IT WORK FOR ME!!
Awesome thanks
Thanks!
Thank you so much! I would never of considered deleting MORE Photoshop folders in order to solve the problem! Thanks!!!
thank you so much…!
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.
Cheers
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.
Thanx_iT Works
thank u ….it worked
Wunderfull, thank you. It works.
Woow! IT WORKS!
THX A LOT, you are my hero!!!
it worked!
it really worked for my cs6
thanks!!! it worked!
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.
Thanks alott buddy… cheers
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.
thanks a lot!! I finally found the Library folder!
it worked!
THANK YOUU
Thank you dude… awsum..sexy.
God bless you..
Up and running again…
THANK YOU!
oh….. thanks a lot….
Thank you so much friend…………….
Thanks!!! worked for cs6 aswell!
wow…nice 1.. thank you soo much.. works great!
thank u so much..really it is more helpful
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have been messing with this for a couple of days, even tried uninstalling and reinstalling – LIFESAVER
Worked Perfectly Adobe Cloud CS6
Thanks a ton dude
YESSS!!!!
thank you so much.
Thanks … it worked…… in fact… it sped up my photoshop App, didn’t realize how bloated I made it over time… thanks dude
Thanks so MUCH!!!
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 :’>
Thank you, God bless u!
I have CS4 and it didn’t work for me
Thank you so MUCH!!
OMG! Thanks!!! Thanks!!! Thanks!!!
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.
Thanks!!!!!!!!
WOW! Thank you big time!
Thanks & Thanks
Thank you so much! You are a life saver!!
Thank you so very much!!!
thank dude u save my life phewwwww
Gr8 Thank you
OMG!!! THANKU, I had to force quit a file InDesign and my Photoshop started to display this message.
Yes, many thanks. You saved my bacon!
omfg THANKSSS
thanksssssssssssssssssss