Ever run into situation where someone sends you a read-only password protected Word document, but wants you to make changes?
Here's how to crack it if you are using the newer versions of Word:
If you are using office XP or 2003, you can change the view to HTML-Code using Microsoft Script-Editor by pressing the [Alt]+[Shift]+[F11] key combination.
Search for "Password" and you will find somethimg like this:
<w:DocumentProtection>ReadOnly</w:DocumentProtection>
<w:UnprotectPassword>19E8E61E</w:UnprotectPassword>
To remove the protection:
-Just remowe those two lines, and after saving the document , the protection is gone.
To remove the password:
-replace the Password, here "19E8E61E", with "00000000", save the Document and close "Script-Editor".
Alternative you can save your document as .html and use a html-Editor.
Now if I could only figure out how to crack protected Acrobat files.
Note that this does not work for File Open password protected Office files. Office encrypts the files with a 40 bit key for this type of protection. To break that you have to use either a brute force password hacker or a decrypter that tries all possible key combos until it finds the right one.
There's actually a free command line utility, named GuaWord that will decrypt Word documents. Keep in mind that it takes a few days to go through all the combinations to find the right one.
There are also other 3rd party tools to do the same thing that cost from between $30-60 dollars for a single system license.
great tips....you rule man.. i owe you
Posted by: test | Tuesday, September 02, 2008 at 12:40 AM
Thanks! Worked like a charm.
Posted by: Rupert | Tuesday, September 09, 2008 at 08:50 AM
Hi you have a typeo in this posting
To remove the protection:
-Just remowe those two lines, and after saving the document , the protection is gone
Should read:
To remove the protection:
- Just remove those two lines, and after saving the document , the protection is gone
Posted by: Rupert Russell | Tuesday, September 09, 2008 at 09:09 AM
Thanks You!!! I don't know how I found your solution. But there is an old Chinese saying that "The Master will come when the Student is Ready" I was ready and you appeared. I got the file that needed to be worked on and searched for your solution and within ten (10) minutes the file was ready and two satifised users.
Posted by: Mike | Wednesday, October 01, 2008 at 01:14 PM
Thanks mate, this is good.
Posted by: gUt | Tuesday, October 28, 2008 at 05:56 AM
Hi..
Have some query regarding WordML.
We can save a Word file as abc.xml and can view the WML code of the file.
I want to provide the password and readonly attributes to the word file, but
when I save the file as xml it doest work.
Can you plz tell me how to provide Authentication in Word files (Saved as
.xml), so that when we open the (.xml) file the Authentication should work,
which we provide during saving the file.
Note : The following Code doesn't work.
ReadOnly
19E8E61E
Thanks in advance.
ByE
Posted by: Satish | Sunday, November 09, 2008 at 11:15 PM
Worked a treat on a Word document - do have a simple fix for protected Excel files.
Pleasse help!
Posted by: David | Wednesday, November 12, 2008 at 10:16 AM
it does not work at all
Posted by: rishabh | Thursday, December 11, 2008 at 03:29 AM
I found this page in a Google link an still in 2008 it worked for me (Office 2003) Thanks a lot !!
Posted by: Monique Verheijen | Friday, December 12, 2008 at 01:46 AM
Thank you. That saved my butt.
Posted by: stevemac76 | Thursday, December 18, 2008 at 08:06 AM
Thanks a lot. It worked as you said.
Posted by: Nelson | Wednesday, February 04, 2009 at 06:38 AM
Can't tell you how much I appreciate that. Thank you.
Posted by: Wonderthing | Friday, February 27, 2009 at 04:56 PM
Thanks Alex, you're a lifesaver! You just saved me many hours' work!
Posted by: Elizabeth B | Monday, March 02, 2009 at 07:42 AM
Thanks man! my normal tricks didnt work... i guess i just needed a litle techie touch.
Posted by: Brandi | Wednesday, May 20, 2009 at 10:15 AM