TechBriefly
  • Tech
  • Business
  • Crypto
  • Science
  • Geek
  • How to
  • About
    • About TechBriefly
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • Languages
      • 中文 (Chinese)
      • Dansk
      • Deutsch
      • Español
      • English
      • Français
      • Nederlands
      • Italiano
      • 日本语 (Japanese)
      • 한국인 (Korean)
      • Norsk
      • Polski
      • Português
      • Pусский (Russian)
      • Suomalainen
      • Svenska
No Result
View All Result
TechBriefly
Home How to
How to fix “Microsoft has blocked macros from running” error?

How to fix “Microsoft has blocked macros from running” error?

If you want to learn how to fix "Microsoft has blocked macros from running" error, you have come to the right place.

Önder ErdinebyÖnder Erdine
23 June 2022
in How to
Reading Time: 4 mins read
Share on FacebookShare on Twitter

In this article, we are going to be going over how to fix “Microsoft has blocked macros from running” error and help you prevent macro based malware.

You may prevent Macros and, as a result, Macro viruses or Macro targeted malware files from automatically opening and running in your Microsoft Office programs such as Word, Excel, or PowerPoint by using Group Policy or Registry Editor on Windows 11/10.

In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

How to fix Microsoft has blocked macros from running error?

Macros are a feature of Microsoft Office that allows you to automate small, frequent actions. They may be useful in and of themselves, but malware writers frequently misuse them to insert malware into your computer system.

A Macro virus is a kind of virus that uses Macros in Microsoft Office programs such as Microsoft Word, PowerPoint, or Excel. Cybercriminals send you an infected payload or a file that later downloads a harmful script via email with an intriguing or provocative subject line. A macro executes the command specified by the criminal once you open the document.

In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

By default, Microsoft has disabled Macro functionality. The Office’s default settings have been changed to disable all macros with notification. That is until you allow a macro to execute in Microsoft Word, the files will be opened in Protected View.

Macro-based malware has resurfaced and is on the rise once again. To help IT administrators prevent the danger of macros, Microsoft has released a new Group Policy update to all Office clients on the network that prevents Internet originating macros from loading in high-risk situations and helps businesses avoid macro attacks.

In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

Block Macros from running using Group Policy

The macro protection feature in Microsoft Office allows you to prevent macros from running in Word, Excel, and PowerPoint documents downloaded from the Internet. According to the macro warning setting, macros in Word, Excel, and PowerPoint files are enabled by default.

In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

Based on zone information introduced to the file by the Attachment Execution Service (AES), files are labeled as coming from the Internet. AES adds zone information to documents downloaded by Outlook, Internet Explorer, and other programs. If you want to restrict macros in Word, Excel, and PowerPoint files from the Internet, use the following instructions:

  1. To enable this policy setting, first, run gpedit.msc.
  2. Navigate to the following setting: User configuration > Administrative templates > Microsoft Word > Word options > Security > Trust Center.
  3. Double-click on Block macros from running in Office files from the Internet setting.
  4. Enable it.

To prevent macros from running in Office files that come from the Internet, set this security setting to Block. Even if you select “Enable all macros” in the Macro Settings area of the Trust Center, macros are prohibited from running. Users will also be notified that macros are prohibited from executing.

In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

If the user has previously trusted the Office file and it was saved to a safe location, macros will be permitted to execute. If you turn off or leave unconfigured this security setting, the settings in the Macro Settings section of the Trust Center control whether macros run when you open Office files from the Internet.

Prevent Macros from running using Registry

Follow these procedures to prevent Microsoft Office Macros from executing:

  1. Press Win+R to open the Run prompt.
  2. Type regedit > press the Enter button > click the Yes button.
  3. Navigate to Microsoft\office\16.0 in HKCU.
  4. Right-click on 0 > New > Key and name it as word.
  5. Right-click on word > New > Key and set the name as security.
  6. Right-click on security > New > DWORD (32-bit) Value.
  7. Set the name as blockcontentexecutionfrominternet.
  8. Double-click on it to set the Value data as 1.
  9. Click the OK button and restart your computer.
In this article, we are going to be going over how to fix "Microsoft has blocked macros from running" error and help you prevent macro based malware.
How to fix Microsoft has blocked macros from running error?

We hope that you enjoyed this article on how to fix the “Microsoft has blocked macros from running” error. If you did, we are sure that you will also enjoy reading about what is meant by Microsoft Office Picture Manager, or how to insert data from picture in Excel.

Tags: guidehow toWindows
ShareTweet
Önder Erdine

Önder Erdine

Related Posts

How to use the exit command in Windows Command Prompt

How to use the exit command in Windows Command Prompt

7 January 2026
How to view your TikTok watch history

How to view your TikTok watch history

7 January 2026
How to play the classic game of cribbage for beginners

How to play the classic game of cribbage for beginners

7 January 2026
Simple steps to create a stop-motion film using Photoshop

Simple steps to create a stop-motion film using Photoshop

7 January 2026

LATEST

How to use the exit command in Windows Command Prompt

How to view your TikTok watch history

How to play the classic game of cribbage for beginners

Simple steps to create a stop-motion film using Photoshop

Motorola unveils Moto Things accessories at CES 2026

Lenovo unveils Qira AI assistant for PCs and Motorola phones

iPolish unveils press-on acrylic smart nails at CES 2026

Meta unveils neural wristband expansions at CES 2026

How to download and migrate your content from Microsoft Stream

Easy ways to make a YouTube music video with just pictures

TechBriefly

© 2021 TechBriefly is a Linkmedya brand.

  • Tech
  • Business
  • Science
  • Geek
  • How to
  • About
  • Privacy
  • Terms
  • Contact
  • | Network Sites |
  • Digital Report
  • LeaderGamer

Follow Us

No Result
View All Result
  • Tech
  • Business
  • Crypto
  • Science
  • Geek
  • How to
  • About
    • About TechBriefly
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • Languages
      • 中文 (Chinese)
      • Dansk
      • Deutsch
      • Español
      • English
      • Français
      • Nederlands
      • Italiano
      • 日本语 (Japanese)
      • 한국인 (Korean)
      • Norsk
      • Polski
      • Português
      • Pусский (Russian)
      • Suomalainen
      • Svenska