Open in the explorer

Enable access-denied assistance on client for all file types

Activer l’assistance en cas d’accès refusé pour tous les types de fichiers

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Access-Denied Assistance FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Assistance en cas d’accès refusé
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
srm-fci.admx
Internal name
srm-fci/EnableShellAccessCheck

Explanation

This Group Policy Setting should be set on Windows clients to enable access-denied assistance for all file types

French text from Windows 11 26H2

Ce paramètre de stratégie de groupe doit être défini sur les clients Windows pour pouvoir activer l’assistance en cas d’accès refusé pour tous les types de fichiers.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer
Value name
EnableShellExecuteFileStreamCheck
StateValue written
EnabledREG_DWORD = 1
Disablednot defined in the ADMX

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: srm-fci/EnableShellAccessCheck
$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 'EnableShellExecuteFileStreamCheck' -Value 1 -Type DWord

Disable

# Disable: srm-fci/EnableShellAccessCheck
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer'
# disabledValue is not defined in the ADMX: no value is specified for the "Disabled" state

Revert to "Not configured"

# Revert to "Not configured": srm-fci/EnableShellAccessCheck
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'EnableShellExecuteFileStreamCheck' -ErrorAction SilentlyContinue

Availability