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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
vitoriamariabr
Frequent Visitor

On-premises Data Gateway is Creating Junk Folders in the Root of the C-Drive

Hello!
I'm having a recurring problem with On-premises Data Gateway. Every day a cache folder is created in the root of the C-drive and it consumes a lot of my computer's memory, I have to restart it every morning. 

I have installed the latest version of On-premises Data Gateway but the problem continues.
I've seen similar posts but the only one that seems to have worked was to change the path of this cache folder to another place.

Does anyone know how to solve this problem?

 

The gateway is writing data to C:\Windows\ServiceProfiles\PBIEgwService\AppData\Local\Temp\Microsoft\MashupProvider\Cache folder.

 

 

1 ACCEPTED SOLUTION
v-kongfanf-msft
Community Support
Community Support

Hi @vitoriamariabr ,

 

As you say, changing the path to the cache folder to another location with more free space can alleviate this problem.


Another option could require you to know a little bit about powershell programming. Scheduled tasks can be created to monitor the size of the cache folder and automatically purge old files based on your organization's data retention policies.

You need to install related package.

Install-Module -Name DataGateway

 

For more details, you can refer to below document:

PowerShell Cmdlets for On-premises data gateway management | Microsoft Learn

 

Best Regards,
Adamk Kong

 

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

2 REPLIES 2
v-kongfanf-msft
Community Support
Community Support

Hi @vitoriamariabr ,

 

As you say, changing the path to the cache folder to another location with more free space can alleviate this problem.


Another option could require you to know a little bit about powershell programming. Scheduled tasks can be created to monitor the size of the cache folder and automatically purge old files based on your organization's data retention policies.

You need to install related package.

Install-Module -Name DataGateway

 

For more details, you can refer to below document:

PowerShell Cmdlets for On-premises data gateway management | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks! I'll try these solutions!

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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