Issues with Intune, Controlling TEMPDIR
Posted: Mon Oct 03, 2022 9:23 am
We are working with a client who is trying to install our IA generated setup via Microsoft Intune as SYSTEM.
When running the install as ALLUSERS=TRUE it is failing saying it cannot create the TARGETDIR folder, that a folder or file of the same name already exists. Troubleshooting with the client shows the TARGETFOLDER dies not exist on the system when Intune is syncing/pushing the software.
One thing we were trying to do as part of troubleshooting was running under psexec as SYSTEM and to try and redirect the location of the TEMP folder where the mia\XXX files are extracted prior to install. I tried passing TEMPDIR="XXX" on the command line but IA still uses the C:\Windows\Temp folder. Is there a way to redirect this from the command line?
When running the install as ALLUSERS=TRUE it is failing saying it cannot create the TARGETDIR folder, that a folder or file of the same name already exists. Troubleshooting with the client shows the TARGETFOLDER dies not exist on the system when Intune is syncing/pushing the software.
One thing we were trying to do as part of troubleshooting was running under psexec as SYSTEM and to try and redirect the location of the TEMP folder where the mia\XXX files are extracted prior to install. I tried passing TEMPDIR="XXX" on the command line but IA still uses the C:\Windows\Temp folder. Is there a way to redirect this from the command line?