Can't generate or refresh Visual Studio project files

I can’t generate or refresh Visual Studio project files.

An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/*****/Documents/Unreal Projects/*****/******.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: System.UnauthorizedAccessException: ?p?X 'C:\Program Files\Epic Games\UE_4.15\Engine\Intermediate\ProjectFiles\Timestamp' ?ւ̃A?N?Z?X?????ۂ????܂????B
   ?ꏊ System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   ?ꏊ System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   ?ꏊ System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   ?ꏊ System.IO.File.Create(String path)
   ?ꏊ UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments, FileReference ProjectFile)
Took 0.000746 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K)

The possible reason might be I originally installed Epic Games Launcher version 2.12.26-3356385+++Portal+Release-Live, which had a bug of not associate .uproject file properly.

I tried right-clicking the .uproject file and selecting “generate Visual Studio project files” but it didn’t work.

I need a help.

Thanks.

I’m still having this error and can not generate a Visual Studio sln file either from right clicking .uproject file or from the editor.
I re-installed Unreal Engine 4.15 but nothing has changed.
I can make it with other computers.

Could you please tell me what I should do next?

Seems you have access restriction issue, have you tried to run it with administration permission ?

additionally check if you Epic folder is Read-only access or not ( for the current user), if so then grant write permission too

Thank you for your comment. I have already changed the permission of the folder and nothing solved.
So I tried uninstall Unreal Engine totally, including the Launcher.
Re-installing the Launcher and UE solved the problem! Thank you.