Forum Discussion
Change Enterprise Gateway Spooler folder location to different drive
- 7 years ago
Hi Anonymous
Based on my research, it's not able to change the location after installation.
I'd suggest you raising it to support team for further advice:
https://powerbi.microsoft.com/en-us/support/
- 6 years ago
FYI - if anyone comes across this, in the install director, this file:
Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config
has this setting configuration:
<setting name="SpoolerDirectory" serializeAs="String">
<value>%LOCALAPPDATA%\Microsoft\On-premises data gateway\Spooler</value>
</setting>
Hi Anonymous ,
Go to the installation folder of the On-premise Data Gateway. Look for the file Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config. Make a backup first, just in case.
Edit this file in Notepad, look for this part:
<setting name="SpoolerDirectory" serializeAs="String">
<value>%LOCALAPPDATA%\Microsoft\On-premises data gateway\Spooler</value>
</setting>
Change the value to your preferred folder location. For example:
<setting name="SpoolerDirectory" serializeAs="String">
<value>G:\Program Files\On-premises data gateway\Spooler</value>
</setting>
Open the On-premise Gateway app, then restart the service for this change to take effect.
I made this change as I want the spooler process to be on a SSD drive. But this can also helps if you are running low on disk space in your current spooler drive. You may switch the spooler folder to a bigger disk drive.
Hope this helps.
Regards,
Max
Hi Max,
Thanks for the information on the SpoolerDirectory change in the config. So I made the change but don't see any files being generated in the new directory on the E drive, do certain accounts have to have rights to writing files to the drive?
Thanks,
Renu