Friday, January 8, 2010

Word 2007: How to enable editing on a read-only protected template

1. Rename word .docx file to .zip.  Unzip with your favorite zip program.
2. Open file (archive)/word/settings.xml in text editor.
3. Change property w:enforcement from "1" to "0" within node that reads something like this:

<w:documentProtection w:edit="forms" w:enforcement="0" w:cryptProviderType="rsaFull" w:cryptAlgorithmClass="hash" w:cryptAlgorithmType="typeAny" w:cryptAlgorithmSid="4" w:cryptSpinCount="100000" w:hash="KyPJG/+vxA4Let1njKgfCpSvJNc=" w:salt="dDf7X+CaLHLXe/H/1zZMqQ=="/>

4. Save and close file.
5. Rezip into another archive and rename file with .docx extension.

Viola!

5 comments:

  1. Thanks,that was really helpful!
    ReplyDelete
  2. I am getting an error in Word when opening the docx after editing. Word is complaining that all of the information is not present and will not open the file. The file size of the original docx is 31kb, after editing/rezipping the file size is 27kb.
    ReplyDelete
  3. Thanks for such useful info. To protect your house, try cheapest home insurance
    ReplyDelete
    Replies
    1. Hochwertige und diverse Werbeartikel für alle Branchen Qualitativ hochwertige personalisierte Werbeartikel
      in der Schweiz Werbeartikel, Werbemittel und viel mehr Werbegeschenke, Werbeartikel und viel mehr
      Giveaways
      http://weidmann.ch
      Delete
  4. It will be helpful to protect our file from unauthorized activity.
    ReplyDelete