Ukryj mechanizmy do usuwania informacji o strefie: wartość rejestru HideZoneInfoOnPropertiesUżytkownikHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments

Identyfikator zasady
AM_RemoveZoneInfo
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
System Windows XP Professional z dodatkiem SP2 lub nowszy
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Składniki systemu Windows › Menedżer załączników

Rejestr

HideZoneInfoOnProperties

REG_DWORDUżytkownik
Wartość włączona
1
Wartość wyłączona
0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]

; Opcje (użyj tylko jednej)
; Włączone
"HideZoneInfoOnProperties"=dword:00000001
; Wyłączone
"HideZoneInfoOnProperties"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Włączone
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "HideZoneInfoOnProperties" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "HideZoneInfoOnProperties" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Włączone
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Name 'HideZoneInfoOnProperties' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Name 'HideZoneInfoOnProperties' -PropertyType DWord -Value 0 -Force | Out-Null