Windows SmartScreen Registry Key for Execution Blocks

Windows Defender SmartScreen protects systems by flagging and restricting the execution of unrecognized or malicious applications. Administrators can manage whether SmartScreen displays a bypassable warning, enforces a strict block, or remains disabled by modifying specific keys in the Windows Registry (Regedit). This guide details the exact registry location, value names, and configuration settings required to control SmartScreen execution behavior across Windows.

The Primary Registry Key for SmartScreen Execution Behavior

The core registry path responsible for system-wide SmartScreen execution behavior and warning blocks is located under the policy settings for Windows Explorer:

Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System

Key Configuration Values

Within this key, the primary string value that dictates execution block behavior is:

The behavior of the execution prompt depends on the string data assigned to ShellSmartScreenLevel:

To ensure the policy takes effect, some versions of Windows also reference the following DWORD value in the same registry path:

How to Apply the Settings in Regedit

  1. Press Win + R, type regedit, and press Enter to launch the Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System. If the System key does not exist under Windows, right-click Windows, select New > Key, and name it System.
  3. Right-click in the right pane, select New > String Value, and name it ShellSmartScreenLevel.
  4. Double-click ShellSmartScreenLevel and set the Value data to Block (to prevent overrides) or Warn (to allow execution overrides).
  5. Click OK and restart the computer or restart the Windows Explorer process to apply the changes.