Default setting for third-party storage partitioning (obsolete): registry value DefaultThirdPartyStoragePartitioningSettingUserHKCU\Software\Policies\Microsoft\Edge

Policy ID
DefaultThirdPartyStoragePartitioningSetting
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 115-145, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Content settings

Registry

DefaultThirdPartyStoragePartitioningSetting

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Default setting for third-party storage partitioning
Options
ItemStored value
Allow third-party storage partitioning by default.1
Disable third-party storage partitioning.2
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Allow third-party storage partitioning by default.
"DefaultThirdPartyStoragePartitioningSetting"=dword:00000001
; Disable third-party storage partitioning.
"DefaultThirdPartyStoragePartitioningSetting"=dword:00000002
CMD
:: Options (use only one)

:: Allow third-party storage partitioning by default.
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultThirdPartyStoragePartitioningSetting" /t REG_DWORD /d 1 /f
:: Disable third-party storage partitioning.
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultThirdPartyStoragePartitioningSetting" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Allow third-party storage partitioning by default.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultThirdPartyStoragePartitioningSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# Disable third-party storage partitioning.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultThirdPartyStoragePartitioningSetting' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Allow third-party storage partitioning by default.
"DefaultThirdPartyStoragePartitioningSetting"=dword:00000001
; Disable third-party storage partitioning.
"DefaultThirdPartyStoragePartitioningSetting"=dword:00000002
CMD
:: Options (use only one)

:: Allow third-party storage partitioning by default.
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultThirdPartyStoragePartitioningSetting" /t REG_DWORD /d 1 /f
:: Disable third-party storage partitioning.
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultThirdPartyStoragePartitioningSetting" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Allow third-party storage partitioning by default.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultThirdPartyStoragePartitioningSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# Disable third-party storage partitioning.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultThirdPartyStoragePartitioningSetting' -PropertyType DWord -Value 2 -Force | Out-Null