Skip to main content

How to delete all confirmed messages from the KCS file structure

Article # 3035978 - Page views: 21


This article describes how to delete all confirmed messages from the KCS file structure, this might be useful during the initial deployment of a KCS system to remove all test messages. The procedure described in the solution section deletes all confirmed (send ok) messages without losing any user, settings or licenses.



All history of sent and received messages will be removed with no way to recover!!
It is advised to consult with a KCS support engineer before applying this solution. 


To delete the short-term archive you will need to delete the AARCHIVFILE0 with the TCDEL tool. This tool can be found in the 'C:\TCOSS\SYSTEM' folder.

  1. Stop TCOSS via the 'Kofax Communication Server Monitor'.
  2. Open an command prompt with administrative rights.
  3. Browse to: 'C:\TCOSS\SYSTEM'.
  4. Enter: "tcdel +MAILSYS/AARCHIVFILE0" (the last character is a zero)
  5. After a couple of seconds a message will be thrown back reporting that 1 file has been deleted.
  6. Start TCOSS again via the 'Kofax Communication Server Monitor'.

During start, TCOSS will create a new empty AARCHIVFILE0 file.


NOTE: Deleting the AARCHIVFILE0 file will cause a short-term archive lost state in TC/Archive and TC/Report which must be handled!

Level of Complexity 


Applies to  

Product Version Build Environment Hardware
Kofax Communication Server All       


Add any references to other internal or external articles


  • Was this article helpful?