Cannot generate Visual Studio Project Files

When I tried to generate project files it gives me

“UnrealBuildTool Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users[Folder Name]\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml”

I know the problem is because [Folder Name] uses special characters because BuildConfiguration.xml is in there if I browse it in my windows explorer.

Is there any solution to this ?? Other than renaming my user folder of course…
Because I don’t really want to mess with registry and stuff