Continue experiences on this device
Poursuivre les expériences sur cet appareil
Explanation
This policy setting determines whether the Windows device is allowed to participate in cross-device experiences (continue experiences).
If you enable this policy setting, the Windows device is discoverable by other Windows devices that belong to the same user, and can participate in cross-device experiences.
If you disable this policy setting, the Windows device is not discoverable by other devices, and cannot participate in cross-device experiences.
If you do not configure this policy setting, the default behavior depends on the Windows edition. Changes to this policy take effect on reboot.
Ce paramètre de stratégie détermine si l’appareil Windows est autorisé à participer à des actions interappareils (expériences continues).
Si vous activez ce paramètre de stratégie, l’appareil Windows devient détectable par d’autres appareils Windows appartenant au même utilisateur et peut participer à des expériences interappareils.
Si vous désactivez ce paramètre de stratégie, l’appareil Windows n’est pas détectable par d’autres appareils et ne peut pas participer à des expériences interappareils..
Si vous ne configurez pas ce paramètre de stratégie, le comportement par défaut dépend de l’édition Windows. Les modifications apportées à cette stratégie entrent en vigueur après le redémarrage.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System- Value name
EnableCdp
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: GroupPolicy/EnableCDP
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCdp' -Value 1 -Type DWordDisable
# Disable: GroupPolicy/EnableCDP
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCdp' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": GroupPolicy/EnableCDP
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'EnableCdp' -ErrorAction SilentlyContinue