Access denied when trying to run copied or downloaded exe/msi/batch from Internet

Windows has security feature named SmartScreen which will prevent you from running unknown applications. When this feature is turned on and you try to run executable app you will not get any notification and nothing will happen on the screen. If you try to run the same app from CMD you will get message “Access denied“.

To unblock the application you can right click and go to Properties and tick the Unblock checkbox.

If you have downloaded multiple apps and you want to do this for parent directory and everything inside you can use PowerShell with the command bellow:

get-childitem "C:\Users\terminal.ovh\Downloads" | unblock-file

All executable files under Download directory will be unblocked.