How to purge $TxF folder on NTFS drive

Solution 1:

From an elevated Command Prompt, run

fsutil behavior set DisableTxF <volume> 1

<volume> could be C:, D:, etc.

The command is supported by all versions of Windows that use the $TxF file.