Secure your business

Turn on malware detection

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.
Art with text: Admin center is changing, See https://aka.ms/aboutM365Preview.

  1. From the admin center at https://admin.microsoft.comOffice 365 admin center, choose Show more > Admin centers > Security & Compliance.

  2. Choose Threat management > Policy.

  3. From the policies available, choose Anti-malware.

  4. On the Anti-malware page, double-click the Default policy to open it, and then choose settings.

  5. Under Common Attachment Types Filter, choose On to block sending and receiving of the file types in the list.

    Optionally, add or remove file types from the File Types list.

  6. To receive a notification every time a message containing one of these file types is blocked, select the two check boxes under Administrator Notifications and enter your email address for both.

  7. To customize the message that is sent when a file type is blocked, select Use customized notification text and fill in the required fields.

  8. Choose Save.

    If you want to add another policy, choose the plus (+) sign at the top of the Anti-malware page, and then repeat these steps.

Microsoft 365 provides basic protection against malware for your business by preventing potentially dangerous files, such as JavaScript, batch, and executables from being opened in Outlook. You can change or increase this level of protection by adding or removing potentially dangerous files for your business.

From the admin center, select Show more, Admin centers, then Security & Compliance.

Select Threat management, then Policy. Select Anti-malware. Double-click to open the default policy.

Then select settings. Under Common Attachment Types Filter, select On. By default, this blocks sending and receiving the file types in the list. You can add or remove file types from here.

To receive a notification every time a message containing one of these file types is blocked, check the two notification boxes and type your email address in the recipient field. You can optionally customize the message that is sent when a file type is blocked.

Select Save, and you're done. To add additional policies, select the plus (+) sign.

The message you receive when a file is blocked looks like this.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

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.

×