
If you ever need to fix a Word file that has password protection to edit or to change the layout, here some steps to 'fix' the file. People working with FWO or IWT forms will encounter this sooner or later. First of all, make sure you have docx file. If not, open it in a recent version of Word and Save as docx. The docx format is essentially a zip file, open it up and go look for the file settings.xml, it should be in the folder 'word'. In this file there will be a tag w:documentProtection The full tag will look something like this: <w:documentProtection w:edit="forms" w:enforcement="1" w:cryptProviderType="rsaFull" w:cryptAlgorithmClass="hash" w:cryptAlgorithmType="typeAny" w:cryptAlgorithmSid="4" w:cryptSpinCount="100000" w:hash="Xv3QU9y3JapWOnYHzKB5BjDkpTQ=" w:salt="KLsz/Gdyaz/Sp6uUldztUw=="/> Delete this from the file, save it, repack it in the zip and voila, you now have an unprotected file. This procedure likely works with all recent Office file formats docx, pptx, xlsx, etc. cheers, Thomas
participants (1)
-
Thomas Abeel