Block suspicious macros in Office on Windows 10 S

Windows 10 S is a specific configuration of Windows 10 Pro that offers a familiar, productive Windows experience that’s streamlined for security and performance. Windows 10 S will only run software that is vetted to be safe. It will provide enterprise grade protection from threats on the Internet and in the Cloud.

Macros automate frequently-used tasks; many are created with VBA and are written by software developers. However, some macros pose a potential security risk.

In order to help keep our users safe, Office on Windows 10 S is configured, by default, to block macros in documents received from the Internet. Some of those scenarios could include:

  • Documents downloaded from internet web sites or consumer storage providers (like OneDrive, Google Drive, or Dropbox)

  • Documents attached to emails that have been received from outside the organization (where the organization uses the Outlook client and Exchange servers for email)

  • Documents opened from public shares hosted on the internet (such as files downloaded from file-sharing sites)

This feature is only available if you have an Office 365 subscription. If you are an Office 365 subscriber, make sure you have the latest version of Office.

How it works

Office uses the security zone information provided by Windows to determine if macros should be blocked. For example, if the location where a document originates from is considered the internet zone by Windows, then macros are disabled in the document, and the user is provided the following notification:

If you try to open a file from a suspicious location Office will block any macros.

If you're sure the file is safe and want to enable macros

It's important to know that you don't have to enable macros in order to view or edit the document. However, if you want the macro functionality, you can unblock the file in question. To do this you will have to have saved the file you want to unblock to a local hard drive or OneDrive. Open Windows File Explorer and find the file that you want to unblock. Right-click the file and choose Properties from the context menu. At the bottom of the General tab you should see a section for Security. Select the Unblock checkbox.

Right-click your file in Windows Explorer to unblock the macros.

The file should then be accessible from there normally.

More information

We're listening

This article was last updated on June 15th, 2017 as a result of your comments. If you found it helpful, and especially if you didn't, please use the feedback controls below to let us know how we can make it better.

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×