Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · RemovableStorage.admx

RemovableStorage.admx: 33 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

All Removable Storage classes: Deny all access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices
Value nameDeny_All
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Configure access to all removable storage classes.

This policy setting takes precedence over any individual removable storage policy settings. To manage individual classes, use the policy settings available for each class.

If you enable this policy setting, no access is allowed to any removable storage class.

If you disable or do not configure this policy setting, write and read accesses are allowed to all removable storage classes.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > All Removable Storage classes: Deny all access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'Deny_All' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableStorageClasses_DenyAll_Access_1

All Removable Storage classes: Deny all access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices
Value nameDeny_All
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Configure access to all removable storage classes.

This policy setting takes precedence over any individual removable storage policy settings. To manage individual classes, use the policy settings available for each class.

If you enable this policy setting, no access is allowed to any removable storage class.

If you disable or do not configure this policy setting, write and read accesses are allowed to all removable storage classes.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > All Removable Storage classes: Deny all access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'Deny_All' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableStorageClasses_DenyAll_Access_2

All Removable Storage: Allow direct access in remote sessions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices
Value nameAllowRemoteDASD
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor 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.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > All Removable Storage: Allow direct access in remote sessions

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'AllowRemoteDASD' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name Removable_Remote_Allow_Access

CD and DVD: Deny execute access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Execute
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies execute access to the CD and DVD removable storage class.

If you enable this policy setting, execute access is denied to this removable storage class.

If you disable or do not configure this policy setting, execute access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > CD and DVD: Deny execute access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Execute' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CDandDVD_DenyExecute_Access_2

CD and DVD: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the CD and DVD removable storage class.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > CD and DVD: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CDandDVD_DenyRead_Access_1

CD and DVD: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the CD and DVD removable storage class.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > CD and DVD: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CDandDVD_DenyRead_Access_2

CD and DVD: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the CD and DVD removable storage class.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > CD and DVD: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CDandDVD_DenyWrite_Access_1

CD and DVD: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the CD and DVD removable storage class.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > CD and DVD: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CDandDVD_DenyWrite_Access_2

Custom Classes: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
GUID for custom removable storage class:Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read\List\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting denies read access to custom removable storage classes.

If you enable this policy setting, read access is denied to these removable storage classes.

If you disable or do not configure this policy setting, read access is allowed to these removable storage classes.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Custom Classes: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CustomClasses_DenyRead_Access_1

Custom Classes: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
GUID for custom removable storage class:Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read\List\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting denies read access to custom removable storage classes.

If you enable this policy setting, read access is denied to these removable storage classes.

If you disable or do not configure this policy setting, read access is allowed to these removable storage classes.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Custom Classes: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Read' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CustomClasses_DenyRead_Access_2

Custom Classes: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
GUID for custom removable storage class:Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write\List\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting denies write access to custom removable storage classes.

If you enable this policy setting, write access is denied to these removable storage classes.

If you disable or do not configure this policy setting, write access is allowed to these removable storage classes.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Custom Classes: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CustomClasses_DenyWrite_Access_1

Custom Classes: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
GUID for custom removable storage class:Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write\List\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting denies write access to custom removable storage classes.

If you enable this policy setting, write access is denied to these removable storage classes.

If you disable or do not configure this policy setting, write access is allowed to these removable storage classes.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Custom Classes: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\Custom\Deny_Write' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name CustomClasses_DenyWrite_Access_2

Floppy Drives: Deny execute access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Execute
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies execute access to the Floppy Drives removable storage class, including USB Floppy Drives.

If you enable this policy setting, execute access is denied to this removable storage class.

If you disable or do not configure this policy setting, execute access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Floppy Drives: Deny execute access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Execute' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name FloppyDrives_DenyExecute_Access_2

Floppy Drives: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the Floppy Drives removable storage class, including USB Floppy Drives.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Floppy Drives: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name FloppyDrives_DenyRead_Access_1

Floppy Drives: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the Floppy Drives removable storage class, including USB Floppy Drives.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Floppy Drives: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name FloppyDrives_DenyRead_Access_2

Floppy Drives: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the Floppy Drives removable storage class, including USB Floppy Drives.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Floppy Drives: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name FloppyDrives_DenyWrite_Access_1

Floppy Drives: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the Floppy Drives removable storage class, including USB Floppy Drives.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Floppy Drives: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f56311-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name FloppyDrives_DenyWrite_Access_2

Removable Disks: Deny execute access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Execute
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies execute access to removable disks.

If you enable this policy setting, execute access is denied to this removable storage class.

If you disable or do not configure this policy setting, execute access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Removable Disks: Deny execute access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Execute' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableDisks_DenyExecute_Access_2

Removable Disks: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to removable disks.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Removable Disks: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableDisks_DenyRead_Access_1

Removable Disks: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to removable disks.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Removable Disks: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableDisks_DenyRead_Access_2

