Condividi tramite


Fsutil transaction

 

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

Manages NTFS transactions.

For examples of how to use this command, see Examples .

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.

  • If fsutil transaction query Files is specified, the file information will be displayed only for the specified transaction.

  • If fsutil transaction query All is specified, all information for the transaction will be displayed.

rollback

Rolls back a specified transaction to the beginning.

Remarks

  • Transactional NTFS was introduced in Windows Server 2008.

Examples

To display transaction information for file c:\test.txt, type:

fsutil transaction fileinfo c:\test.txt

Additional references

Command-Line Syntax Key

Fsutil

Transactional NTFS