User folder name not matching Windows account name? - Forum

Forum Navigation
You need to log in to create posts and topics.

User folder name not matching Windows account name?

"Yes, this is what happens if you set up the account using your Microsoft account. Windows uses a truncated first part of your Microsoft account as the basis for the user folder and account name."
.................................
I thought the Windows username would always be exactly the same as the user's folder-name in the Users / AppData section. But Microsoft screwed things up once more...  Does anyone have a fix for this? How to get to the user AppData Local or Roaming section if names do not match?
c:\users\%username%

will not always work....

but I think this is the "path"  I am looking for

%USERPROFILE%

The environmental variable for a users directory in windows is %userprofile% 

Thanks,

If username does not match the user folder name, %userprofile% is the path to it.... but on first use, it reports suspected malware. On second use, it works flawlessly. I wonder how to avoid that bump.