Enable Long File Name Support in Windows 10

Prior to Windows 10, the maximum supported file name length was 260 characters. In Windows 10, that maximum was extended to 32,767 characters.

John Savill

November 20, 2016

1 Min Read
Enable Long File Name Support in Windows 10
Getty Images

Q. How do I enable long file name support in Windows 10?

A. In the past, the maximum supported file length was 260 characters (256 usable after the drive characters and termination character). In Windows 10, you can enable long file name support, which allows file names up to 32,767 characters (although you lose a few characters for mandatory characters that are part of the name).

To enable this, perform the following:

  1. Start the registry editor (regedit.exe)

  2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem

  3. Double-click LongPathsEnabled

  4. Set to 1 and click OK

  5. Reboot

This can also be enabled via Group Policy via Computer Configuration > Administrative Templates > System > Filesystem > Enable NTFS long paths.

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like