File menu: Disable Save As Web Page Complete
Menu Fichier : désactiver l’option Page Web complète de la commande Enregistrer sous
Explanation
Prevents users from saving the complete contents that are displayed on or run from a Web page, including the graphics, scripts, linked files, and other elements. It does not prevent users from saving the text of a Web page.
If you enable this policy, the Web Page, Complete file type option will be removed from the Save as Type box in the Save Web Page dialog box. Users can still save Web pages as hypertext markup language (HTML) files or as text files, but graphics, scripts, and other elements are not saved. To display the Save Web Page dialog box, users click the File menu, and then click the Save As command.
If you disable this policy or do not configure it, users can save all elements on a Web page.
The "File menu: Disable Save As... menu option" policy, which removes the Save As command, takes precedence over this policy. If it is enabled, this policy is ignored.
Empêche les utilisateurs d’enregistrer les contenus complets affichés ou exécutés à partir d’une page Web, tels que les images, les scripts, les fichiers liés et autres éléments. Ceci n’empêche pas les utilisateurs d’enregistrer le texte d’une page Web.
Si vous activez ce paramètre de stratégie, l’option Page Web complète est supprimée de la liste déroulante Type dans la boîte de dialogue Enregistrer la page Web. Les utilisateurs peuvent toujours enregistrer des pages Web en tant que Page Web HTML uniquement (fichiers hypertexte) ou fichiers texte, mais les images, les scripts et les autres éléments ne sont pas enregistrés. Pour afficher la boîte de dialogue Enregistrer la page Web, l’utilisateur clique sur le menu Fichier, puis sur la commande Enregistrer sous.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent enregistrer tous les éléments d’une page Web.
Le paramètre de stratégie « Menu Fichier : désactiver la commande Enregistrer sous », qui supprime la commande Enregistrer sous, a priorité sur ce paramètre de stratégie. Lorsqu’il est activé, ce paramètre de stratégie est ignoré.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions- Value name
NoBrowserSaveWebComplete
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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/File_NoBrowserSaveWebComplete
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoBrowserSaveWebComplete' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: inetres/File_NoBrowserSaveWebComplete
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoBrowserSaveWebComplete' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/File_NoBrowserSaveWebComplete
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions'
Remove-ItemProperty -Path $k -Name 'NoBrowserSaveWebComplete' -ErrorAction SilentlyContinue