Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Change Enterprise Gateway Spooler folder location to different drive

Hi,

 

Is there any ways that I could change the default Spooler location for Enterprise Gateway? The default location after installation is at C:\Users\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway\Spooler

 

I wish to change this location path to another SSD drive to speed up the Enterprise Gateway data refresh but could not find where. I tried to reinstall the Gateway to the SSD drive but the spooler location does not change.

 

Any advise?

 

Thanks.

2 ACCEPTED SOLUTIONS
v-diye-msft
Community Support
Community Support

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/

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

PowerDAX
Resolver III
Resolver III

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>

powerdax.com

View solution in original post

10 REPLIES 10
PowerDAX
Resolver III
Resolver III

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>

powerdax.com
Anonymous
Not applicable

Does this require to create new directory manually at new SSD locat

Anonymous
Not applicable

Thanks man. It works and I managed to change the spooler location to my SSD drive.

 

Regards,

Max

Anonymous
Not applicable

Did you create spooler directory manually at new location?

Anonymous
Not applicable

Hi, @Anonymous I am facing a similar issue as this what changes did you make that helped you out of this disk full error? Thanks a lot.

Anonymous
Not applicable

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

Hi,

We are having an issue like this, in our case the disk keeps running out of space.
Waht was the impact on your proces when chaning this setting? Also, is there a safe way/ automatic way to clean-up this folder?

 

 

v-diye-msft
Community Support
Community Support

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/

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Thanks for the reply.

But seriously, the spooler location should have been made configurable. Imagine this, most old setup would have their storage in HDD, but when SSD starts to get affordable or the data starts to grow larger, the spooler operation has to run in SSD to maximize its load potential.

Will raise this to support team and hope they would consider this as important in their near future release.

Thanks again

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.