DHTML Edit Control
Contrôle DHTML Edit
Explanation
This ActiveX control enables users to edit HTML text and see a faithful rendition of how the text would look in the browser. There are two versions of the control: a more powerful version that cannot be invoked by a web site because it includes file access and other features, and a "safe for scripting" version that has restricted functionality and is intended for use by web sites.
If you enable this policy, this control will be available as an administrator approved control and can be run if the user specifies to run administrator-approved Active-X controls and plug-ins under security zones.
If you disable this policy or do not configure it, this control will not be designated as administrator-approved.
Ce contrôle ActiveX permet aux utilisateurs de modifier du texte HTML et d’afficher un rendu fidèle de l’apparence du texte dans le navigateur. Il existe deux versions du contrôle : une version plus puissante qui ne peut pas être appelée par un site Web car elle inclut un accès aux fichiers et d’autres fonctions, et une version sans danger pour l’écriture de scripts, dont les fonctionnalités sont réduites et l’utilisation destinée aux sites Web.
Si vous activez ce paramètre de stratégie, ce contrôle est disponible en tant que contrôle approuvé par l’administrateur et peut être exécuté si l’utilisateur spécifie d’exécuter les contrôles ActiveX approuvés par l’administrateur et les plug-ins en fonction des zones de sécurité.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, ce contrôle n’est pas désigné comme approuvé par l’administrateur.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedControls- 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: inetres/DHTMLEdit
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedControls'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# DHTML Edit Control
# unchecked: 1
Set-ItemProperty -Path $k -Name '{2D360201-FFF5-11D1-8D03-00A0C959BC0A}' -Value 0 -Type DWordDisable
# Disable: inetres/DHTMLEdit
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/DHTMLEdit
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedControls'
Remove-ItemProperty -Path $k -Name '{2D360201-FFF5-11D1-8D03-00A0C959BC0A}' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| DHTML Edit ControlContrôle DHTML EditDHTMLEdit | Check boxboolean | {2D360201-FFF5-11D1-8D03-00A0C959BC0A} | REG_DWORD | Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 |