Fsutil behavior


Applies To: Windows Server 2003 R2,Windows 7,Windows Server 2000,Windows Server 2003,Windows Vista,Windows Server 2008,Windows Server 2008 R2

Queries or sets NTFS volume behavior, which includes:

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

Syntax


Copy Code

fsutil behavior query {allowextchar | bugcheckoncorrupt | disable8dot3 [<VolumePath>] | disablecompression | disableencryption | disablelastaccess | encryptpagingfile | mftzone | memoryusage | quotanotify | symlinkevaluation | disabledeletenotify}
fsutil behavior set {allowextchar {1|0} | bugcheckoncorrupt {1|0} | disable8dot3 [ <Value> | [<VolumePath> {1|0}] ] | disablecompression {1|0} | disableencryption {1|0} | disablelastaccess {1|0} | encryppagingfile {1|0} | mftzone <Value> | memoryusage <Value> | quotanotify <Frequency> | symlinkevaluation <SymbolicLinkType> | disabledeletenotify {1|0}}

Parameters

Parameter

Description

query

Queries the file system behavior parameters.

set

Changes the file system behavior parameters.

allowextchar {1|0}

Allows (1) or disallows (0) characters from the extended character set (including diacritic characters) to be used in 8.3 character-length short file names on NTFS volumes.

You must reboot your computer for this parameter to take effect.

Bugcheckoncorrupt {1|0}

Allows (1) or disallows (0) generation of a bug check when there is corruption on an NTFS volume. This feature can be used to prevent NTFS from silently deleting data when used with the Self-Healing NTFS feature.

You must reboot your computer for this parameter to take effect.

This parameter applies to: Windows Server® 2008 R2 and Windows® 7.

disable8dot3 [<VolumePath>] {1|0}

Disables (1) or enables (0) the creation of 8.3 character-length file names on FAT- and NTFS-formatted volumes. Optionally, prefix with the VolumePath specified as a drive name followed by a colon or GUID.

disablecompression {1|0}

Disables (1) or enables (0) NTFS compression.

You must reboot your computer for this parameter to take effect.

disableencryption {1|0}

Disables (1) or enables (0) the encryption of folders and files on NTFS volumes.

You must reboot your computer for this parameter to take effect.

disablelastaccess {1|0}

Disables (1) or enables (0) updates to the Last Access Time stamp on each directory when directories are listed on an NTFS volume.

You must reboot your computer for this parameter to take effect.

encryppagingfile {1|0}

Encrypts (1) or does not encrypt (0) the memory paging file in the Windows operating system.

You must reboot your computer for this parameter to take effect.

mftzone <Value>

Sets the size of the MFT Zone, and is expressed as a multiple of 200MB units. Set Value to a number from 1 (default is 200 MB) to 4 (maximum is 800 MB).

You must reboot your computer for this parameter to take effect.

memoryusage <Value>

Configures the internal cache levels of NTFS paged-pool memory and NTFS nonpaged-pool memory. Set to 1 or 2. When set to 1 (the default), NTFS uses the default amount of paged-pool memory. When set to 2, NTFS increases the size of its lookaside lists and memory thresholds. (A lookaside list is a pool of fixed-size memory buffers that the kernel and device drivers create as private memory caches for file system operations, such as reading a file.)

You must reboot your computer for this parameter to take effect.

quotanotify <Frequency>

Configures how frequently NTFS quota violations are reported in the system log. Valid values for are in the range 0 – 4294967295. The default frequency is 3600 seconds (one hour).

You must reboot your computer for this parameter to take effect.

symlinkevaluation <SymbolicLinkType>

Controls the kind of symbolic links that can be created on a computer. Valid choices are:

  1. Local to local symbolic links, L2L:{0|1}

  2. Local to remote symbolic links, L2R:{0|1}

  3. Remote to local symbolic links, R2R:{0|1}

  4. Remote to remote symbolic links, R2L:{0|1}

DisableDeleteNotify

Disables (1) or enables (0) delete notifications for all volumes. Delete notification is a feature that notifies the underlying storage device of clusters that have been freed due to a file delete operation.

This parameter applies to: Windows Server 2008 R2 and Windows 7.

Remarks

Examples

To query for the disable 8dot3 name behavior for a disk volume specified with the GUID, {928842df-5a01-11de-a85c-806e6f6e6963}, type:


Copy Code

fsutil behavior query disable8dot3 Volume{928842df-5a01-11de-a85c-806e6f6e6963}

You can also query the 8dot3 name behavior by using the 8dot3name subcommand.

Additional references

Command-Line Syntax Key

Fsutil

Fsutil 8dot3name