What does Windows error code 6826 (ERROR_TXF_DIR_NOT_EMPTY) mean?

 
Previous Next
ERROR_CANT_CROSS_RM_BOUNDARY ERROR_INDOUBT_TRANSACTIONS_EXIST

ERROR_TXF_DIR_NOT_EMPTY

The requested TxF maintenance operation requires an empty resource-manager directory

ERROR_TXF_DIR_NOT_EMPTY is a Transactional NTFS (TxF) file-system status. The system status refers specifically to the `$Txf` directory used by Transactional NTFS resource-manager state. The requirement for an empty directory belongs to a TxF maintenance or initialization transition; it is not a general rule that applications should purge the directory during ordinary file I/O.

Treat the contents as transactional infrastructure, not temporary application files. First identify the supported operation that expected an empty directory and query the RM state. Pending recovery, existing RM metadata, or an incomplete previous maintenance action can explain why state remains. Preserve logs and relevant events before changing anything. Manual recursive deletion of `$Txf` can destroy recovery information and is not a safe generic fix; use the storage or product recovery procedure that owns the RM.

What to inspect

  • Identify the exact TxF maintenance or RM operation that requires the empty directory.
  • Query RM state and collect transaction or recovery events before cleanup.
  • Do not manually purge `$Txf` as a generic response to this error.

References


Looking for a different code? Search another status or error code.