Remove Document Protection against Edit in Word 2007

Apr 11, 2011

I was trying to convert some case studies documents in SharePoint, to demostrate that you are able to author content in Word, and publish them in HTML using document conversion process. But the document conversion process keep crashing because of certain elements in the Word document. But when I tried to edit, the document is protected against edit.

Knowing Word 2007 files are just xml files in a zip file, I did the following.

  1. Rename the document to zip format (that is from .docx to .zip)
  2. Open it up in my favorite zip program
  3. Edit settings.xml in Notepad (its usually under a folder word)
  4. Look for "protection" in the xml file, and you will locate <w:documentProtection> element.
  5. Remove all the attributes in it.
  6. Update the zip file
  7. Rename the document back to docx
  8. Open it up in Word 2007, and you are able to edit the document...

0 comments:

Related Posts Plugin for WordPress, Blogger...

Total Pageviews

DISCLAIMER: None of the files shown here are hosted or transmitted by this server. We only link to the files already existing on the internet.300mbsunny.com does not reserve any rights to, nor claims copyright to, any movie names listed on these pages. All references are copyright to their respective owners.