Allow active content from CDs to run on user machines
Autoriser le contenu actif des CD à s’exécuter sur les ordinateurs des utilisateurs
Explanation
This policy setting allows you to manage whether users receive a dialog requesting permission for active content on a CD to run.
If you enable this policy setting, active content on a CD will run without a prompt.
If you disable this policy setting, active content on a CD will always prompt before running.
If you do not configure this policy, users can choose whether to be prompted before running active content on a CD.
Ce paramètre de stratégie vous permet d’indiquer si les utilisateurs voient s’afficher une boîte de dialogue demandant l’autorisation d’exécuter le contenu actif depuis un CD.
Si vous activez ce paramètre de stratégie, le contenu actif d’un CD s’exécute sans confirmation de la part de l’utilisateur.
Si vous désactivez ce paramètre de stratégie, l’utilisateur devra toujours confirmer l’exécution du contenu actif d’un CD.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent indiquer s’ils souhaitent confirmer l’exécution du contenu actif d’un CD.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\SettingsHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings- Value name
LOCALMACHINE_CD_UNLOCK
| 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.
Computer (HKLM)
Enable
# Enable: inetres/Advanced_CDUnlock
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LOCALMACHINE_CD_UNLOCK' -Value 1 -Type DWordDisable
# Disable: inetres/Advanced_CDUnlock
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LOCALMACHINE_CD_UNLOCK' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Advanced_CDUnlock
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings'
Remove-ItemProperty -Path $k -Name 'LOCALMACHINE_CD_UNLOCK' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"