Open in the explorer

All Removable Storage: Allow direct access in remote sessions

Tout stockage amovible : permet l’accès direct pendant des sessions à distance

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Removable Storage Access FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Accès au stockage amovible
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
RemovableStorage.admx
Internal name
RemovableStorage/Removable_Remote_Allow_Access

Explanation

This policy setting grants normal users direct access to removable storage devices in remote sessions.

If you enable this policy setting, remote users can open direct handles to removable storage devices in remote sessions.

If you disable or do not configure this policy setting, remote users cannot open direct handles to removable storage devices in remote sessions.

French text from Windows 11 26H2

Ce paramètre de stratégie octroie aux utilisateurs un accès direct aux dispositifs de stockage amovible au cours de sessions à distance.

Si vous activez ce paramètre de stratégie, les utilisateurs distants peuvent ouvrir des poignées directes sur les dispositifs de stockage amovibles au cours des sessions à distance.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs distants ne peuvent pas ouvrir de poignées directes sur les dispositifs de stockage amovible au cours des sessions à distance.

Registry

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": RemovableStorage/Removable_Remote_Allow_Access
$k = 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices'
Remove-ItemProperty -Path $k -Name 'AllowRemoteDASD' -ErrorAction SilentlyContinue

Availability