Author Topic: How to Unlock a Word Document under Windows  (Read 9148 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2145
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
How to Unlock a Word Document under Windows
« on: กันยายน 25, 2015, 01:03:11 PM »
How to Unlock a Word Document under Windows

Some authors (for example, of forms to be filled out) "lock" their documents under Windows. This is annoying, as it prevents you from fixing errors or adding anything to the document.

If you web-search on "unlock word document" or "unlocking word document" you get a bunch of pages with advice that doesn't work under Windows, or pointers to paid software. Here is a method that works, does not need a password, and is free:

1. Open your document in Word, then use "Save as..." to save it in ".xml" format.

2. Open the .xml file in wordpad, notepad, emacs, or other text editor of your choice.

3. Search for the string w:enforcement="1" (or w:enforcement="on").

4. Replace the "1" with a "0" (or replace "on" with "off") to disable enforcement. (This step unlocks the document.)

5. Save the .xml document from your text editor.

6. Open the .xml document in Word.

7. Choose "Save as..." and save it as a .doc or .docx file.

Your original Word document can now be edited normally. Enjoy!


credit : https://people.csail.mit.edu/teller/misc/unlockworddoc.html