Ouvrir dans l'explorateur

Restreindre la communication Internet

Restrict Internet communication

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Système › Gestion de la communication Internet EN : User Configuration › Policies › Administrative Templates › System › Internet Communication Management
Pris en charge sur
Au minimum Windows XP Professionnel avec SP2 EN : At least Windows XP Professional with SP2
Fichier ADMX
ICM.admx
Nom interne
ICM/InternetManagement_RestrictCommunication_1

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie indique si Windows peut accéder à Internet pour accomplir des tâches qui nécessitent des ressources Internet.

Si vous activez ce paramètre de stratégie, tous les paramètres de stratégie affichés dans la section « Paramètres de communication Internet » sont définis de sorte que leurs fonctionnalités correspondantes aient accès à Internet.

Si vous désactivez ce paramètre de stratégie, tous les paramètres de stratégie affichés dans la section « Paramètres de communication Internet » sont définis de sorte que leurs fonctionnalités correspondantes aient accès à Internet.

Si vous ne configurez pas ce paramètre de stratégie, aucun des paramètres de stratégie affichés dans la section « Paramètres de communication Internet » n’est configuré.

This policy setting specifies whether Windows can access the Internet to accomplish tasks that require Internet resources.

If you enable this setting, all of the the policy settings listed in the "Internet Communication settings" section are set such that their respective features cannot access the Internet.

If you disable this policy setting, all of the the policy settings listed in the "Internet Communication settings" section are set such that their respective features can access the Internet.

If you do not configure this policy setting, all of the the policy settings in the "Internet Communication settings" section are set to not configured.

Registre

HKEY_CURRENT_USER\Software\Policies\Microsoft\InternetManagement
Nom de la valeur
RestrictCommunication
ÉtatValeur écrite
ActivéREG_DWORD = 1
CléValeurDonnée
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoPublishingWizardREG_DWORD = 1
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoWebServicesREG_DWORD = 1
Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection PlatformNoGenTicketREG_DWORD = 1
Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection PlatformAllowWindowsEntitlementReactivationREG_DWORD = 1
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoOnlinePrintsWizardREG_DWORD = 1
Software\Policies\Microsoft\Messenger\ClientCEIPREG_DWORD = 2
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoInternetOpenWithREG_DWORD = 1
Software\Policies\Microsoft\Windows NT\PrintersDisableHTTPPrintingREG_DWORD = 1
Software\Policies\Microsoft\Windows NT\PrintersDisableWebPnPDownloadREG_DWORD = 1
Software\Policies\Microsoft\Windows\HandwritingErrorReportsPreventHandwritingErrorReportsREG_DWORD = 1
Software\Policies\Microsoft\Windows\TabletPCPreventHandwritingDataSharingREG_DWORD = 1
Software\Policies\Microsoft\Assistance\Client\1.0NoOnlineAssistREG_DWORD = 1
Software\Policies\Microsoft\Assistance\Client\1.0NoExplicitFeedbackREG_DWORD = 1
Software\Policies\Microsoft\Assistance\Client\1.0NoImplicitFeedbackREG_DWORD = 1
Software\Policies\Microsoft\WindowsMovieMakerWebHelpREG_DWORD = 1
Software\Policies\Microsoft\WindowsMovieMakerCodecDownloadREG_DWORD = 1
Software\Policies\Microsoft\WindowsMovieMakerWebPublishREG_DWORD = 1
DésactivéREG_DWORD = 0
CléValeurDonnée
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoPublishingWizardREG_DWORD = 0
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoWebServicesREG_DWORD = 0
Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection PlatformNoGenTicketREG_DWORD = 0
Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection PlatformAllowWindowsEntitlementReactivationREG_DWORD = 0
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoOnlinePrintsWizardREG_DWORD = 0
Software\Policies\Microsoft\Messenger\ClientCEIPREG_DWORD = 1
Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoInternetOpenWithREG_DWORD = 0
Software\Policies\Microsoft\Windows NT\PrintersDisableHTTPPrintingREG_DWORD = 0
Software\Policies\Microsoft\Windows NT\PrintersDisableWebPnPDownloadREG_DWORD = 0
Software\Policies\Microsoft\Windows\HandwritingErrorReportsPreventHandwritingErrorReportsREG_DWORD = 0
Software\Policies\Microsoft\Windows\TabletPCPreventHandwritingDataSharingREG_DWORD = 0
Software\Policies\Microsoft\Assistance\Client\1.0NoOnlineAssistREG_DWORD = 0
Software\Policies\Microsoft\Assistance\Client\1.0NoExplicitFeedbackREG_DWORD = 0
Software\Policies\Microsoft\Assistance\Client\1.0NoImplicitFeedbackREG_DWORD = 0
Software\Policies\Microsoft\WindowsMovieMakerWebHelpREG_DWORD = 0
Software\Policies\Microsoft\WindowsMovieMakerCodecDownloadREG_DWORD = 0
Software\Policies\Microsoft\WindowsMovieMakerWebPublishREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : ICM/InternetManagement_RestrictCommunication_1
$k = 'HKCU:\Software\Policies\Microsoft\InternetManagement'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictCommunication' -Value 1 -Type DWord
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoPublishingWizard' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoWebServices' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoOnlinePrintsWizard' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoInternetOpenWith' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoGenTicket' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CEIP' -Value 2 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableHTTPPrinting' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'DisableWebPnPDownload' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows\HandwritingErrorReports'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventHandwritingErrorReports' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventHandwritingDataSharing' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Assistance\Client\1.0'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoOnlineAssist' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoExplicitFeedback' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoImplicitFeedback' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMovieMaker'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WebHelp' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'CodecDownload' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'WebPublish' -Value 1 -Type DWord

Désactiver

# Désactiver : ICM/InternetManagement_RestrictCommunication_1
$k = 'HKCU:\Software\Policies\Microsoft\InternetManagement'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictCommunication' -Value 0 -Type DWord
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoPublishingWizard' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoWebServices' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoOnlinePrintsWizard' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoInternetOpenWith' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoGenTicket' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CEIP' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableHTTPPrinting' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'DisableWebPnPDownload' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows\HandwritingErrorReports'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventHandwritingErrorReports' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventHandwritingDataSharing' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Assistance\Client\1.0'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoOnlineAssist' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoExplicitFeedback' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoImplicitFeedback' -Value 0 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMovieMaker'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WebHelp' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'CodecDownload' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'WebPublish' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : ICM/InternetManagement_RestrictCommunication_1
$k = 'HKCU:\Software\Policies\Microsoft\InternetManagement'
Remove-ItemProperty -Path $k -Name 'RestrictCommunication' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoPublishingWizard' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoWebServices' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoOnlinePrintsWizard' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoInternetOpenWith' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform'
Remove-ItemProperty -Path $k -Name 'NoGenTicket' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'AllowWindowsEntitlementReactivation' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
Remove-ItemProperty -Path $k -Name 'CEIP' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'DisableHTTPPrinting' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DisableWebPnPDownload' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\HandwritingErrorReports'
Remove-ItemProperty -Path $k -Name 'PreventHandwritingErrorReports' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\TabletPC'
Remove-ItemProperty -Path $k -Name 'PreventHandwritingDataSharing' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Assistance\Client\1.0'
Remove-ItemProperty -Path $k -Name 'NoOnlineAssist' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoExplicitFeedback' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoImplicitFeedback' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMovieMaker'
Remove-ItemProperty -Path $k -Name 'WebHelp' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'CodecDownload' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WebPublish' -ErrorAction SilentlyContinue

Disponibilité