Partager via


Registry Settings for FAT Format Options (Windows Embedded CE 6.0)

2/22/2011

You can use registry settings to configure formatting options for a file allocation table (FAT) file system. These registry settings are located in HKEY_LOCAL_MACHINE\System\StorageManager\FATFS.

These values can also be set in registry settings for a profile, which represents settings for a specific storage media.

Name Type Description Default Value

FormatClusterSize

REG_DWORD

The size of a cluster on a disk, in bytes.

For FAT, the maximum value is 32 KB.

For TexFAT, the maximum value is 1 MB.

For ExFAT, the maximum value is 32 MB.

Applies to FAT, TexFAT, ExFAT file systems.

None.

FormatExfat

REG_DWORD

Indicates whether to format a partition for ExFAT.

Set to 1 to format the volume as ExFAT when the volume is automatically formatted or when FAT receives IOCTL_DISK_FORMAT_VOLUME.

Applies to ExFAT file system only.

For exFAT, the default value is 1.

FormatFatVersion

REG_DWORD

Indicates whether to format a partition for the specified version of FAT.

You can set this value to 12, 16, or 32.

Applies to FAT file system only.

None.

FormatNumberOfFats

REG_DWORD

The number of FATs to create. You can set this value to 1 or 2.

Applies to FAT file system only.

None.

FormatTFat

REG_DWORD

Indicates whether to format a partition for TexFAT.

Set to 1 to format volume as TexFAT when the volume is automatically formatted or when FAT receives IOCTL_DISK_FORMAT_VOLUME.

Applies to TexFAT file system only.

None.

FullFormat

REG_DWORD

Set to 1 to request a full format when the volume is automatically formatted.

Applies to FAT, TexFAT, and ExFAT file systems.

None.

SecureWipe

REG_DWORD

Set to 1 to erase user data when the volume is automatically formatted.

Applies to FAT, TexFAT, and ExFAT file systems.

None.

See Also

Concepts

FAT File System Registry Settings
Extended FAT File System