ScrubDrop

ScrubDrop › Guides

Removing metadata from many Office files at once: how to run a batch and check it

Last updated: 19 October 2026

Short answer: Document Inspector cleans the document you have open, so a folder of files means either a macro that calls Office's own removal method on each file, or a tool that takes several files at once. Either way, a batch applies one set of choices to every file, and a file can come back unchanged or not at all. Work on copies, group the files that need the same choices, run the batch, then check it: count what came back, read why any file was left out, and open the files before you send them.

This page is about running many files through one pass. What each kind of hidden data is, and where it lives, is in hidden data types in Word, Excel and PowerPoint; the checks for a single file before it goes out are in the pre-send checklist.

Before you start

  1. Copy the folder. Run the batch on the copy. Microsoft's page on inspecting documents warns that "it is not always possible to restore the data that the Document Inspector removes", and a batch removes it from many files at once.
  2. Group the files by the choices they need. Tracked changes are the main reason: accepting them keeps the proposed text, rejecting them keeps the original (see accept or reject tracked changes). If one contract needs its changes rejected and the rest accepted, it goes in a batch of its own. The same applies to hidden sheets or slides that some files need to keep.
  3. Take out the files that will not go through. ScrubDrop cleans .docx, .xlsx or .pptx files. It refuses macro-enabled files (.docm, .xlsm, .pptm), the older binary formats (.doc, .xls, .ppt) and digitally signed files, because any change would break the signature. Files saved in the Strict Open XML format are refused too, even with a .docx, .xlsx or .pptx name; save them again in the ordinary format first. Excel binary workbooks (.xlsb) are not supported either. Deal with those separately.

Three ways to run a batch

Document Inspector, one file after another

Document Inspector is opened from the document itself: File › Info › Check for Issues › Inspect Document, as the Microsoft page above describes. For a handful of files, opening each one in turn is the plain route. It is also the slowest, and the easiest to get wrong on file twelve of forty.

A macro that calls RemoveDocumentInformation

Word, Excel and PowerPoint each have a method a macro can call on one file after another:

Two things to know before you rely on it. First, the lists are the whole of what each method can be asked to remove. Excel's list, for example, has no value of its own for hidden sheets, hidden rows or links to other workbooks. Do not assume the method removes them; check them separately. Second, the reference describes Word's revisions value only as "removes revision marks"; it does not say whether the changes are accepted or rejected. Try it on a copy of one file and compare the text before you run it on a folder.

A tool that takes several files at once

ScrubDrop Pro takes several .docx, .xlsx and .pptx files in one go, in your browser; the files are not uploaded. The free version takes one file at a time. In a batch:

The summary after the run says how many files were re-checked, how many were written and how many were not. Removing the structural categories (hidden content, links to other files, embedded objects and the rest) is part of Pro; the free version removes properties, comments and tracked changes.

Checking the batch

  1. Count. The number of files that came back should match the number you put in, less the ones listed as refused or not written. A missing file is easy to overlook in a ZIP of forty.
  2. Read the reasons. A refused file is still in its original state. Either fix what the reason names and run it again, or clean it by hand.
  3. Search the parts for a word you know. Pick a name that should be gone, such as an author or a client. Make a copy of a cleaned file, rename it to .zip, unzip it and search every file inside for that word. A search of the document in Word does not look in the parts that Word does not show.
  4. Match the files to the report. Before sending, compare the hash of each file you attach with the one the report gives for the file written. A file that was edited after cleaning will not match.
  5. Open each file. The re-check confirms that the chosen categories are gone and that the text you can read matches the original, after the tracked changes are accepted or rejected as you chose. It cannot judge whether the visible content is fit to send.

What a batch leaves in every file

Questions

Can Document Inspector clean a whole folder at once?

Document Inspector works on the document you have open, from File › Info › Check for Issues. For a folder, Word, Excel and PowerPoint each have a RemoveDocumentInformation method that a macro can call on one file after another; Microsoft's reference lists what each type of information covers.

Does a batch run treat every file the same way?

In ScrubDrop, yes: the categories you choose apply to every file in the batch, and so does the choice to accept or reject tracked changes. If some files need a different choice, put them in a separate batch.

What happens to a file that cannot be cleaned?

ScrubDrop lists it with the reason it was refused, or says it was not written if the re-check found a problem, and leaves it out of the ZIP. The other files are still written. Count what came back against what you put in.

Sources: the Microsoft pages linked on this page were checked on 19 October 2026.

Check one file first, for free, in your browser: one file at a time, the supported kinds of hidden data it finds are listed, and properties, comments and tracked changes are removed. ScrubDrop Pro adds several files at once and the audit report. Check a file.