unable to create C++project, access to Engine\Intermediate\Build\BuildRules is denied

I copied the UE_4.22 folder to the Program Files\Epic Games directly (Epic Games folder also created by myself manually ). when I am trying to create a c++ project, i got the error: Unable to create directory ‘C:\Program Files\Epic Games\UE_4.22\Engine\Intermediate\Build\BuildRules\UE4Rules.dll’ for intermediate assemblies(Exception: Access to the path ‘C:\Program Files\Epic Games\UE_4.22\Engine\Intermediate\Build\BuildRules’ id denied
But if create general blueprint project, it is all work fine.

If I copy the UE_4.22 folder to D disk, it is also work good with c++ project.
Seems some access right issue with C disk? But can’t figure out what it actually is, someone have any idea? Thanks in advance!

On Windows try going to Virus & Threat protection → Virus & Threat protection Settings → Controlled Folder Access → Turn Off.