You can specify Compiler, CompilerVersion, ToolchainVersion, WindowsSdkVersion etc. in config file of engine category.
for example:
In the <PROJECT_DIRECTORY>/config/DefaultEngine.ini
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
Compiler=Default
CompilerVersion="Latest"
ToolchainVersion="Latest"
WindowsSdkVersion = "Latest"
just replate “Latest” with any of your preferred version like
CompilerVersion="14.13.26128"