This question already has an answer here:
Over a year ago I bought a second hand MacBook Pro on ebay. Unfortunately the original owner did not reinstall the operating system and in fact it came together with Photoshop and Microsoft Office.
My problem is that I am unable to update certain apps (e.g. iPhoto and iMovie), strangely enough I managed to update from Yosemite to El Capitan.
I tried to format and reinstall the operating system, as many forums suggest doing, however when opening the App Store I still get a prompt to login with the previous owner's email address and I am unable to proceed. Also it's strange that despite reinstalling the OS, I still have pre-installed Photoshop and Office.
I would prefer not having to contact the owner asking for his password.
What can be done? Did I do something wrong during the OS reinstall (considering Photoshop and Office are still on it)?