Konfiguruj filtr Windows Defender SmartScreen: wartość rejestru EnableSmartScreen i 1 więcej (EnableSmartScreen)KomputerHKLM\Software\Policies\Microsoft\Windows\System

Identyfikator zasady
EnableSmartScreen
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej system Windows Server 2012, Windows 8 lub Windows RT
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Składniki systemu Windows › Eksplorator plików

Rejestr

EnableSmartScreen

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

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

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

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

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

ShellSmartScreenLevel

REG_SZKomputer
Wartość włączona
Zależy od wartości opcji
Element
Wybierz jedno z następujących ustawień:
Opcje
PozycjaZapisana wartość
Ostrzegaj i uniemożliwiaj obejścieBlock
OstrzegajWarn
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; Opcje (użyj tylko jednej)
; Ostrzegaj i uniemożliwiaj obejście
"ShellSmartScreenLevel"="Block"
; Ostrzegaj
"ShellSmartScreenLevel"="Warn"
CMD
:: Opcje (użyj tylko jednej)

:: Ostrzegaj i uniemożliwiaj obejście
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Block" /f
:: Ostrzegaj
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Warn" /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Ostrzegaj i uniemożliwiaj obejście
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Block' -Force | Out-Null
# Ostrzegaj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Warn' -Force | Out-Null