Skip to content
Home » How to fix This app has been blocked for your protection error on Heroku CLI

How to fix This app has been blocked for your protection error on Heroku CLI

To fix This app has been blocked for your protection error on Heroku CLI error follow below methods.

How to solve This app has been blocked for your protection error on Heroku CLI ?

Even if you run the application with administrative privileges, you will see the same issue. This issue occurs when your program was digitally signed using a revoked or in trusted certificate. Here’s how to get around the ‘This app has been blocked for your protection’ message on Windows 10.

Refer the given methods to solve the issue.

How to Fix This app has been blocked for your protection error in Windows using Elevated Command Prompt

To get around this issue, install or execute the application from an elevated Command Prompt.

  1. Get the app’s Full Path by Navigating to the application’s (.exe) location. Right-click on its shortcut and select Properties. When the Properties dialog box opens, note down the full path that you need later.
  2. Open an elevated Command Prompt window. [Press Windows + X , then hit A key on the keyboard to open it ]
  3.  Once the elevated Command Prompt window is opened then type the full path of the application that you want to install and press Enter.

Once done close the command prompt window.

How to Fix This app has been blocked for your protection error in Local Group Policy

By modifying the corresponding policy, you can avoid the error “This app has been blocked for your protection.” Here’s how it works:

  1. First, launch the Local Group Policy Editor. [ Press Win+R and then type in gpedit.msc and hit Enter ]
  2. In the left pane of Local Group Policy Editor, go to: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
  3. In the right pane, double-click on User Account Control: Run all administrators in Admin Approval Mode.
  4. Change the security setting to Disabled and click OK.

When you’re finished, exit Local Group Policy Editor and restart your computer.

Please keep in mind that changing the policy above will also cause UAC to be switched off automatically. However, simply turning off UAC will not resolve the problem “This software has been disabled for your protection.” You can also try turning off Windows SmartScreen, which is a really useful setting.

How to Bypass This app has been blocked for your protection error Using window PowerShell

  1. Just open window PowerShell as administrator.
  2. paste this below line in power shell terminal.
    New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force
  3. Then Just Restart your PC
  4. Run the program hopefully it works

Hope the above solution works.

Also read :

WARNING: Value for scheme.platlib does not match
Warning: invalid value encountered in double_scalars in Numpy