Scan encrypted macros in Excel Open XML workbooks

This policy setting controls whether encrypted macros in Open XML workbooks be are required to be scanned with anti-virus software before being opened.

If you enable this policy setting, you may choose one of these options:

- Scan encrypted macros: encrypted macros are disabled unless anti-virus software is installed. Encrypted macros are scanned by your anti-virus software when you attempt to open an encrypted workbook that contains macros.
- Scan if anti-virus software available: if anti-virus software is installed, scan the encrypted macros first before allowing them to load. If anti-virus software is not available, allow encrypted macros to load.
- Load macros without scanning: do not check for anti-virus software and allow macros to be loaded in an encrypted file.

If you disable or do not configure this policy setting, the behavior will be similar to the "Scan encrypted macros" option.

Supported on: At least Windows 7




  1. Scan encrypted macros (default)
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\excel\security
    Value Nameexcelbypassencryptedmacroscan
    Value TypeREG_DWORD
    Value0
  2. Scan if anti-virus software available
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\excel\security
    Value Nameexcelbypassencryptedmacroscan
    Value TypeREG_DWORD
    Value1
  3. Load macros without scanning
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\excel\security
    Value Nameexcelbypassencryptedmacroscan
    Value TypeREG_DWORD
    Value2


excel15.admx

Administrative Templates (Computers)

Administrative Templates (Users)