sodcalculator

10 Tech How-To

Fix mmc.exe This App Has Been Blocked for Your Protection

Guide 10-53171 · Updated · Step by step

If you see “mmc.exe – This app has been blocked for your protection” when opening a Microsoft Management Console snap-in (like Device Manager, Disk Management, or Local Security Policy), the fix is to run the console as administrator or adjust the User Account Control (UAC) settings that are blocking it. This error typically appears because the console is trying to run with elevated privileges but the current UAC policy or file location is preventing it. Below is a complete guide to understanding and resolving the issue.

What Causes the “Blocked for Your Protection” Error?

Microsoft Management Console (mmc.exe) is a framework that hosts administrative tools called snap-ins. Many of these snap-ins require administrator rights to modify system settings. When you launch one from a standard (non-admin) account, Windows displays a UAC prompt. If the prompt is suppressed or the policy is misconfigured, Windows may block the executable entirely and show the “This app has been blocked for your protection” message. Common triggers include:

  • Running the console from a location that Windows considers unsafe (e.g., a network share or a temp folder).
  • User Account Control set to “Always notify” combined with a policy that disallows elevation for certain executables.
  • Corrupted file associations or a damaged mmc.exe file.
  • Group Policy restrictions that explicitly block mmc.exe or specific snap-ins.

How to Fix It: Step-by-Step Solutions

Try these fixes in order. The first is the most common solution.

  1. Run as Administrator – Right-click the shortcut or the .msc file (e.g., compmgmt.msc) and select “Run as administrator.” If you are already logged in as an administrator, you may still need to do this because UAC filters tokens even for admin accounts.
  2. Modify UAC Settings – Go to Control Panel > User Accounts > Change User Account Control settings. Move the slider to “Never notify” (not recommended for daily use) and restart. If the error disappears, the issue is UAC-related. Revert to a higher level after testing.
  3. Check Group Policy – Run gpedit.msc (if available) and navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Look for “User Account Control: Only elevate executables that are signed and validated” and set it to Disabled. Also check “User Account Control: Run all administrators in Admin Approval Mode” – if disabled, enable it.
  4. Verify the File Path – Ensure you are launching mmc.exe from C:\Windows\System32. If you are using a shortcut that points to a different location (like a USB drive), Windows may block it. Create a new shortcut with the full path: %windir%\system32\mmc.exe followed by the snap-in name.
  5. Re-register mmc.exe – Open an elevated Command Prompt and run sfc /scannow to repair system files. If that does not help, run DISM /Online /Cleanup-Image /RestoreHealth.
  6. Disable SmartScreen (Temporarily) – Windows SmartScreen can block unrecognized apps. Go to Windows Security > App & browser control > Reputation-based protection settings and turn off “Check apps and files” temporarily. Re-enable after testing.

Why Does This Happen on Some Snap-ins and Not Others?

Some snap-ins are designed to run without elevation (e.g., Event Viewer can open as a standard user, but viewing certain logs triggers a prompt). Others, like Disk Management or Services, always require admin rights. The error appears when the UAC prompt cannot be displayed – for instance, if you are running the console from a script or a scheduled task that runs with limited privileges. Also, if the snap-in is not digitally signed or is from an unknown publisher, SmartScreen may block it.

Common Mistakes and Misconceptions

  • Disabling UAC entirely – This is not a good fix because it reduces security. Instead, adjust the specific policy that blocks mmc.exe.
  • Deleting mmc.exe – Never delete the file. It is a core Windows component. If it is corrupted, use System File Checker.
  • Assuming it’s a virus – While malware can masquerade as mmc.exe, the legitimate file is located only in System32. Check the file path in Task Manager. If it’s elsewhere, scan for malware.

What to Do If the Error Persists

If you have tried all the above and still see the block, consider these advanced steps:

  • Create a custom MMC – Open mmc.exe as admin, then add the snap-in manually via File > Add/Remove Snap-ins. Save the console to your desktop. This often bypasses the block because the .msc file is created fresh.
  • Check for third-party security software – Some antivirus programs block mmc.exe. Temporarily disable them to test. If that works, add an exception.
  • Reset Windows – As a last resort, use “Reset this PC” (keeping your files) to restore system components.

How to Prevent This in the Future

  1. Always launch administrative tools by right-clicking and selecting “Run as administrator.”
  2. Keep UAC at the default level (notify only when apps try to make changes).
  3. Regularly run Windows Update to ensure system files are current.
  4. Use a standard user account for daily work and an admin account only when needed.

Frequently Asked Questions

Why does mmc.exe keep asking for permission even though I am an administrator?

Windows uses User Account Control to run even administrators with standard user rights unless the action requires elevation. This is a security feature. Right-click and choose “Run as administrator” to elevate the process.

Can I disable the block permanently?

Yes, by changing the UAC setting to “Never notify” or disabling the “Only elevate executables that are signed and validated” policy. However, this weakens system security and is not recommended for most users.

Is mmc.exe a virus?

The legitimate mmc.exe is located in C:\Windows\System32. If you see it elsewhere (like in AppData or Temp), it could be malware. Run a full antivirus scan and verify the file signature.

What is the difference between mmc.exe and .msc files?

mmc.exe is the host application. .msc files are snap-in consoles that tell mmc.exe which tools to load. For example, compmgmt.msc opens Computer Management. You can run mmc.exe alone and add snap-ins manually.

Will this fix work on Windows 10 and Windows 11?

Yes, the steps apply to both. The Group Policy editor (gpedit.msc) is not available on Windows Home editions – in that case, use the UAC slider or registry tweaks.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →