Disable binding directly to IPropertySetStorage without intermediate layers.
Désactiver la liaison directe à IPropertySetStorage sans couche intermédiaire
Explanation
Changes the behavior of IShellFolder::BindToObject for IID_IPropertySetStorage to not bind directly to the IPropertySetStorage implementation, and to include the intermediate layers provided by the Property System. This behavior is consistent with Windows Vista's behavior in this scenario.
This disables access to user-defined properties, and properties stored in NTFS secondary streams.
Modifie le comportement d’IShellFolder::BindToObject pour ne pas lier directement IID_IPropertySetStorage à l’implémentation d’IPropertySetStorage et pour inclure les couches intermédiaires fournies par le système de propriétés. Dans ce cas, le comportement est identique à celui observé dans Windows Vista.
Ce paramètre désactive l’accès aux propriétés définies par l’utilisateur et aux propriétés stockées dans les flux NTFS secondaires.
Registry
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
DisableBindDirectlyToPropertySetStorage
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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.
Computer (HKLM)
Enable
# Enable: WindowsExplorer/DisableBindDirectlyToPropertySetStorage
$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 'DisableBindDirectlyToPropertySetStorage' -Value 1 -Type DWordDisable
# Disable: WindowsExplorer/DisableBindDirectlyToPropertySetStorage
$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 'DisableBindDirectlyToPropertySetStorage' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsExplorer/DisableBindDirectlyToPropertySetStorage
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableBindDirectlyToPropertySetStorage' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"