Disable Word 97–2003 Document Scanning

Scenario/Problem: You want to disable extra checks on Word 97–2003 documents loaded by Word Services.

Solution: Use the DisableBinaryFileScan parameter with the Set-SPWordConversionServiceApplication cmdlet.

DisableBinaryFileScan is a switch parameter. By default, it is false, and Word Services performs additional checks on legacy Word documents (Word 97–2003). If you trust all sources of Word documents, you can disable this additional scanning by using Set-SPWordConversionServiceApplication with the DisableBinaryFileScan switch parameter, as shown in Listing 25.9.

Listing 25.9. Disabling the Scanning of Word 97–2003 Documents

Set-SPWordConversionServiceApplication-Identity "Word Automation Services" ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.