Configurar o Windows Defender SmartScreen: valor do Registro EnableSmartScreen e mais 1 (EnableSmartScreen)ComputadorHKLM\Software\Policies\Microsoft\Windows\System
- ID da política
- EnableSmartScreen
- Escopo
- Configuração do Computador
- Compatível com
- Windows Server 2012, Windows 8 ou Windows RT
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Componentes do Windows › Explorador de Arquivos
Registro
EnableSmartScreen
REG_DWORDComputadorHKLM\Software\Policies\Microsoft\Windows\System Chave atual
- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System] ; Opções (use apenas uma) ; Habilitada "EnableSmartScreen"=dword:00000001 ; Desabilitada "EnableSmartScreen"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 0 -Force | Out-Null
ShellSmartScreenLevel
REG_SZComputadorHKLM\Software\Policies\Microsoft\Windows\System Chave atual
- Valor habilitado
- Depende do valor da opção
- Elemento
- Selecione uma das seguintes configurações:
| Item | Valor armazenado |
|---|---|
| Avisar e evitar bypass | Block |
| Avisar | Warn |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System] ; Opções (use apenas uma) ; Avisar e evitar bypass "ShellSmartScreenLevel"="Block" ; Avisar "ShellSmartScreenLevel"="Warn"
CMD
:: Opções (use apenas uma) :: Avisar e evitar bypass reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Block" /f :: Avisar reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Warn" /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null # Opções (use apenas uma) # Avisar e evitar bypass New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Block' -Force | Out-Null # Avisar New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Warn' -Force | Out-Null