Changing directory of Anaconda

I have installed Anaconda on a previous Windows 10. I installed Windows update and changed user’s name on C: drive to C:UsersJohan while it was C:UsersJohn. I tried to change user’s name method, but still that does not change the user’s name on C:.

I still get the following error:

Fatal error in launcher: Unable to create process using '"c:usersJohnanaconda3envsml36python.exe" "C:UsersJohanAnaconda3envsml36Scriptsjupyter.exe" '

I added Anaconda to environment variables. It seems that there is cach somewhere storing my original user’s name that Anaconda was installed to.

Any solution to this, e.g., changing Anaconda new location or something like this?

Source: Python-3x Questions