Hello Guys How are you all? Hope you all are fine. Today hiroku gives me an error message This app has been blocked for your protection in Windows 10, but I cannot solve it. it gives me This app has been blocked for your protection on Windows 10. So Here I am Explain to you all the possible solutions Here.
Without Wasting your time, Lets start This Article to Solve This Error in Anaconda.
How This app has been blocked for your protection This Error Occus ?
I have created app in heroku and then I have downloaded the Heroku CLI installer from here.
Whenever I try to install it, Windows gives me a message:
“This app has been blocked for your protection” and shows me that the Publisher is Unknown. Also windows does not give “More Info” option. The only thing I can do is click “Close”
How to fix Heroku CLI installer error “This app has been blocked for your protection” on Windows 10?
Solutions
Question: How to fix Heroku CLI installer error “This app has been blocked for your protection” on Windows 10?
Answer: Here we can do only one thing bypass the UAC prompt. Follow below step to bypass the UAC prompt. 1. Open CMD as administrator. 2. Open folder location of the installer (eg) cd c:\users\user\downloads\
. 3.Type heroku-x64.exe
or heroku-x86.exe
for 64-bit or 32-bit respectively. 4.Viola! The installer application should launch and bypass the UAC prompt
Solution 1 : Bypass the UAC prompt
Here we can do only one thing bypass the UAC prompt. Follow below step to bypass the UAC prompt.
- Open CMD as administrator
- Open folder location of the installer (eg)
cd c:\users\user\downloads\
- Type
heroku-x64.exe
orheroku-x86.exe
for 64-bit or 32-bit respectively. - Viola! The installer application should launch and bypass the UAC prompt
This Solution Worked For me.
Solution 2: Using window PowerShell
- Just open window PowerShell as administrator.
- paste this below line in terminal.
- New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force
- Then Just Restart your PC
- Run the program hopefully it works
Solution 3
The same problem happened at me and it is saying this app has been blocked for your protection I think there must be problem connected with updated version of current heroku cli hope they will fix it soon and they have reported solution for this bug at here https://devcenter.heroku.com/articles/heroku-cli
Solution 4
I’m using Windows 10 and have the same error like you for Windows installer. I have tried all the suggested work-around in here but ended up using NPM to install the Heroku-CLI.
npm install -g heroku
Source: https://devcenter.heroku.com/articles/heroku-cli#npm
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?