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!

4 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. we have a tendency to tend to stand live covering most of the cities and still providing you with the only services within http://www.unitedcheckcashing.com really short quantity with high notch satisfaction. we have a tendency to area unit able to trace North American nation 24/7 and you are constantly welcome.check cashing

    ReplyDelete
  4. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.
    or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

    ReplyDelete