禁用 Windows 11 诊断和跟踪服务
今天打开 VSCode 时卡了一下,然后 System 往 C:\Windows\Temp\DiagOutputDir\Whesvc\perf\whesvc_input_delays_trace_2025-12-22_09_42_09_450.etl 位置磁盘狂写。这是 Windows 11 26120.4741 新加上的卡顿报告。可我连 Feedback Center 都删除了,不想报告,也不想生成这些文件,得想办法禁用
- Microsoft adds telemetry to monitor Windows 11 sluggishness in latest beta, dev builds — logs reportedly only sent when users submit feedback | Tom’s Hardware
- Announcing Windows 11 Insider Preview Build 26120.4741 (Beta Channel) | Windows Insider Blog
禁用的服务(显示名称)
- Connected User Experiences and Telemetry
- Diagnostic Execution Service
- Diagnostic Policy Service
组策略编辑 - Windows 组件 / 数据收集和预览版本 / 允许诊断数据
相当于HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection>AllowTelemetry DWORD 0