Policy

Limit Diagnostic Log Collection

This policy setting controls whether additional diagnostic logs are collected when more information is needed to troubleshoot a problem on the device. Diagnostic logs are only sent when the device has been configured to send optional diagnostic data. By enabling this policy setting, diagnostic logs will not be collected. If you disable or do not configure this policy setting, we may occasionally collect diagnostic logs if the device has been configured to send optional diagnostic data.

Policy
PackMicrosoft Windows
CategoryWindows Components / Data Collection and Preview Builds
Policy IDa1f42ca33f44
Internal nameLimitDiagnosticLogCollection

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\DataCollection\LimitDiagnosticLogCollection (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\DataCollection\LimitDiagnosticLogCollection (disabled) = 0

Policy notes

This policy setting controls whether additional diagnostic logs are collected when more information is needed to troubleshoot a problem on the device. Diagnostic logs are only sent when the device has been configured to send optional diagnostic data. By enabling this policy setting, diagnostic logs will not be collected. If you disable or do not configure this policy setting, we may occasionally collect diagnostic logs if the device has been configured to send optional diagnostic data.

Related policies