Step1:
First uninstall all the JCE components/plugins using the Joomla 2.5 Extension Manager/Manage (filter for "JCE").

Step2:
Go into the SQL database and delete the j25_wf_profiles table

Step3:
Install JCE