Zend certified PHP/Magento developer

Windows 11 %USERNAME% still truncated

I understand that some find this problem negligible, but it really bothers me. I have not known this phenomenon before either.

It’s about the problem known to some that since Windows 10(?) Microsoft simply truncates the usernames at directory level to 5 characters – God knows why?

If I follow the following trick to correct Windows’ truncated usernames, everything works beautifully. https://www.elevenforum.com/t/change-name-of-user-profile-folder-in-windows-11.2133/

“juerg” has become “juergen” again. That is my name and that is what I want to be called on my own computer.

But unfortunately echo %USERNAME% on the CMD command line still returns “juerg” instead of “juergen”.

I’ve gone through the registry twice, but I can’t find a clue anymore.

Where has Windows still stored the wrong name?