WIN10. How to disable delay caused by defender smart screen or consentui processes reading huge installers?

OS: Win 10 Pro 1903. Problem: When opening huge installers, the ‘defender smart screen’ or ‘consentui’ processes are reading the whole file, which is slow for multy-gigabyte installers. I want to find an option to leave defender and consentui enabled, but disable file hash calculation (which I believe is causing slowdown) and scanning of huge…

Details