How can I change the folder location for QGIS temporary files?
In Settings -> Options -> System of QGIS, you will be able to see the read only current environment variables of your system; precisely the folder where your temporary data are being written (see next image).
You can edit the path of these folders by using the Control Panel of Windows (filtering by env at the browser); see next image.