Ouvrir dans l'explorateur

Autoriser l’utilisation de chemins d’accès distants dans les icônes de raccourcis de fichiers

Allow the use of remote paths in file shortcut icons

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers EN : Computer Configuration › Policies › Administrative Templates › Windows Components › File Explorer
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
WindowsExplorer.admx
Nom interne
WindowsExplorer/EnableShellShortcutIconRemotePath

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si des chemins d’accès distants peuvent être utilisés pour les icônes de raccourcis de fichiers (fichier .lnk).

Si vous activez ce paramètre de stratégie, des chemins d’accès distants peuvent être utilisés pour obtenir les icônes de raccourcis de fichiers.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les icônes de raccourcis de fichiers utilisant des chemins d’accès distants ne peuvent pas être affichés.

Remarque : autoriser l’utilisation de chemins d’accès distants dans les icônes de raccourcis de fichiers peut exposer les ordinateurs des utilisateurs à des risques de sécurité.

This policy setting determines whether remote paths can be used for file shortcut (.lnk file) icons.

If you enable this policy setting, file shortcut icons are allowed to be obtained from remote paths.

If you disable or do not configure this policy setting, file shortcut icons that use remote paths are prevented from being displayed.

Note: Allowing the use of remote paths in file shortcut icons can expose users’ computers to security risks.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer
Nom de la valeur
EnableShellShortcutIconRemotePath
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_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 : WindowsExplorer/EnableShellShortcutIconRemotePath
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableShellShortcutIconRemotePath' -Value 1 -Type DWord

Désactiver

# Désactiver : WindowsExplorer/EnableShellShortcutIconRemotePath
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableShellShortcutIconRemotePath' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsExplorer/EnableShellShortcutIconRemotePath
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'EnableShellShortcutIconRemotePath' -ErrorAction SilentlyContinue

Disponibilité