What stays inside an .mpp file after you delete it

You rename the client in every task, empty the notes, press Save, and the plan looks clean. On screen it is. In the file, the old names can still be there, readable by anyone who looks at the bytes instead of the views. This page shows what we measured, why it happens, and the one habit that prevents it.

Saving over an .mpp file can keep the old task names and notes inside it, invisible in every view; Save As to a new file did not keep them in our tests

In short

  • Deleting or renaming something in Microsoft Project changes what the views show. It does not guarantee that the old text has left the file.
  • In our tests, saving over an existing .mpp kept the old task names and notes in the bytes; Save As to a new file did not.
  • You can check any file yourself with a few lines of PowerShell, without opening Project.

The test

In September 2026 we took three small test plans, with people in the resource sheet, recognisable task names and a few notes. On each one we made the same changes in Microsoft Project: tasks and resources renamed, notes emptied. Then we saved the result in two ways:

  1. on a copy of the original file, with an ordinary Save;
  2. with Save As, to a file name that did not exist yet.

Then we searched both results, byte by byte, for the original names and the text of the notes.

What was still in the file

The files saved with an ordinary Save still contained original task names and the text of the emptied notes, alongside the new values. Project did not show them anywhere: not in the Gantt chart, not in the task sheet, not in the notes box. They were simply still stored in the file. Any hex editor, or the search below, finds them.

The files written with Save As to a new name contained none of them. This happened on all three plans. The only original text left was what the test had not changed: the project name and, on one plan, the note attached to the project itself.

How the file was savedOld names and notes found in the bytes
Save over an existing fileYes
Save As to a new fileNo
Same three plans, same changes, two ways of saving; the result was the same on each plan. Microsoft Project desktop, September 2026.

Why it happens

Microsoft Project does not document how it writes an .mpp, so what follows is our reading of the result, not a specification. An .mpp file is a container with many internal parts. The test suggests that an ordinary Save updates those parts where they are: the new values are written, and the old ones are not necessarily wiped. Nothing in the program reads them any more, so you never see them again, but they travel with the file.

Save As to a new name produced a new file holding only what the plan contained at that moment. That is why it came out clean.

The rule

Whenever a plan is going to leave the company after you have removed something from it, finish with File > Save As to a new file name, never with Save over an existing file, and never by overwriting a previous «clean» copy. Do it in a neutral folder: the file also records the folders it was opened from and saved to. The complete procedure, with every place where sensitive data hides, is in How to remove sensitive data from an .mpp file before sharing it.

Check it yourself

You do not need Project, or any tool, to see what a file still contains. This PowerShell function reads the file as bytes and looks for a word in the two text encodings an .mpp uses. Change the path and the three words, and run it.

function Test-MppText([string]$Path, [string]$Text) {
    $bytes = [IO.File]::ReadAllBytes($Path)
    $all = [Text.Encoding]::Unicode.GetString($bytes) +
           [Text.Encoding]::Unicode.GetString($bytes, 1, $bytes.Length - 1) +
           [Text.Encoding]::Default.GetString($bytes)
    $all.Contains($Text)
}
"Acme", "Rossi", "C:\Users" | ForEach-Object { "$_ : " + (Test-MppText "C:\Share\plan-shared.mpp" $_) }

True means the word is still in the file, somewhere. Search for the three or four words you would least like the recipient to read: a client, a surname, your own user folder. A search like this proves what is absent, which no view in Project can.

What this does not cover

  • It is a test on three small plans, not an audit of every version of Project. Treat it as a reason to check, not as a guarantee either way.
  • Save As keeps whatever the plan still contains: a client name in a custom field, a view name or a calendar exception survives it. Clearing those is a separate job.
  • The search finds exact words. A name stored with a different spelling or case needs its own search.

Frequently asked questions

If I delete a task in Microsoft Project, is it gone from the file?

It is gone from every view. Whether its text is gone from the file depends on how you save: in our tests an ordinary Save over an existing file kept old text, while Save As to a new file did not.

Is Save As enough to make a plan safe to share?

No. It removes leftovers of what you changed; it keeps everything the plan still contains. Clear names, rates, notes, baselines and custom fields first, then Save As, then check the bytes.

Can I check an .mpp file without Microsoft Project?

Yes. The PowerShell function above reads the file as bytes and needs nothing else installed.


Disclosure: this is the blog of a company that makes project-control software. Nothing above requires our tool: Microsoft Project and PowerShell are enough.

If you prepare clean copies often, GanttShield for Microsoft Project writes its .mpp copy with Save As to a new file, or writes an .xml copy that never contained the old text, and leaves the original untouched.

Product pages

#MicrosoftProject #DataProtection #ProjectManagement #PowerShell

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top