My Unreal Engine crashes when I bake, anyone know how to fix it?

I open a default file, then I bake and it crashes. How do I fix it?

LoginId:5dfb2c4f40defe7601e02bb0f4b04f0b
EpicAccountId:aa33bddc154546d9976300d4eb49e115

Fatal error: [File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1063] Could not create the shader compiler transfer file ‘C:/Users/UnrealShaderWorkingDir/7B0292FF40384CAD5EBB118C96DAC632/098A322154D4B62AA17DFDF9A617788C5’.

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_Engine!FShaderCompileThreadRunnable::WriteNewTasks() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\shadercompiler\shadercompiler.cpp:1065]
UE4Editor_Engine!FShaderCompileThreadRunnable::CompilingLoop() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\shadercompiler\shadercompiler.cpp:1322]
UE4Editor_Engine!FShaderCompileThreadRunnableBase::Run() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\shadercompiler\shadercompiler.cpp:865]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

I installed and uninstalled Epic launcher, Unreal engine, I updated all my windows and graphics card. I am on windows 7 service pack 1. Help

How much RAM do you have? Most of the time if it crashes when building lighting it’s due to lack of enough RAM.

its 32gb total and as of now with the a blank file opened I am idling at 11.6gb and 2% cpu. I just rendered again and it crashed. It ticked up to 11.7gb ram usage. Any other suggestions. The error mentions a SHADER problem.