Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / UAC: This App Has Been Blocked for Your Protection on Windows 10

March 30, 2021 Windows 10Windows Server 2016

UAC: This App Has Been Blocked for Your Protection on Windows 10

Many users have noticed that when running or installing some programs in Windows 10, “This app has been blocked for your protection” error pops up and prevents normal running or installing the applications. Interestingly, the problem occurs not only with third-party exe or msi files, but also with standard Microsoft msc snap-ins, launched via mmc.exe. Thus, even a user with local administrator privileges cannot run or install such applications.

This app has been blocked for your protection

An administrator has blocked you from running this app. For more information, contact the administrator.

This app has been blocked for your protection

The error “This publisher has been blocked from running software on your machine” can also appear.

The Windows 10 User Account Control (UAC) blocks running/installing applications with an expired or revoked digital signature. You can verify this in the properties of the executable file on the Digital Signatures tab. Most likely the Code Signing certificate has already expired.

If you are sure that the application is safe and was received from a trusted source, you can bypass this notification and run/install the program. There are some ways to bypass it:

Contents:
  • Running the Application from the Elevated Command Prompt
  • Unblock a File Downloaded from the Internet
  • Removing Digital Signature from a File
  • Disabling UAC
  • Run an App Using the Built-in Windows Administrator Account
  • MMC.exe App Has Been Blocked for Your Protection

Running the Application from the Elevated Command Prompt

You can try to bypass this software restriction block by running the command prompt with the administrator privileges and starting the application there:

Run application from elevant cmd

Alternatively, you can create a bat/cmd file with the application launch string and run the batch file as an administrator.

Unblock a File Downloaded from the Internet

If you downloaded the executable file from the Internet, check if it is blocked by the Windows security system. To do this, open the file properties and set the “Unblock” checkbox.

It is also possible to unblock a file using PowerShell:
Unblock-File install_filename.exe

Removing Digital Signature from a File

You can try to remove the code digital signature of a setup file (for example, using a third party FileUnsigner tool).

Disabling UAC

As far as it is the UAC system that blocks running an application, it can be temporarily disable it.

Important. The UAC is an important Windows protection feature, that is why UAC can only be turned off on a temporary basis. After the application is installed, go back to the default UAC settings.

You can disable UAC through Group Policies. UAC GPO settings are located under Windows Settings -> Security Settings -> Security Options section. The names of the UAC policies start from User Account Control. Open the option “User Account Control: Run all administrators in Admin Approval Mode” and set it to Disable. gpo disable uac admin approval mode for apps

To update the Group Policy settings, you need to restart your computer.

Note. The Local Group Policies Editor (gpedit.msc) is missing in Windows 10 Home editions. 

It is much more convenient and easier to turn off UAC through the registry. To do it, go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System in the Registry Editor (regedit.exe) and change EnableLUA value to 0.

disable user account control via EnableLUA registry parameter

Or run this command:
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

To turn User Account Control off, the system will require to restart the computer:

You must restart your computer to turn off User Account Control

Try to install the blocked application. In case of success, enable UAC back by setting the EnableLUA value to 1.

Run an App Using the Built-in Windows Administrator Account

If no of the previous methods helped, you can try to run/install the application with the built-in administrator account. There is no UAC for this account. How to enable the built-in Windows 10 administrator account is described here.

MMC.exe App Has Been Blocked for Your Protection

In some cases, Windows 10 may start blocking the launch of built-in Windows tool and programs. For example, mmc.exe program, through which run all Microsoft msc snap-ins (gpedit.msc, compmgmt.msc, services.msc, secpol.msc, devmgmt.msc, etc.).

mmc.exe error then launchin msc console: uac this app has been blocked for your protection

Try to run the Process Explorer and add the Verified Signer column. Most likely, in front of the applications, you will see the caption “No signature was present on the subject Microsoft Corporation”.

windows native exe processes with the caption No signature was present on the subject Microsoft Corporation

First of all, make sure that your Windows contains up-to-date root certificates. Update them if necessary.

Another possible problem is errors in Cryptographic Services. Make sure the CryptSvc service is running and configured to start automatically.

configure cryptsvc service to startup automatically

You can recreate the Cryptographic Service EDB database file with the following PowerShell commands:

Stop-Service cryptsvc
Rename-Item -Path "C:\Windows\System32\catroot2" -NewName catroot2.old
Restart-Computer

If all the described methods didn’t help, try to check and restore the integrity of Windows system files with the commands:

Sfc.exe /scannow
Dism.exe /Online /Cleanup-Image /Restorehealth

4 comments
5
Facebook Twitter Google + Pinterest
previous post
How to Unlock a File Locked by Any Process or SYSTEM?
next post
Running Multiple IIS Websites on the Same Port or IP Address

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

4 comments

Sagar December 2, 2015 - 5:20 am

This problem occurs most of the time in windows 10. 

Reply
mukesh June 29, 2016 - 12:49 pm

I had same problem, created .cmd file with the commands, so whenever i have to run the exe i just run the .cmd file as administrator, 😉 problem solved

Reply
Tiger April 17, 2023 - 11:31 am

thank you!

Reply
jackPot8 August 11, 2016 - 11:24 pm

There is an easy solution try to install it as TrustedInstaller , download the file 
http://www.sordum.org/9416/powerrun-v1-0-run-as-trustedinstaller/
and run it , close the Application and edit the .ini file like this:
TargetApp=cmd.exe
run it again and it will run the cmd as TrustedInstaller privileges now install your software over Cmd

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • Updating List of Trusted Root Certificates in Windows
  • How to Create a Wi-Fi Hotspot on your Windows PC
  • How to Sign an Unsigned Device Driver in Windows
  • How to Download APPX File from Microsoft Store for Offline Installation?
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top