Watch the video:
Timestamps:
0:00 - Intro/Explanation
0:50 - Simple workaround
2:34 - Stop WSL generating these dumpsA quick fix for a large DiagOutputDir\RdClientAutoTrace folder caused by WSL / Ubuntu on Windows. Caused by a simple issue, this video has a workaround and a fix!
GitHub Issue: https://github.com/microsoft/WSL/discussions/8486
Full path: %LocalAppData%\Temp\DiagOutputDir\RdClientAutoTrace
File name: RdClientAutoTrace
.wslconfig
[system-distro-env]
WSLG_USE_MSTSC=true