The file needs to be in
.docx format:- Create a back-up copy of the file.
- Change the extension from
.docxto.zip or unzip with 7zip, if installed.
- Open new
.zipfile and extract all files.
- In the extracted folder go to to
word\settings.xml.
- Open
settings.xmland remove the code from<w:documentProtectionto/>and save the file. You can either change w:enforcement value to 0 or remove the block entirely.
- Copy the new
settings.xmlto the original.zipfile and overwrite the old one. Or create a new zip file from the entire folder.
- Rename the
.zipto.docxand open file which is now protection-free!
Or:
- Open your document in Word, then save it in ".xml" format.
- Open the .xml doc in wordpad, emacs, or your favorite text editor.
- Search for the string w:enforcement="1".
- Replace the "1" with a "0" to disable enforcement (i.e., unlock the document).
- Save the document from your text editor.
- Open the .xml document in Word.
- Choose "Save as..." and save it as a .doc or .docx file.