Windows Server: Disable generation of 8.3 file names [Quick Guide]

1:06 pm January 25, 20176021

I. introduction

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.

continue to generate a short name for every file on a file server, it is consume resources unnecessarily (unless one of your applications or OS requires this system of naming).

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.


II. NtfsDisable8dot3NameCreation

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 🙂