Diagnostics: Configure scenario retention

Determines the data retention limit for Diagnostic Policy Service (DPS) scenario data.

If you enable this policy setting, you must enter the maximum size of scenario data that should be retained in megabytes. Detailed troubleshooting data related to scenarios will be retained until this limit is reached.

If you disable this setting, or if you do not configure this policy setting, the DPS will delete scenario data once it exceeds 128 megabytes in size.

No reboots or service restarts are required for this policy to take effect: changes take effect immediately.

This policy setting will only take effect when the Diagnostic Policy Service is in the running state. When the service is stopped or disabled, diagnostic scenario data will not be deleted. The DPS can be configured with the Services snap-in to the Microsoft Management Console.

Supported on: At least Windows Vista

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows\WDI
Value NameDataRetentionBySizeEnabled
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

Scenario data size limit (in MB)

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows\WDI
Value NameDirSizeLimit
Value TypeREG_DWORD
Default Value128
Min Value
Max Value

wdi.admx

Administrative Templates (Computers)

Administrative Templates (Users)