This change doesn’t fix it. You need to amend the Build Tool chain file at
Engine/Source/Programs/UnrealBuildTool/Windows/VCToolChain.cs
Add the line as marked below :
// Disable Microsoft extensions on VS2017+ for improved standards compliance.
if (Compiler >= WindowsCompiler.VisualStudio2017)
{
Arguments.Add("/permissive-");
Arguments.Add("/Zc:twoPhase-"); // <-- ADD THIS LINE
Arguments.Add("/Zc:strictStrings-"); // Have to disable strict const char* semantics due to Windows headers not being compliant.
}
In windows 10 go to all settings → Users → your Account and check to see if your user account has been verified. It will show a little blue link “Verify” After i verified my account i no longer had any permission issues. or 8.1 kit errors.