Scenario:
Since we have disabled file cabinet encryption, how can we decrypt the previously stored documents?
Answer:
A decryption job can be used to decrypt documents within a file cabinet. Please refer to the following steps in order to successfully utilize a decryption job;
(Note: The file cabinet must have encryption disabled in File Cabinet Configurations.)
1. First, we must obtain the File Cabinet GUID. Please see KBA-36863 to locate the file cabinet's GUID.
2. An XML will need to be created in the Background Process Service folder of the DocuWare installation. When creating the file in the specified location, please use DocumentTool.SampleDecryptSettings.xml as the XML file name.
(Note: Default location of the Background Process Service: C:\Program Files\DocuWare\Background Process Service)
3. Open the XML in Notepad, and in the XML will be the following:
<BatchDocumentSettings fileCabinetGuid="e3dcc667-3bb3-46fd-9b23-395bd28a0f52">admin
<DocumentsFilter fromStorageDateTime="2017-06-12T05:54:27" toStorageDateTime="2018-06-12T05:54:27" fromModificationDateTime="2017-06-12T05:54:27"
toModificationDateTime="2018-06-12T05:54:27" fromDocID="0" toDocID="1500">
<DiskNumbers>
<System.Int32>2</System.Int32>
<System.Int32>3</System.Int32>
</DiskNumbers>
</DocumentsFilter>
</BatchDocumentSettings>
**Note: Given this settings file, the job will decrypt all documents that are on disk numbers 2 & 3, have modification datetime between 2017-06-12T05:54:27 and 2018-06-12T05:54:27, storage datetime between 2017-06-12T05:54:27 and 2018-06-12T05:54:27, and DocId from 0 to 1500.**
4. To decrypt the entire file cabinet, only the file cabinet GUID will need to be replaced:
<BatchDocumentSettings fileCabinetGuid="0e455b69-63ei-4785-bb78-1c8dcbb54c70">
<DocumentsFilter>
</DocumentsFilter>
</BatchDocumentSettings>
5. Once everything is adjusted to your preference, save and close the XML.
6. To start the decryption workflow, 'cd' to the folder where Background Process Service is installed and enter the following command:
DocumentTool.exe -filename=DocumentTool.SampleDecryptSettings.xml -jobtype=3 -username="admin" -password="admin"
***Adjust filename, DocuWare username, and password accordingly.***
Depicted below is an example of the decryption workflow being executed:
7. Once the workflow has finished, the decryption process has now been completed.
KBA is applicable for On-Premise Organizations ONLY.