In ArcMap, it is possible to configure the temp working directory through a system environment variable ARCTMPDIR.
Is there a similar capability for configuring this windows default temp location for ArcGIS Pro? Ideally, we wish to set this at an application level to override the windows settings.
As far as I know this is not possible, as I haven’t seen anything in the help about this.
However, you can set Windows environment variables local to the pro process tree by launching Pro with a .bat script that sets Windows environment settings before launching Pro with start.
@echo off
set TEMP=C:\TEMP\PROTEMP
if not exist %TEMP% mkdir %TEMP%
start /b (pro exe)
The following enhancement is marked as "In Product Plan", so it is likely that they will allow configuration of the entire "working directory" (currently Documents/ArcGIS) in the future:
#ENH-000105809 [Enhancement] User wants to change the location manually when unpacking the package in ArcGIS Pro.
If you have support, please add your organization to the Enhancement request and include a note about the Temp Folder. I did include in my submission the information about the System Environment Variable and the Registry Setting that could be changed in ArcMap.