We are currently battling with getting rid of old DOC, XLS, PPS, PPT files on our file shares. So far we used the Office File Converter to convert them to the new file formats which worked quite well. Now, after a few days of converting a few thousand files we realized that OFC didn´t convert the write protected files of Word properly but only some non-readable content which is not related to the original files.

We are therefore looking for a way to track down these write protected Word files.

Write protection refers to the password dialogue that you see when you open the file in MS Word which gives you the option of opening the file write-protected. When opening a file with that write-protection you also have the option of saving/converting it into the DOCX format and it will preserve the write protection i.e. the password dialogue comes up again when opening the DOCX file.

Does anyone have an idea how that can be done?

  • 1
    What "write protection" are you exactly referring to? – Massimo Aug 15 '19 at 11:13
  • I don't think there's a native way to do it, but there are third party utilities that claim to be able to find them. - google.com/… – joeqwerty Aug 15 '19 at 11:39
  • Thank you for your help joeqwerty, one of the tools worked fine – Julius Mensing Aug 16 '19 at 10:06

You can find all the .doc files (for example) having the ReadOnly flag with this Powershell command:

Get-ChildItem -Path c:\temp\*.doc -Recurse | select Name,IsReadOnly | where {$_.IsReadOnly -eq $true}
  • 3
    I don't think he's talking about that NTFS flag... – Massimo Aug 15 '19 at 11:13
  • 1
    Right. It sounds like the OP is referring to password protected Word documents. – joeqwerty Aug 15 '19 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.