ERROR_TXF_METADATA_ALREADY_PRESENT - 6835 (0x1AB3)
Transaction metadata is already present on this file and cannot be superseded.
Updated: Feb 21, 2026
Technical Background
This error, ERROR_TXF_METADATA_ALREADY_PRESENT, is a specific error code in the Windows Transaction File System (TXF) subsystem. TXF is designed to provide transactional semantics for file system operations, ensuring that changes made by multiple processes are either fully committed or rolled back as a single unit.
Error Details
The ERROR_TXF_METADATA_ALREADY_PRESENT indicates that an attempt was made to apply transaction metadata to a file that already contains such metadata. This can occur when trying to initiate a new transaction on a file that is already part of an ongoing transaction, or if the file has been marked as transactional in the past and no longer requires additional transactional operations.
Common Causes
- Invalid Parameter Values: The operation was attempted with a file that already contains transaction metadata. This can happen when using functions like
FsRtlSetTransactionInformationon an already transactional file. - Incorrect Object Type: Attempting to apply transaction metadata to a directory or other non-file object, as TXF operations are strictly limited to files only.
Real-World Context
TXF is used in scenarios where atomicity and consistency of file system changes are critical. For example, database systems might use TXF to ensure that all related data modifications are committed together or rolled back as a single unit.
Is This Error Critical?
This error typically indicates an attempt to perform an operation that is not supported on the current state of the file. While it does not directly impact system stability, it can prevent intended operations from completing successfully.
How to Diagnose
- Review Operation Context: Ensure that the operation being performed is appropriate for the file's current state and type.
- Validate Parameters: Confirm that all parameters passed to the function are correct and match the expected values for a transactional file.
- Confirm Object Types: Verify that the operation is being applied only to files, as directories or other objects do not support TXF operations.
How to Resolve
- Correct Parameter Usage: Ensure that the file passed to the function does not already contain transaction metadata before attempting to apply it again.
- Adjust Operation Context: If the operation is intended for a non-transactional file, ensure that the file system context and parameters are correctly set up.
- Restore Data: In cases where data corruption or incorrect state might have occurred due to an invalid operation, restoring the file from a backup or using recovery tools may be necessary.
- Retry Operation with Valid Inputs: Once the correct state is confirmed, retry the operation with valid inputs.
Developer Notes
When working with TXF operations, it is crucial to understand the current state of the files involved and ensure that all parameters are correctly set before attempting any transactional operations. Misuse can lead to unexpected behavior or failure of intended operations.
Related Errors
ERROR_TXF_NOT_SUPPORTED(6834): Indicates that TXF operations are not supported on the current file system.ERROR_TXF_TRANSACTION_IN_PROGRESS(6837): Indicates that a transaction is already in progress for the specified file.
FAQ
Q: Can this error be ignored?
A: No, it indicates an attempt to perform an unsupported operation. Ignoring it can prevent intended operations from completing successfully.
Q: What does this error mean for non-transactional files?
A: This error will not occur on non-transactional files as TXF metadata is only applicable to transactional files.
Summary
ERROR_TXF_METADATA_ALREADY_PRESENT (6835) indicates that an attempt was made to apply transaction metadata to a file that already contains such metadata. This can be caused by invalid parameters or incorrect object types and should be diagnosed and resolved by ensuring the correct state of the files involved before retrying operations.