Short name creation options: registry value NtfsDisable8dot3NameCreationComputerHKLM\System\CurrentControlSet\Policies
- Policy ID
- ShortNameCreationSettings
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Filesystem › NTFS
Registry
NtfsDisable8dot3NameCreation
REG_DWORDComputerHKLM\System\CurrentControlSet\Policies Current key
- Enabled value
- Depends on the option value
- Element
- Short name creation options
| Item | Stored value |
|---|---|
| Enable on all volumes | 0 |
| Disable on all volumes | 1 |
| Enable / disable on a per volume basis | 2 |
| Disable on all data volumes | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies] ; Options (use only one) ; Enable on all volumes "NtfsDisable8dot3NameCreation"=dword:00000000 ; Disable on all volumes "NtfsDisable8dot3NameCreation"=dword:00000001 ; Enable / disable on a per volume basis "NtfsDisable8dot3NameCreation"=dword:00000002 ; Disable on all data volumes "NtfsDisable8dot3NameCreation"=dword:00000003
CMD
:: Options (use only one) :: Enable on all volumes reg add "HKLM\System\CurrentControlSet\Policies" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 0 /f :: Disable on all volumes reg add "HKLM\System\CurrentControlSet\Policies" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 1 /f :: Enable / disable on a per volume basis reg add "HKLM\System\CurrentControlSet\Policies" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 2 /f :: Disable on all data volumes reg add "HKLM\System\CurrentControlSet\Policies" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null # Options (use only one) # Enable on all volumes New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'NtfsDisable8dot3NameCreation' -PropertyType DWord -Value 0 -Force | Out-Null # Disable on all volumes New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'NtfsDisable8dot3NameCreation' -PropertyType DWord -Value 1 -Force | Out-Null # Enable / disable on a per volume basis New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'NtfsDisable8dot3NameCreation' -PropertyType DWord -Value 2 -Force | Out-Null # Disable on all data volumes New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'NtfsDisable8dot3NameCreation' -PropertyType DWord -Value 3 -Force | Out-Null