Ne pas rechercher les raccourcis de l’environnement lors de l’exploration
Do not track Shell shortcuts during roaming
Explication
Ce paramètre de stratégie détermine si Windows doit assurer le suivi des raccourcis jusqu’à leur source lorsqu’il ne peut pas trouver la cible sur le système de l’ordinateur.
Les fichiers de raccourcis contiennent généralement un chemin d’accès absolu vers le fichier cible initial, ainsi que le chemin d’accès relatif vers le fichier cible actif. Lorsque le système ne peut pas trouver le fichier dans le chemin cible en cours, par défaut, il recherche la cible dans le chemin d’accès initial. Si le raccourci a été copié vers un autre ordinateur, le chemin initial peut mener à un ordinateur réseau, y compris des ressources externes, telles qu’un serveur Internet.
Si vous activez ce paramètre de stratégie, Windows ne recherche que dans le chemin cible en cours. Il n’effectue pas de recherche du chemin initial même lorsqu’il ne peut pas trouver le fichier cible dans le chemin cible en cours.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows recherche le chemin initial lorsqu’il ne trouve pas le fichier cible dans le chemin cible en cours.
This policy setting determines whether Windows traces shortcuts back to their sources when it cannot find the target on the user's system.
Shortcut files typically include an absolute path to the original target file as well as the relative path to the current target file. When the system cannot find the file in the current target path, then, by default, it searches for the target in the original path. If the shortcut has been copied to a different computer, the original path might lead to a network computer, including external resources, such as an Internet server.
If you enable this policy setting, Windows only searches the current target path. It does not search for the original path even when it cannot find the target file in the current target path.
If you disable or do not configure this policy setting, Windows searches for the original path when it cannot find the target file in the current target path.
Registre
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Nom de la valeur
LinkResolveIgnoreLinkInfo
| État | Valeur écrite |
|---|---|
| Activé | non défini dans l'ADMX |
| Désactivé | non défini dans l'ADMX |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.
É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/LinkResolveIgnoreLinkInfo
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'LinkResolveIgnoreLinkInfo' -Value 1 -Type DWord # valeur supposée (non définie dans l'ADMX)Désactiver
# Désactiver : WindowsExplorer/LinkResolveIgnoreLinkInfo
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'LinkResolveIgnoreLinkInfo' -Value 0 -Type DWord # valeur supposée (non définie dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : WindowsExplorer/LinkResolveIgnoreLinkInfo
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'LinkResolveIgnoreLinkInfo' -ErrorAction SilentlyContinue