Restrict these programs from being launched from Help
Restreindre l’exécution de ces programmes à partir de l’aide
Explanation
This policy setting allows you to restrict programs from being run from online Help.
If you enable this policy setting, you can prevent specified programs from being run from Help. When you enable this policy setting, enter the file names names of the programs you want to restrict, separated by commas.
If you disable or do not configure this policy setting, users can run all applications from online Help.
Note: You can also restrict users from running applications by using the Software Restriction Policy settings available in Computer Configuration\Security Settings.
Note: This policy setting is available under Computer Configuration and User Configuration. If both are settings are used, any programs listed in either of these locations cannot launched from Help
Ce paramètre de stratégie vous permet d’empêcher les programmes de s’exécuter à partir de l’aide en ligne.
Si vous activez ce paramètre de stratégie, vous pouvez empêcher les programmes spécifiés d’être exécutés à partir de l’aide. Lorsque vous activez ce paramètre de stratégie, entrez les noms de fichiers des programmes dont vous voulez empêcher l’exécution, en les séparant par des virgules.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent exécuter toutes les applications à partir de l’aide en ligne.
Remarque : vous pouvez également empêcher les utilisateurs d’exécuter des applications en utilisant les paramètres de stratégie de restriction logicielle disponibles dans Configuration de l’ordinateur\Paramètres de sécurité.
Remarque : ce paramètre de stratégie est disponible sous Configuration ordinateur et Configuration utilisateur. Si les deux paramètres de stratégie sont utilisés, il est impossible de lancer les programmes répertoriés à ces emplacements à partir de l’aide.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System- 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: Help/RestrictRunFromHelp_Comp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enter executables separated by commas
Set-ItemProperty -Path $k -Name 'DisableInHelp' -Value '<value>' -Type StringDisable
# Disable: Help/RestrictRunFromHelp_Comp
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Help/RestrictRunFromHelp_Comp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'DisableInHelp' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enter executables separated by commas:Entrer des exécutables séparés par des virgules :RestrictRunFromHelp_Edit | Text boxtext | DisableInHelp | REG_SZ | Required |