Open in the explorer

Bypass prompting for Clipboard access for scripts running in any process

Ignorer les invites liées à l’accès au Presse-papiers pour les scripts qui s’exécutent dans un processus

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Application Compatibility › Clipboard access User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Application Compatibility › Clipboard access FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Compatibilité des applications › Accès au Presse-papiersFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Compatibilité des applications › Accès au Presse-papiers
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/IESF_PolicyScriptPasteAllProcesses

Explanation

This policy setting allows you to bypass prompting when a script that is running in any process on the computer attempts to perform a Clipboard operation (delete, copy, or paste).

If you enable this policy setting, the user is not prompted when a script that is running in any process on the computer performs a Clipboard operation. This means that if the zone behavior is currently set to prompt, it will be bypassed and enabled.

If you disable this policy setting, the user is prompted when a script that is running in any process on the computer attempts to perform a Clipboard operation.

If you do not configure this policy setting, current values of the URL action for the application or process on the computer prevail.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’ignorer les invites lorsqu’un script qui s’exécute dans un processus de l’ordinateur tente d’effectuer une opération sur le Presse-papiers (supprimer, copier ou coller).

Si vous activez ce paramètre de stratégie, l’utilisateur ne reçoit pas d’invite lorsqu’un script qui s’exécute dans un processus de l’ordinateur effectue une opération sur le Presse-papiers. Cela signifie que si le comportement de la zone est défini pour afficher les invites, il est ignoré et activé.

Si vous désactivez ce paramètre de stratégie, l’utilisateur reçoit une invite lorsqu’un script qui s’exécute dans un processus de l’ordinateur tente d’effectuer une opération sur le Presse-papiers.

Si vous ne configurez pas ce paramètre de stratégie, les valeurs actuelles de l’action d’URL pour l’application ou le processus sont prioritaires.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt
Value name
*
StateValue written
EnabledREG_SZ = 1
DisabledREG_SZ = 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/IESF_PolicyScriptPasteAllProcesses
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '1' -Type String

Disable

# Disable: inetres/IESF_PolicyScriptPasteAllProcesses
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '0' -Type String

Revert to "Not configured"

# Revert to "Not configured": inetres/IESF_PolicyScriptPasteAllProcesses
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt'
Remove-ItemProperty -Path $k -Name '`*' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability