Define applications and processes that can access the Clipboard without prompting
Définir les applications et les processus qui peuvent accéder au Presse-papiers sans avertissement
Explanation
This policy setting allows you to define applications and processes that can access the Clipboard without prompting the user.
Note: Do not enter the Internet Explorer processes in this list. To enable or disable Internet Explorer processes, use the "Bypass prompting for Clipboard access for scripts running in the Internet Explorer process" policy. If the "Bypass prompting for Clipboard access for scripts running in any process" policy setting is enabled, the processes configured in this policy setting take precedence over that policy setting.
If you enable this policy setting and enter a value of 1, prompts are bypassed. If you enter a value of 0, prompts are not bypassed. Value Name is the name of the executable file. If Value Name is empty or the value is not 0 or 1, the policy setting is ignored.
If you enable this policy setting for an application or process in the list, a script can perform a Clipboard operation without prompting the user. This means that if the zone behavior is currently set to prompt, it will be bypassed and enabled.
If you disable this policy setting for an application or process in the list, a script that is running in the application or process cannot bypass the prompt for delete, copy, or paste operations from the Clipboard.
If you do not configure this policy setting, current values of the URL action for an application or process in the list prevail.
Ce paramètre de stratégie vous permet de définir les applications et les processus qui peuvent accéder au Presse-papiers sans avertir l’utilisateur.
Remarque : n’entrez pas de processus Internet Explorer dans cette liste. Pour activer ou désactiver les processus Internet Explorer, utilisez le paramètre de stratégie « Ignorer les invites liées à l’accès au Presse-papiers pour les scripts qui s’exécutent dans le processus Internet Explorer ». Si le paramètre de stratégie « Ignorer les invites liées à l’accès au Presse-papiers pour les scripts qui s’exécutent dans un processus » est activé, les processus configurés dans ce paramètre de stratégie sont prioritaires sur ce paramètre de stratégie.
Si vous activez ce paramètre de stratégie avec la valeur 1, les invites sont ignorées. Si vous entrez la valeur 0, les invites ne sont pas ignorées. Nom de valeur est le nom du fichier exécutable. Si Nom de valeur est vide ou si la valeur est différente de 0 ou 1, le paramètre de stratégie est ignoré.
Si vous activez ce paramètre de stratégie pour une application ou un processus de la liste, un script peut effectuer une opération sur le Presse-papiers sans avertir l’utilisateur. 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 pour une application ou un processus de la liste, un script qui s’exécute dans l’application ou le processus ne peut pas ignorer l’invite pour les opérations supprimer, copier ou coller liées au Presse-papiers.
Si vous ne configurez pas ce paramètre de stratégie, les valeurs actuelles de l’action d’URL pour une application ou un processus de la liste sont prioritaires.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControlHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl- Value name
ListBox_Support_Feature_Enable_Script_Paste_URLAction_If_Prompt
| 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/IESF_PolicyScriptPasteProcessList
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_Feature_Enable_Script_Paste_URLAction_If_Prompt' -Value 1 -Type DWord
$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 }
# Process List
$items = @{
'<name1>' = '<value1>'
'<name2>' = '<value2>'
} # Replace the values with your own
$items.GetEnumerator() | ForEach-Object { Set-ItemProperty -Path $k -Name $_.Key -Value $_.Value -Type String }Disable
# Disable: inetres/IESF_PolicyScriptPasteProcessList
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_Feature_Enable_Script_Paste_URLAction_If_Prompt' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_PolicyScriptPasteProcessList
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl'
Remove-ItemProperty -Path $k -Name 'ListBox_Support_Feature_Enable_Script_Paste_URLAction_If_Prompt' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_Prompt'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Process List:Liste des processus :IESF_PartnameProcessList | List (table)list | Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Script_Paste_URLAction_If_PromptName = value pairs · additive | REG_SZ (values under the key) |