Windows file name restrictions

How-to
Windows file name restrictions
End-User Platforms>Windows 10

Enable long file name support in Windows 10

John Savill | Nov 20, 2016

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 long file name support can be enabled 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_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  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.

8 comments
Hide comments
Windows file name restrictions
Comment *
Switch to plain text editor

More information about text formats

Text format

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
PublishLog in or register to comment
Save
Leave this field blank
Recommended Reading
Windows file name restrictions
Troubleshooting Tips for When Windows 10 Wont Update
Feb 09, 2022
Windows file name restrictions
Windows 10 Release Preview Channel Build Tracker
Oct 08, 2021
Windows file name restrictions
Windows 11 #DevChannel Build Tracker
Oct 04, 2021
Windows file name restrictions
Windows 11 #BetaChannel Build Tracker
Sep 16, 2021
  • Load More