Windows Server: Disable generation of 8.3 file names [Quick Guide]
by default, and for compatibility with older versions of Windows and the old applications, Windows Server for each file generates a short name in the form “8.3”. The 8.3 standard exists since the origins of Windows and it means 8 characters for the name of the file followed by a point and a 3-character extension.
in this tutorial, we will see how to disable the generation of 8.3 file names , this corresponding to one of the many Best Practices.
the manipulation is to change a value in the registry, rather than through regedit, we’ll do it in PowerShell , it will be faster. Open a PowerShell console as an administrator and run the following command:
Set-ItemProperty - Path "HKLM:SystemCurrentControlSetControlFileSystem" - Name NtfsDisable8dot3NameCreation - Value 1
the value ‘ NtfsDisable8dot3NameCreation ‘ will change to 1 to disable it on all volumes (including the system volume) the generation of these names.
here is the other possible values:
- 0: enable the generation of short names on all volumes, including the system
- 2: activate the generation of short names with management by volume (implies change to another value by volume)
- 3: disable generation of short names, except for the volume system
for you play 🙂