Removable Disks: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to removable disks.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Note: To require that users write data to BitLocker-protected storage, enable the policy setting "Deny write access to drives not protected by BitLocker," which is located in "Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption\Removable Data Drives."

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Removable Disks: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableDisks_DenyWrite_Access_1

Removable Disks: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to removable disks.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Note: To require that users write data to BitLocker-protected storage, enable the policy setting "Deny write access to drives not protected by BitLocker," which is located in "Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption\Removable Data Drives."

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Removable Disks: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name RemovableDisks_DenyWrite_Access_2

Set time (in seconds) to force reboot

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices
Value nameRebootTimeinSeconds_state
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Time (in seconds):RebootTimeinSecondsREG_DWORDNumber 0 to max
What it does (vendor explanation)

This policy setting configures the amount of time (in seconds) that the operating system waits to reboot in order to enforce a change in access rights to removable storage devices.

If you enable this policy setting, you can set the number of seconds you want the system to wait until a reboot.

If you disable or do not configure this setting, the operating system does not force a reboot.

Note: If no reboot is forced, the access right does not take effect until the operating system is restarted.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Set time (in seconds) to force reboot

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'RebootTimeinSeconds_state' -Value 1 -PropertyType DWord -Force
# Time (in seconds):
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'RebootTimeinSeconds' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name AccessRights_RebootTime_1

Set time (in seconds) to force reboot

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices
Value nameRebootTimeinSeconds_state
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Time (in seconds):RebootTimeinSecondsREG_DWORDNumber 0 to max
What it does (vendor explanation)

This policy setting configures the amount of time (in seconds) that the operating system waits to reboot in order to enforce a change in access rights to removable storage devices.

If you enable this policy setting, you can set the number of seconds you want the system to wait until a reboot.

If you disable or do not configure this setting, the operating system does not force a reboot.

Note: If no reboot is forced, the access right does not take effect until the operating system is restarted.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Set time (in seconds) to force reboot

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'RebootTimeinSeconds_state' -Value 1 -PropertyType DWord -Force
# Time (in seconds):
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices' -Name 'RebootTimeinSeconds' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name AccessRights_RebootTime_2

Tape Drives: Deny execute access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Execute
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies execute access to the Tape Drive removable storage class.

If you enable this policy setting, execute access is denied to this removable storage class.

If you disable or do not configure this policy setting, execute access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Tape Drives: Deny execute access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Execute' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name TapeDrives_DenyExecute_Access_2

Tape Drives: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the Tape Drive removable storage class.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Tape Drives: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name TapeDrives_DenyRead_Access_1

Tape Drives: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to the Tape Drive removable storage class.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Tape Drives: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name TapeDrives_DenyRead_Access_2

Tape Drives: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the Tape Drive removable storage class.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > Tape Drives: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name TapeDrives_DenyWrite_Access_1

Tape Drives: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to the Tape Drive removable storage class.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > Tape Drives: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name TapeDrives_DenyWrite_Access_2

WPD Devices: Deny read access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
Enabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Read = 1 (REG_DWORD)
Disabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Read = 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to removable disks, which may include media players, cellular phones, auxiliary displays, and CE devices.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > WPD Devices: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name WPDDevices_DenyRead_Access_1

WPD Devices: Deny read access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}
Value nameDeny_Read
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
Enabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Read = 1 (REG_DWORD)
Disabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Read = 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies read access to removable disks, which may include media players, cellular phones, auxiliary displays, and CE devices.

If you enable this policy setting, read access is denied to this removable storage class.

If you disable or do not configure this policy setting, read access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > WPD Devices: Deny read access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Name 'Deny_Read' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name WPDDevices_DenyRead_Access_2

WPD Devices: Deny write access

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
Enabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Write = 1 (REG_DWORD)
Disabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Write = 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to removable disks, which may include media players, cellular phones, auxiliary displays, and CE devices.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: User Configuration > Administrative Templates > System > Removable Storage Access > WPD Devices: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name WPDDevices_DenyWrite_Access_1

WPD Devices: Deny write access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}
Value nameDeny_Write
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
Enabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Write = 1 (REG_DWORD)
Disabled also writesSoftware\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE} Deny_Write = 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting denies write access to removable disks, which may include media players, cellular phones, auxiliary displays, and CE devices.

If you enable this policy setting, write access is denied to this removable storage class.

If you disable or do not configure this policy setting, write access is allowed to this removable storage class.

Group Policy path: Computer Configuration > Administrative Templates > System > Removable Storage Access > WPD Devices: Deny write access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{6AC27878-A6FA-4155-BA85-F98F491D4F33}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\RemovableStorageDevices\{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}' -Name 'Deny_Write' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

File system and storageADMX: RemovableStorage.admx · policy name WPDDevices_DenyWrite_Access_2