Exporteren (0) Afdrukken
Alles uitvouwen
1 van 1 hebben dit beoordeeld als nuttig - Dit onderwerp beoordelen

Fsutil

Bijgewerkt: oktober 2007

Van toepassing op: Windows Server 2008

Performs tasks that are related to file allocation table (FAT) and NTFS file systems, such as managing reparse points, managing sparse files, or dismounting a volume. If it is used without parameters, fsutil displays a list of supported subcommands.

noteNote
You must be logged on as an administrator or a member of the Administrators group to use fsutil. The fsutil command is quite powerful and should be used only by advanced users who have a thorough knowledge of Windows operating systems.

Parameters

The following table lists the fsutil subcommands.

 

Subcommand Description

8dot3name

Queries or changes the settings for shortname behavior on the system, for example, generating 8.3 character-length file names. Removes for all files within a directory. Scans a directory identifying registry keys that might be impacted if short names were stripped from the files in the directory.

Fsutil behavior

Queries, changes, enables, or disables the settings for generating 8.3 character-length file names. Accepts extended characters in 8.3 character-length file names on NTFS volumes and updates the following:

  • The last access time stamp on NTFS volumes

  • How often quota events are written to the system log

  • The internal cache levels of NTFS paged pool and NTFS non-paged pool memory

  • The amount of disk space reserved for the master file table (MFT) Zone

  • Allow or disallow NTFS from silently deleting data when the system encounters corruption on an NTFS volume.

Fsutil dirty

Queries whether the volume's dirty bit is set or sets a volume's dirty bit. When a volume's dirty bit is set, autochk automatically checks the volume for errors the next time the computer is restarted.

Fsutil file

Finds a file by user name (if Disk Quotas are enabled), queries allocated ranges for a file, sets a file's short name, sets a file's valid data length, sets zero data for a file, creates a new file of a specified size, finds a file ID given the name or finds a file link name for a specified file ID.

Fsutil fsinfo

Lists all drives and queries the drive type, volume information, NTFS-specific volume information, or file system statistics.

Fsutil hardlink

Creates a hard link (a directory entry for a file). Every file can be considered to have at least one hard link. On NTFS volumes, each file can have multiple hard links, so a single file can appear in many directories (or even in the same directory, with different names). Because all of the links reference the same file, programs can open any of the links and modify the file. A file is deleted from the file system only after all links to it are deleted. After you create a hard link, programs can use it like any other file name.

Lists the hard links for a specified file.

Fsutil objectid

Manages object identifiers, which are used by the Windows operating system to track objects such as files and directories.

Fsutil quota

Manages disk quotas on NTFS volumes to provide more precise control of network-based storage. Disk quotas are implemented on a per-volume basis and enable both hard- and soft-storage limits to be implemented on a per-user basis.

repair

Queries or sets the self-healing state of the volume. Self-healing NTFS attempts to correct corruptions of the NTFS file system online, without requiring Chkdsk.exe to be run.

Includes initiating on-disk verification and waiting for repair completion.

Fsutil reparsepoint

Queries or deletes reparse points (NTFS file system objects that have a definable attribute containing user-controlled data). Reparse points are used to extend functionality in the input/output (I/O) subsystem. They are used for directory junction points and volume mount points. They are also used by file system filter drivers to mark certain files as special to that driver.

resource

Creates a Secondary Transactional Resource Manager, starts or stops a Transactional Resource Manager, or displays information about a Transactional Resource Manager and updates the following:

  • Whether a default Transactional Resource Manager will clean its transactional metadata at next mount

  • The specified Transactional Resource Manager to prefer consistency over availability

  • The specified Transaction Resource Manager to prefer availability over consistency

  • The characteristics of a running Transactional Resource Manager

Fsutil sparse

Manages sparse files. A sparse file is a file with one or more regions of unallocated data in it. A program will see these unallocated regions as containing bytes with the value zero, but no disk space is used to represent these zeros. All meaningful or nonzero data is allocated, whereas all non-meaningful data (large strings of data composed of zeros) is not allocated. When a sparse file is read, allocated data is returned as stored and unallocated data is returned as zeros (by default in accordance with the C2 security requirement specification). Sparse file support allows data to be deallocated from anywhere in the file.

transaction

Commits a specified transaction, rolls back a specified transaction or displays the following information:

  1. A list of currently running transactions

  2. Transaction information for a specific file

  3. Information for a specific transaction

Fsutil usn

Manages the update sequence number (USN) change journal, which provides a persistent log of all changes made to files on the volume.

Fsutil volume

Manages a volume. Dismounts a volume, queries to see how much free space is available on a disk, or finds a file using a specified cluster.

Additional references

Vindt u dit nuttig?
(1500 tekens resterend)
Bedankt voor uw feedback

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft. Alle rechten voorbehouden.