So I recently encountered these errors on Photoshop CS6 just this week after working on a few graphics needed for the blog articles of my client’s company website. The errors appeared while Photoshop was loading and it showed the first as “Could not load actions because an unexpected end-of-file was encountered.” It was then followed by another error: “Could not initialize Photoshop because the preferences file was invalid (it has been deleted).”
I scoured via Google on the correct fix on this and it somewhat took me a whole to try out their solutions which were all in vain. I then finally found a correct fix after checking on the link that one forum user posted on a thread in the Adobe Forums site. The posted article fix said that the errors were caused by corrupt preference files. He then followed that part with a post no how to fix for Mac and Windows OS. I am sharing below the Windows OS solution steps.
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.
Note that this also works for version Photoshop CS6 and after trying the fix, my Photoshop CS6 is now loading normal like a fresh install. Easy peasy.
Here is the link for the reference post.