Open in the explorer

Do not allow pinning items in Jump Lists

Ne pas autoriser l’épinglage d’éléments aux listes de raccourcis

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Start Menu and Taskbar FR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
Taskbar.admx
Internal name
Taskbar/NoPinningToDestinations

Explanation

This policy setting allows you to control pinning items in Jump Lists.

If you enable this policy setting, users cannot pin files, folders, websites, or other items to their Jump Lists in the Start Menu and Taskbar. Users also cannot unpin existing items pinned to their Jump Lists. Existing items already pinned to their Jump Lists will continue to show.

If you disable or do not configure this policy setting, users can pin files, folders, websites, and other items to a program's Jump List so that the items is always present in this menu.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler l’épinglage d’éléments dans des listes de raccourcis.

Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent pas épingler de fichiers, de dossiers, de sites Web, ni aucun autre élément à leurs listes de raccourcis dans le menu Démarrer et la barre des tâches. Ils ne peuvent pas non plus détacher les éléments existants épinglés à leurs listes de raccourcis. Les éléments existants déjà épinglés à leurs listes de raccourcis continuent de s’afficher.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent épingler des fichiers, des dossiers, des sites Web et d’autres éléments à la liste de raccourcis d’un programme, afin que ces éléments soient toujours présents dans ce menu.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Value name
NoPinningToDestinations
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: Taskbar/NoPinningToDestinations
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoPinningToDestinations' -Value 1 -Type DWord

Disable

# Disable: Taskbar/NoPinningToDestinations
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoPinningToDestinations' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Taskbar/NoPinningToDestinations
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'NoPinningToDestinations' -ErrorAction SilentlyContinue

Availability