logo
search
Excel Performance Problems

How to Stop Excel from Creating Large Diagnostic Files

John WilsonJohn Wilson Sep 28, 2026 870 views

Question details

The user needs to prevent Excel from generating massive diagnostic logs in the Windows Temp folder, which are consuming excessive disk space even after basic privacy options are disabled.

How to Stop Excel from Creating Large Diagnostic Files
Product
Microsoft Excel
Device & OS
Windows
Scenario
Managing disk space and adjusting privacy/diagnostic settings.
Observed behavior
Excel continuously writes large diagnostic files to C:\Windows\Temp\Diagnostics\EXCEL despite some telemetry options being disabled in the software.
Before you start

Before modifying application settings, you can safely clear your temporary folder to reclaim disk space immediately. Press Win + R, type '%temp%', and delete the contents inside.

Solution 1Recommended

Disable Diagnostic Data in Excel Trust Center

Turn off optional diagnostic data collection from within Excel's privacy settings to stop it from generating large log files.

Microsoft Office includes built-in telemetry that collects data about performance and crashes. Disabling these options restricts Excel from writing aggressive background logs.

1
Open Excel Options

Launch Microsoft Excel, click on 'File' in the top-left corner of the ribbon, and select 'Options' from the bottom of the left-hand menu.

2
Navigate to Trust Center

In the Excel Options window, click on 'Trust Center' on the left pane, then click the 'Trust Center Settings' button.

3
Modify Privacy Options

Select 'Privacy Options' from the sidebar, click on 'Privacy Settings', and uncheck the boxes related to sending optional diagnostic data. If available, also disable the 'diagnostic-data viewing' option.

Disable Diagnostic Data in Excel Trust Center
Application Restart Required: You will need to completely close and restart Microsoft Excel for the new privacy and diagnostic settings to take effect.
Free Microsoft Office alternative

Switch to WPS Office for a Clutter-Free Experience

If Microsoft Excel continues to consume excessive disk space with uncontrollable diagnostic files, consider switching to WPS Office. It is a highly compatible, lightweight, and free alternative that won't clutter your system with aggressive background logging.

Seamlessly open and edit Microsoft Excel (.xlsx, .xls) formatsLightweight installation with minimal background processesDoes not aggressively generate large diagnostic files on your driveFamiliar user interface for a smooth transitionCompletely free to use for daily spreadsheet tasks
QA img-9

Frequently Asked Questions

Is it safe to delete the EXCEL folder in the Windows Temp Diagnostics directory?

Yes, temporary diagnostic files located in C:\Windows\Temp\Diagnostics\EXCEL can be safely deleted. Doing so will immediately free up disk space without affecting your saved spreadsheets or the functionality of Excel.

Why does Microsoft Excel generate these large diagnostic files?

Microsoft uses these diagnostic files to collect telemetry data, identify software crashes, and troubleshoot performance issues. However, on some systems, the logging becomes overly aggressive and writes excessive data, resulting in unusually large files.

What if the diagnostic files keep coming back after disabling privacy options?

If disabling Excel's built-in privacy options doesn't stop the logging, the issue may be tied to Windows-level telemetry. You may need to adjust your Windows OS 'Diagnostics & feedback' settings or consult the Windows Diagnostic Data Viewer to identify the root cause.