Open in the explorer

Short name creation options

Options de création de noms courts

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Filesystem › NTFS FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Système de fichiers › NTFS
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
FileSys.admx
Internal name
FileSys/ShortNameCreationSettings

Explanation

These settings provide control over whether or not short names are generated during file creation. Some applications require short names for compatibility, but short names have a negative performance impact on the system.

If you enable short names on all volumes then short names will always be generated. If you disable them on all volumes then they will never be generated. If you set short name creation to be configurable on a per volume basis then an on-disk flag will determine whether or not short names are created on a given volume. If you disable short name creation on all data volumes then short names will only be generated for files created on the system volume.

French text from Windows 11 26H2

Ces paramètres permettent de contrôler si les noms courts sont générés lors de la création des fichiers. Certaines applications requièrent des noms courts pour des raisons de compatibilité, mais ces derniers ont un impact négatif sur les performances système.

Si vous activez des noms courts sur tous les volumes, ils seront toujours générés. Si vous les désactivez sur tous les volumes, ils ne seront jamais générés. Si vous configurez la création des noms courts de sorte qu’ils soient configurables par volume, l’indicateur sur disque déterminera si les noms courts sont créés sur un volume particulier. Si vous désactivez la création de noms courts sur tous les volumes de données, les noms courts seront uniquement générés pour les fichiers créés sur le volume système.

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: FileSys/ShortNameCreationSettings
$k = 'HKLM:\System\CurrentControlSet\Policies'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Short name creation options
# Possible options:
#   Enable on all volumes = 0
#   Disable on all volumes = 1
#   Enable / disable on a per volume basis = 2
#   Disable on all data volumes = 3
Set-ItemProperty -Path $k -Name 'NtfsDisable8dot3NameCreation' -Value 2 -Type DWord

Disable

# Disable: FileSys/ShortNameCreationSettings
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": FileSys/ShortNameCreationSettings
$k = 'HKLM:\System\CurrentControlSet\Policies'
Remove-ItemProperty -Path $k -Name 'NtfsDisable8dot3NameCreation' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Short name creation optionsOptions de création de noms courtsShortNameCreationSetting_LevelsDrop-down listenumNtfsDisable8dot3NameCreationREG_DWORD
Default choice (UI): #2
LabelValue
Enable on all volumesREG_DWORD = 0
Disable on all volumesREG_DWORD = 1
Enable / disable on a per volume basisREG_DWORD = 2
Disable on all data volumesREG_DWORD = 3

Availability