i had this issue as well and even as an admin elevated to security admin I was not able to edit the created by field. Ive asked ServiceNow Support to provide a script as its an easy fix just dont have the rights, unless theres some role in addition to admin needed.