Turn off Internet File Association service
Désactiver le service d’association de fichier Internet
Explanation
This policy setting specifies whether to use the Microsoft Web service for finding an application to open a file with an unhandled file association.
When a user opens a file that has an extension that is not associated with any applications on the computer, the user is given the choice to select a local application or use the Web service to find an application.
If you enable this policy setting, the link and the dialog for using the Web service to open an unhandled file association are removed.
If you disable or do not configure this policy setting, the user is allowed to use the Web service.
Ce paramètre de stratégie indique si le service Web de Microsoft doit être utilisé lors de la recherche d’une application permettant d’ouvrir un fichier ayant une association de fichier non gérée.
Lorsqu’un utilisateur ouvre un fichier ayant une extension qui n’est associée à aucune application présente sur l’ordinateur, il se voit proposer de choisir une application locale ou d’utiliser le service Web pour rechercher une application.
Si vous activez ce paramètre de stratégie, le lien et la boîte de dialogue d’utilisation du service Web permettant d’ouvrir une association de fichier non gérée sont supprimés.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur est autorisé à utiliser le service Web.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoInternetOpenWith
| 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.
Enable
# Enable: ICM/ShellNoUseInternetOpenWith_1
$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 'NoInternetOpenWith' -Value 1 -Type DWordDisable
# Disable: ICM/ShellNoUseInternetOpenWith_1
$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 'NoInternetOpenWith' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ICM/ShellNoUseInternetOpenWith_1
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoInternetOpenWith' -ErrorAction SilentlyContinue