How to Fix ‘Windows Protected Your PC’ (SmartScreen Block) in Windows 11

Attempting to run an installer, developer utility, open-source application, or downloaded script in Windows 11 only for a prominent blue banner to interrupt execution stating “Windows protected your PC. Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk” is a standard security prompt.

Microsoft Defender SmartScreen inspects newly executed files against a cloud-based application reputation database. Because newly compiled programs, independent software, or niche utilities lack high-volume digital certificate telemetry from millions of PCs, SmartScreen treats them as “unrecognized” by default, even when the software is completely benign and virus-free.

Security Trigger Technical Origin Safe Resolution Path
Low Application Reputation Installer lacks Microsoft-trusted extended validation (EV) certificate Click “More info” and select “Run anyway”
Alternate Data Stream (ADS) Browser marked file with Zone.Identifier = 3 (Internet Zone) Unblock file properties in File Explorer or PowerShell
Missing “Run Anyway” Button SmartScreen policy set to “Block” rather than “Warn” in Group Policy Adjust App & browser control settings in Windows Security
Corrupted SmartScreen Cache Local security catalog desynchronised from Microsoft Security Intelligence Update Microsoft Defender antivirus definitions

Method 1: Use the “More Info” Link to Bypass the Prompt Directly

For verified, trusted software, SmartScreen provides an integrated bypass option directly within the notification window.

  1. When the blue “Windows protected your PC” dialog appears, do not click the prominent Don’t run button.
  2. Look beneath the descriptive warning text and click the hyperlinked More info text.
  3. The dialog will expand to display the application’s executable name and publisher.
  4. A secondary button labelled Run anyway will appear in the lower-right corner.
  5. Click Run anyway to execute the installer immediately.

Method 2: Unblock the File in File Explorer Properties

When downloading files via Chrome, Edge, or Firefox, Windows automatically attaches an NTFS Alternate Data Stream (ADS) tagging the file with Zone.Identifier = 3 (denoting the untrusted Internet Zone). Unblocking the file strips this security flag permanently.

  1. Open File Explorer and navigate to your downloaded installer.
  2. Right-click the file and select Properties (or press Alt + Enter).
  3. Under the General tab, look at the bottom section labelled Security.
  4. Select the checkbox labelled Unblock (“This file came from another computer and might be blocked to help protect this computer”).
  5. Click Apply, then click OK.
  6. Double-click the file. It will now launch smoothly without triggering the SmartScreen prompt.

Method 3: Unblock Files via PowerShell (Unblock-File)

If you downloaded a batch of scripts, archives, or multiple developer tools, unblocking them individually via File Explorer properties is tedious. PowerShell can strip the Internet Zone flag across files instantly.

  1. Press Windows Key + S, type powershell, right-click Windows PowerShell, and select Run as administrator.
  2. To unblock a single specific executable, run:
    Unblock-File -Path "C:\Path\To\installer.exe"
  3. To unblock all files inside a target downloads directory recursively, execute:
    Get-ChildItem -Path "C:\Users\YourUsername\Downloads" -Recurse | Unblock-File
  4. All files in the directory will immediately be cleared of the Zone.Identifier flag.

Method 4: Adjust SmartScreen Protection in Windows Security

If your Windows 11 installation is configured to completely block unrecognized apps without offering the “Run anyway” button, you can adjust the policy from hard block to advisory warning.

  1. Press Windows Key + I to open Settings.
  2. Navigate to Privacy & security > Windows Security.
  3. Click App & browser control.
  4. Click the link for Reputation-based protection settings.
  5. Under Check apps and files, ensure the toggle is set to Warn rather than hard block (or toggle it off temporarily if testing developer builds).
  6. Note: Keep “SmartScreen for Microsoft Edge” and “Phishing protection” enabled to maintain web browsing safety.

Method 5: Configure SmartScreen via Group Policy (Pro / Enterprise)

On domain-joined or enterprise machines, administrative Group Policy templates frequently lock SmartScreen into a mandatory blocking state.

  1. Press Windows Key + R, type gpedit.msc, and press Enter.
  2. Navigate to:
    Computer Configuration > Administrative Templates > Windows Components > File Explorer
  3. In the right-hand pane, locate Configure Windows Defender SmartScreen.
  4. Double-click the policy. Set it to Enabled, and in the options dropdown below, choose Warn (rather than Block).
  5. Click Apply, then click OK.

Evaluating File Safety Before Bypassing

While SmartScreen frequently flags benign open-source software, malicious payloads also trigger this exact blue alert. Before clicking “Run anyway” on an unfamiliar download, upload the file to VirusTotal.com to verify its cryptographic hash against dozens of independent antivirus engines, ensuring the file is truly safe before granting execution privileges.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.