Unprotect a Word Document [duplicate]

Possible Duplicate:
Can’t edit a specific document in Word 2007

How do I remove the password protection (unprotect) on a Word document if I don't know the password? (i.e. The protection provided by Tools > Unprotect Document)


One possible solution. I think there are others as well.

  1. Open a protected document in MS Word
  2. Save as "Web Page (*.htm; *.html)", close Word
  3. Open html-document in any Text-Editor
  4. Search <w:UnprotectPassword> tag, the line reads something like that: <w:UnprotectPassword>ABCDEF01</w:UnprotectPassword> (password is already in hex-format)
  5. Keep the "password" in mind
  6. Open original document (.doc) with any hex-editor
  7. Search for hex-values of the password, which is stored in reverse order. (e.g. If password is 0xAB 0xCD 0xEF 0x01. Then the password is in the .doc file as 0x01 0xEF 0xCD 0xAB)
  8. Overwrite all 4 double-bytes with 0x00, Save, Close
  9. Open document with MS Word, Select "Tools / Unprotect Document" (password is blank)