Power Query Problems

How to Stop Microsoft Mashup Container Loader from Locking Files

Chanuka GeekiyanageChanuka Geekiyanage Oct 12, 2026 878 views

Question details

Users are unable to overwrite or save source files because they are kept open by the Microsoft Mashup Container Loader in Power Query.

How to Stop Microsoft Mashup Container Loader from Locking Files
Product
Microsoft Excel
Device & OS
not provided
Scenario
Running background previews or updating queries in Excel Power Query.
Observed behavior
The background data loader process locks the source files, preventing the user from editing or saving changes to those files.
Before you start

Ensure you have saved all your current work in Excel, as you may need to modify global query settings or forcefully end background tasks to release the file locks.

Solution 1Recommended

Disable Global Background Data Previews

Prevent Power Query from preemptively downloading data previews, which often triggers the file-locking issue.

By default, Power Query downloads data previews in the background to ensure smooth editing. Disabling this global setting stops the Mashup Container Loader from holding onto source files unnecessarily.

1
Open Query Options

In Excel, go to the Data tab on the ribbon, click on 'Get Data', and select 'Query Options' from the dropdown menu.

2
Navigate to Data Load Settings

In the Query Options dialog box, look under the 'Global' section on the left pane and click on 'Data Load'.

3
Disable Background Previews

Under the 'Background Data' section, select 'Never allow data previews to download in the background', then click OK to apply the changes.

Disable Global Background Data Previews
Performance Boost: Disabling background data previews can also improve overall system performance, as fewer system resources will be consumed by background evaluation processes.
Free Microsoft Office alternative

Experience Lightweight Data Processing with WPS Office

If you frequently struggle with resource-heavy background processes like the Mashup Container Loader locking your files, consider switching to WPS Office. It provides a lightweight, fast, and highly compatible alternative for everyday spreadsheet management.

  1. 1. Download and Install: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheet and click 'Open' to seamlessly load your existing data files.
  3. 3. Work Without Interruptions: Enjoy editing, saving, and analyzing your data without worrying about hidden background processes locking your files.
Excellent compatibility with Microsoft Excel (.xlsx, .xls, .csv) formats without breaking formatting.Lightweight architecture ensures faster load times and minimizes intrusive background processes.Completely free to use with a familiar interface, requiring zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

What exactly is the Microsoft Mashup Container Loader?

It is a background component used by Power Query in Microsoft Excel and Power BI to evaluate data queries, load previews, and process transformations without freezing the main application interface.

Will disabling background data previews break my Power Query formulas?

No. Your queries and transformations will continue to work perfectly. Disabling this setting only means that data previews will load on-demand when you interact with them in the editor, rather than downloading preemptively.

Why do I see multiple Mashup Container processes in Task Manager?

Power Query often spawns multiple instances of the container loader to evaluate different queries simultaneously. This parallel processing speeds up data retrieval but can occasionally cause multiple file lock conflicts.

Can I prevent file locking without changing query settings?

File locking is inherent to how the Mashup Engine reads local files. Aside from changing background load settings, you can copy the source data to another location or use database connections instead of flat local files to avoid read/write conflicts.