Cant create New C++ project

Every time i try to create a new C++ project i get all kinds of errors and i bring it into visual studio (which i installed through the startup engine) i have theses installed packages

Desktop development with C++ ,
Python development ,
Game development with C++
i have already reinstalled both unreal engine and visual studio multiple times
please help this is the error im consistently getting:


The project could not be compiled. Would you like to open it in Visual Studio?

Running D:/Unreal/Engine/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“D:/Game-Dev/Unreal Projects/MyProject/MyProject.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for MyProject (no existing makefile)
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “D:\Game-Dev\Unreal Projects\MyProject\MyProject.uproject” “D:\Game-Dev\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 9.3599483 seconds
@progress pop
Performing 9 actions (4 in parallel)
[2/9] Resource ModuleVersionResource.rc.inl
[3/9] Resource PCLaunch.rc
ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /nologo /D_WIN64 /l 0x409 /I “D:\Unreal\Engine\UE_4.18\Engine\Source” /DIS_PROGRAM=0 /DUE_EDITOR=1 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CACHE_FREED_OS_ALLOCS=1 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DWITH_XGE_CONTROLLER=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /fo “D:\Unreal\Engine\UE_4.18\Engine\Intermediate\Build\Win64\UE4Editor\Development\ModuleVersionResource.rc.inl.res” “D:\Unreal\Engine\UE_4.18\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl”
ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /nologo /D_WIN64 /l 0x409 /I “D:\Unreal\Engine\UE_4.18\Engine\Source” /DIS_PROGRAM=0 /DUE_EDITOR=1 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CACHE_FREED_OS_ALLOCS=1 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DWITH_XGE_CONTROLLER=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /DORIGINAL_FILE_NAME=“UE4Editor-MyProject.dll” /fo “D:\Unreal\Engine\UE_4.18\Engine\Intermediate\Build\Win64\UE4Editor\Development\MyProject\PCLaunch.rc.res” “D:\Unreal\Engine\UE_4.18\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc”
ERROR: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
ERROR: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
SharedPCH.Engine.cpp
d:\unreal\engine\ue_4.18\engine\source\runtime\core\public\windows\WindowsSystemIncludes.h(27): fatal error C1083: Cannot open include file: ‘intsafe.h’: No such file or directory
ERROR: UBT ERROR: Failed to produce item: D:\Game-Dev\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
Total build time: 17.06 seconds (Local executor: 0.00 seconds)