Manages NTFS transactions.
Syntax
fsutil transaction [commit] <GUID>
fsutil transaction [fileinfo] <filename>
fsutil transaction [list]
fsutil transaction [query] [{files | all}] <GUID>
fsutil transaction [rollback] <GUID>
Parameters
| Parameter | Description |
|---|---|
| commit | Marks the end of a successful implicit or explicit specified transaction. |
<GUID> |
Specifies the GUID value that represents a transaction. |
| fileinfo | Displays transaction information for the specified file. |
<filename> |
Specifies full path and file name. |
| list | Displays a list of currently running transactions. |
| query | Displays information for the specified transaction.<ul><li>If fsutil transaction query files is specified, the file information is displayed only for the specified transaction.</li><li>If fsutil transaction query all is specified, all information for the transaction will be displayed.</li></ul> |
| rollback | Rolls back a specified transaction to the beginning. |
Examples
To display transaction information for file c:\test.txt, type:
fsutil transaction fileinfo c:\test.txt
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
