From what I know, however, changing the name of a folder in the “C:/Users” directory is impossible or will create many broken links with things that lead to that.
Do I have to create a different user with the appropriate folder name and copy everything from the previous user folder to the new one, unless there is a better way?
If the error is coming from the root user, your best bet is most likely to use a different user to accomplish the task. I am unaware of a workaround for this, but another community member may have one.