Instead of renaming the folder, with the desired username, then migrate your files.
Would you like the step-by-step for the registry method with screenshots, or help setting up the new user migration instead? how to change c:usersusername in windows 11