Open in the explorer

Turn off shell protocol protected mode

Désactiver le mode protégé du protocole noyau

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
At least Windows XP Professional with SP2 FR: Au minimum Windows XP Professionnel avec SP2
ADMX file
WindowsExplorer.admx
Internal name
WindowsExplorer/ShellProtocolProtectedModeTitle_2

Explanation

This policy setting allows you to configure the amount of functionality that the shell protocol can have. When using the full functionality of this protocol, applications can open folders and launch files. The protected mode reduces the functionality of this protocol allowing applications to only open a limited set of folders. Applications are not able to open files with this protocol when it is in the protected mode. It is recommended to leave this protocol in the protected mode to increase the security of Windows.

If you enable this policy setting the protocol is fully enabled, allowing the opening of folders and files.

If you disable this policy setting the protocol is in the protected mode, allowing applications to only open a limited set of folders.

If you do not configure this policy setting the protocol is in the protected mode, allowing applications to only open a limited set of folders.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de configurer les fonctionnalités dont peut disposer le protocole noyau. Lorsqu’elles utilisent l’intégralité des fonctionnalités de ce protocole, les applications peuvent ouvrir des dossiers et exécuter des applications. Le mode protégé réduit les fonctionnalités de ce protocole et n’autorise les applications qu’à ouvrir un nombre limité de dossiers. Les applications ne peuvent pas ouvrir de fichiers en utilisant ce protocole s’il est en mode protégé. Nous vous recommandons de laisser ce protocole en mode protégé pour accroître la sécurité de Windows.

Si vous activez ce paramètre de stratégie, le protocole sera complètement activé et autorisera l’ouverture des dossiers et des fichiers.

Si vous le désactivez, le protocole sera en mode protégé et autorisera les applications à ouvrir uniquement un nombre limité de dossiers.

Si vous ne le configurez pas, le protocole sera en mode protégé et autorisera les applications à ouvrir uniquement un nombre limité de dossiers.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
PreXPSP2ShellProtocolBehavior
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: WindowsExplorer/ShellProtocolProtectedModeTitle_2
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreXPSP2ShellProtocolBehavior' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": WindowsExplorer/ShellProtocolProtectedModeTitle_2
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'PreXPSP2ShellProtocolBehavior' -ErrorAction SilentlyContinue

Availability