Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2019 / Clean Up ETL Log Files in ProgramData

September 9, 2025

Clean Up ETL Log Files in ProgramData

After analyzing the available free space on one of the Windows Server 2019 hosts, we found the ETLLogs directory, which contained several dozen gigabytes of ETL (Event Trace Log) files.

Interestingly, the abnormally large ETLogs directory could not be detected by free space analysis tools (like WinDirStat or TreeSize), even when they were run as an administrator. The huge ETL logs directory was only found when the tool was run on behalf of the SYSTEM account. Use the following command to run the app on behalf of the LocalSystem account:

psexec.exe -i -s WinDirStat.exe

Large C:\ProgramData\Microsoft\Diagnosis\ETLLogs folder

The full path to the folder containing the ETL log files is C:\ProgramData\Microsoft\Diagnosis\ETLLogs. In this directory on my server, there were several hundred files with names in the format {GUID}_APPRAISER_UTC.etl, each about 100 MB in size. As shown by the dates on the files, the ETL files were created daily for a long period. These files are created by the CompatTelRunner.exe process.

Disk space consumed by ETL logs

These logs containing diagnostic data are created by Windows Telemetry Services. It is safe to manually delete ETL log files from this directory. Also, to quickly clean up the collected diagnostic data, go to Settings -> Privacy -> Diagnostics & Feedback, and click the Delete button in the Delete diagnostic data section. Change the value of the Feedback frequency parameter to “Never“.

Clean up diagnostics data in Windows

To prevent further collection of ETL logs, you need to change the telemetry service settings.

  • Reduce the level of diagnostic data logging. In the Settings -> Diagnostics, select the option to send only Required diagnostic data. Change telemetry to Required diagnostic data
  • Change the telemetry settings in the local Group Policy. Open the Local Group Policy Editor (gpedit.msc) and navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Data Collection and Preview Builds. Find the Allow Telemetry option (or Allow Diagnostic Data in Windows 11/Windows Server 2022). Enable the policy and set its value to Diagnostic Data off. GPO: disable telemetry (Diagnostic Data ) This parameter can be configured directly via the registry: reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f
  • Then, in the GPO, disable participation in the Customer Experience Program: Computer Configuration -> Administrative Templates -> System ->Internet Communication Management -> Internet Communication settings. Enable the policy Turn off Windows Customer Experience Improvement Program. GPO: Turn off Windows Customer Experience Improvement Program
  • Disable the Microsoft Compatibility Appraiser and the ProgramDataUpdater in the Task Scheduler. To disable scheduled tasks using PowerShell, run: Get-ScheduledTask 'Microsoft Compatibility Appraiser', ProgramDataUpdater | Disable-ScheduledTask Disable telemetry scheduled tasks
  • Then disable the following services dmwappushservice and DiagTrack (Connected User Experiences and Telemetry): Get-Service dmwappushservice, DiagTrack | Stop-Service
    Get-Service dmwappushservice, DiagTrack | Set-Service -StartupType Disabled

This will reduce the size of the diagnostic and telemetry data collected in ETLogs.

Another common cause of running out of free space on the Windows system drive is the System Volume Information folder.
0 comment
1
Facebook Twitter Google + Pinterest
Questions and AnswersWindows Server 2019
previous post
Fix: The System Administrator Policies Prevent the App Installation

Related Reading

How to Restore Deleted EFI System Partition in...

March 11, 2024

How to Run Program without Admin Privileges and...

June 8, 2023

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Fix: Remote Desktop Licensing Mode is not Configured

August 24, 2023

Refresh AD Groups Membership without Reboot/Logoff

March 15, 2024

How to Find the Source of Account Lockouts...

March 12, 2024

Fix: Can’t Extend Volume in Windows

March 11, 2024

Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

March 17, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Fix: Slow Startup of PowerShell Console and Scripts

    September 3, 2025
  • DPI Scaling and Font Size in RDP (RDS) Session

    August 27, 2025
  • Proxmox: Share a Host Directory with VMs via VirtioFS

    August 18, 2025
  • How to Find AD Users with Blank Passwords (Password-Not-Required)

    July 24, 2025
  • Run Elevated Commands with Sudo on Windows 11

    July 16, 2025
  • Find a Process Causing High Disk Usage on Windows

    July 15, 2025
  • Fix: Microsoft Defender Not Updating Automatically in Windows

    July 8, 2025
  • Create a Windows Server VM on Proxmox (Step-by-Step)

    July 7, 2025
  • How to Detect Which User Installed or Removed a Program on Windows

    June 23, 2025
  • Encrypt Any Client-Server App Traffic on Windows with Stunnel

    June 12, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Windows Update Tab (Button) is Missing from Settings
  • Permanently Disable Driver Signature Enforcement on Windows 11
  • Fix: Your IT Administrator Has Limited Access to Virus & Threat Protection
  • How to Add or Reinstall the Microsoft PDF Printer on Windows
  • Fix: Multiple Connections to a Server or Shared Resources by the Same User
  • How to Pause (Delay) Update Installation on Windows 11 and 10
  • PowerShell: The Module Could Not Be Loaded
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top