View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Password recovery for MSWord

How did it instruct you to open the encrypted document in Word if you don't
have the password?

Presumably this refers only to documents protected for forms? In which case
you don't need to perform that rigmarole. You can open the document in the
script editor ALT+F11 and remove the password directly by overwriting it
with zeros. Save the document from the script editor and the protection is
removed. See http://www.gmayor.com/Remove_Password.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


kevo wrote:
I recently lost a password to a MSword document i had saved and while
trying to figure out a way to recover the password i came across these
instructions on numerous websites:

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:UnprotectPasswordABCDEF01/w:UnprotectPassword
5.) Keep the "password" in mind
6.) Open original document (.doc) with any hex-editor
7.) Search for hex-values of the password (reverse order!)
8.) Overwrite all 4 double-bytes with 0x00, Save, Close
9.) Open document with MS Word, Select "Tools / Unprotect Document"
(password is blank)


Apperently this is a loophole someone discovered that allows anybody
to gain access to a protected word or excel document.
But why the hell would you be hacking into a protected document to
change the password if you can already open it to begin with??
This is so stupid.
If anybody can help me with this, i would be greatly appreciated. I
need a way to regain access to a document and these instructions are
not making sense to me.

kevin