Fsutil: objectid

Typically used by support professionals. Manages object identifiers (also known as OIDs), which are internal objects used by the Distributed Link Tracking (DLT) Client service and File Replication Service (FRS) to track other objects such as files, directories, and links. Object identifiers are invisible to most programs and should never be modified.

 Warning

Do not delete, set, or otherwise modify an object identifier. Deleting or setting an object identifier can result in the loss of data from portions of a file, up to and including entire volumes of data. In addition you might cause adverse behavior in the Distributed Link Tracking (DLT) Client service and File Replication Service (FRS).

Syntax

fsutil objectid [create] PathName

fsutil objectid [delete] PathName

fsutil objectid [query] PathName

fsutil objectid [set] ObjectID BirthVolumeID BirthObjectID DomainID PathName

Parameters

create : Creates object identifier if the file does not already have one, otherwise equivalent to query.

delete : Deletes an object identifier.

query : Queries an object identifier.

set : Sets an object identifier.

ObjectID : A file-specific 16 byte hexadecimal identifier that is guaranteed to be unique within a volume. It is used by the Distributed Link Tracking (DLT) Client service and the File Replication Service (FRS) to identify files. Any file that has an ObjectID, also has a BirthVolumeID, a BirthObjectID, and a DomainID. When you move a file, the ObjectID may change, but BirthVolumeID and BirthObjectID remain the same, which enables Windows XP to always find a file, no matter where it has been moved.

BirthVolumeID : A 16 byte hexadecimal identifier that indicates the volume on which the file was located when it first obtained an ObjectID. This value is used by the DLT Client service.

BirthObjectID : A 16 byte hexadecimal identifier that indicates the file's original ObjectID (note that the ObjectID may change when a file is moved). This value is used by the DLT Client service.

DomainID : 16 byte hexadecimal domain identifier. This value is not currently used and must be set to all zeros.

PathName : Specifies the drive letter (followed by a colon), mount point, or volume name.

Examples

To create an object identifier, type:

fsutil objectid create C:\Temp\sample.txt

To delete an object identifier, type:

fsutil objectid delete C:\Temp\sample.txt

To query an object identifier, type:

fsutil objectid get C:\Temp\sample.txt

To set an object identifier, type:

fsutil objectid set 40dff02fc9b4d4118f120090273fa9fc f86ad6865fe8d21183910008c709d19e 40dff02fc9b4d4118f120090273fa9fc 00000000000000000000000000000000 C:\Temp\sample.txt 

Fsutil

Fsutil: behavior

Fsutil: dirty

Fsutil: file

Fsutil: fsinfo

Fsutil: hardlink

Fsutil: quota

Fsutil: reparsepoint

Fsutil: sparse

Fsutil: usn

Fsutil: volume

Command-line reference A-Z



© 2015 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies