Set the data duplication limit (MB)
Définir la limite de duplication des données (Mo)
Explanation
This setting defines the maximum amount of data that can be duplicated for device control.
When the limit is reached, files that are copied to removable storage will not be duplicated on the machine.
Ce paramètre définit la quantité maximale de données pouvant être dupliquées pour le contrôle de l’appareil.
Lorsque la limite est atteinte, les fichiers copiés dans le stockage amovible ne sont pas dupliqués sur l’ordinateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Device Control- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: WindowsDefender/DeviceControl_DataDuplicationMaximumQuota
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the data duplication limit (MB)
Set-ItemProperty -Path $k -Name 'DataDuplicationMaximumQuota' -Value '<value>' -Type StringDisable
# Disable: WindowsDefender/DeviceControl_DataDuplicationMaximumQuota
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsDefender/DeviceControl_DataDuplicationMaximumQuota
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
Remove-ItemProperty -Path $k -Name 'DataDuplicationMaximumQuota' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Set the data duplication limit (MB)Définir la limite de duplication des données (Mo)DeviceControl_DataDuplicationMaximumQuota | Text boxtext | DataDuplicationMaximumQuota | REG_SZ | Min: 5 · Max: 5000 |