Please try the latest MAMP PRO 3.1.0 from download site: https://www.mamp.info/en/downloads/
Newer version works under System account so access to C:\Windows\temp\ is available.
Previous versions used Network Service account and access to C:\Windows\temp\ was forbidden.