How to Stop Excel from Creating Large Diagnostic Files
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.

- 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 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.
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.
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.
In the Excel Options window, click on 'Trust Center' on the left pane, then click the 'Trust Center Settings' button.
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.

Analyze and Disable Windows Level Diagnostics
If Excel bypasses its own privacy settings and continues to write files, investigate using the Windows Diagnostic Data Viewer.
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.

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.




