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.
- Open a protected document in MS Word
- Save as "Web Page (*.htm; *.html)", close Word
- Open html-document in any Text-Editor
- Search
<w:UnprotectPassword>
tag, the line reads something like that:<w:UnprotectPassword>ABCDEF01</w:UnprotectPassword>
(password is already in hex-format) - Keep the "password" in mind
- Open original document (.doc) with any hex-editor
- 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)
- Overwrite all 4 double-bytes with 0x00, Save, Close
- Open document with MS Word, Select "Tools / Unprotect Document" (password is blank)